Archive

Posts Tagged ‘j2me date and time’

J2ME Current date and Time

August 17th, 2010 No comments

This simple J2ME application shows you how to get the current date ant time in J2ME and do the formatting of what format you want it to. Like core Java, J2ME too use the same java.util package to show the current date as well as current time on the screen.

The middlet we create here will show the current date and time when we started it. Each time we press the start button, the it will display the current date and time the button pressed. Here is the look of the finished application:

Read more…

  • Share/Bookmark
Categories: Java Tags:
This site uses a Hackadelic PlugIn, Hackadelic SEO Table Of Contents 1.6.0.