Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Changing System time via JNI  RSS feed

 
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++.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!