This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes Time updation in J2ME Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Time updation in J2ME" Watch "Time updation in J2ME" New topic

Time updation in J2ME

Partheban Udayakumar
Ranch Hand

Joined: Jul 04, 2013
Posts: 200

I run this code in JME by using the following code:

If I click show command continuously or even with time delay, it shows the same time. Even the seconds don't differ. I need the current updated time to be displayed when I click show. How can I update the time without re-running the application every time.

"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
--- Martin Fowler
I agree. Here's the link:
subject: Time updation in J2ME
Similar Threads
Calendar returns wrong date?
Process.destroy is not working on process invoked by sub-thread
Time refreshing
About protect method
Calendar running away