Can I do something like that ? I don't know how put the hour and minutes that I want ?
Calendar c = Calendar.getInstance();
c.set(Calendar.SECOND, 0);
c.set(Calendar.HOUR, ? );...
Type: Posts; User: sassa44000
Can I do something like that ? I don't know how put the hour and minutes that I want ?
Calendar c = Calendar.getInstance();
c.set(Calendar.SECOND, 0);
c.set(Calendar.HOUR, ? );...
Yes, it's is exactly that I want to do.
The problem is there is no year, no month and no day but just a time which is in the Edittext.
--- Update ---
But I think I can use the current day, month and day.
Yes, it's the number of milliseconds since the beginning of the Jan 1, 1970. And yes, Android have the same classes as JAVA but I don't know how I can get the number of hours and minutes that the...
Hello,
I am creating an Android application, I inserted a textfields "time" that allows the user to choose a time in the format "hh: mm" (is it also possible to change it in the format "mm: ss...