简体   繁体   English

如何使用“ J2ME”更改手机的“日期”和“时间”?

[英]How to change the “Date” and “Time” of the mobile phone using “J2ME”?

I'm developing a mobile application using J2ME for a configuration CLDC-MIDP2.0 . 我正在使用J2ME用于配置CLDC-MIDP2.0的移动应用程序。

In my mobile application, I need to make the user should able to adjust the Date and Time settings of mobile. 在我的移动应用程序中,我需要使用户能够调整移动设备的DateTime设置。

Here I'm using "DateField" to get the date from the user, but I cannot set or change the mobile phone's Date and Time . 在这里,我使用“ DateField”从用户那里获取日期,但是我无法设置或更改手机的“ DateTime

So please help me.How to change the Date and Time of the mobile phone using J2ME . 所以请帮助我。如何使用J2ME更改手机的DateTime Here I'm using Nokia c2-00 mobile is for testing. 在这里,我正在使用诺基亚c2-00移动版进行测试。 It is "S40" device. 它是“ S40”设备。

Ideas of all are welcome. 欢迎大家提出想法。

Mobiles internal time cannot be changed by Java, because of security features which dont allow access to the native operations. Java不能更改手机内部时间,因为安全功能不允许访问本机操作。 See this link 看到这个链接

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM