글목록

2014. 4. 18.

[Android] How can I get hour/minute from TimePicker



TimePicker timePicker = (TimePicker) findViewById(R.id.timePicker1);
  timePicker.clearFocus();
  int hour = timePicker.getCurrentHour();
  int minute = timePicker.getCurrentMinute();

   

댓글 없음:

댓글 쓰기