开发者

How do I change a Java ME device System time?

I'm developing an application that needs to synchronize the time on a server with the time on the device. Blackberry devices have the net.rim.device.api.system.Device.setDateTime(long dateTimeMillis) method for this. I'm lookin开发者_开发问答g for something similar in Java ME devices.

I can live with manufacturer specific APIs - specialy nokia, sony ericsson and motorola ones, and most JSRs.

Does anyone know if there is any way to do this?


Most manufacturers, such as Nokia, don't have that functionality in Java. You may need to take a look into Symbian C++ and other platform specific development tools.


You can't do with Java-me for some security reasons. So you can't change the internal time of system. You can possible to get the current time only.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜