开发者

Is it possible to use time picker only in blackberry

I want the user to pick a time so that at that time, the system will stop sending messages to its clients. However it possible to e开发者_如何学Pythonnter in EditField but still i want to use the built in feature of black berry to use the time picker. I learned that DateTimePicker class will be useful for this. But i cant find the code for it anywhere. Please help me by providing some hints or code. Thank you


This code shows only Time Picker. Check this:

 final DateTimePicker datePicker = DateTimePicker.createInstance( Calendar.getInstance(), null, "hh:mm:ss aa");
 datePicker.doModal();

Further details check this link:

DateTimePicker.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜