• Post Reply Bookmark Topic Watch Topic
  • New Topic

Changing System time via JNI

 
Rakesh Rajagopalan
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Platform: Windows Mobile 2003
I tried updating its time through the Runtime.exec(). It wouldn't work. Later, I learned that Windows Mobile 2003 doesn't support Runtime.exec(), and a possible solution for this is to write a native that makes a C system() or exec() call, and call that native from Java using JNI. Can anyone provide me this coding, as Im alien to C/C++.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!