0

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 looking 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?

2 Answers2

0

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.

Maksim Vi.
  • 9,107
  • 12
  • 59
  • 85
0

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.

bharath
  • 14,283
  • 16
  • 57
  • 95