关于Android中的Calendar和DateTime Picker [英] Regard to Calendar and DateTime Picker in Android
问题描述
先生您好
我在Android上有新手,我制作了一个小部件,其中我需要设置日期和时间,Activity上还存在其他一些小部件类型,例如Spiner和TextFiled,其中包含该值,现在我必须将所有这些值连接到字符串中以进行发送SMS到另一个设备,但DateTime控件存在主要问题如何使用DateTime Picker,以便用户可以选择DateTime请在这方面对我有任何帮助..
谢谢
Om Parkash Kaushik
Hello sir
I have new hand on Android and I have made a widget in which I required to set date and time there are also some other widget type on Activity like Spiner and TextFiled containing the value now I have to join all these values in a string for sending SMS to antoher device but main issue with the DateTime control How I can use DateTime Picker so that user can select DateTime plese any one help me in this regards ..
thanks
Om Parkash Kaushik
推荐答案
我为日期和时间创建了一个新的combind对话框.您可以从此处下载代码
http://code.google.com/p/ravindra-android-datetimepicker/ [ ^ ]
[edit]删除了不必要的代码标签,并使链接可点击[/edit]
hi i have created a new combind dialog for both date and time. u can download code from here
http://code.google.com/p/ravindra-android-datetimepicker/[^]
[edit] Removed unnecessary code tags and made link clickable [/edit]
这篇关于关于Android中的Calendar和DateTime Picker的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!