Search:

Type: Posts; User: sassa44000

Search: Search took 0.10 seconds.

  1. Replies
    9
    Views
    1,390

    Re: Problem to get hour and minute

    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, ? );...
  2. Replies
    9
    Views
    1,390

    Re: Problem to get hour and minute

    Yes, it's is exactly that I want to do.
  3. Replies
    9
    Views
    1,390

    Re: Problem to get hour and minute

    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.
  4. Replies
    9
    Views
    1,390

    Re: Problem to get hour and minute

    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...
  5. Replies
    9
    Views
    1,390

    Problem to get hour and minute

    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...
Results 1 to 5 of 5