Friday, December 25, 2009

Ticker in Java ME

A Ticker is simply a scrolling text across the device screen.



The method setTicker(Ticker) can be used with Displayable, to set Ticker replacing any previous ticker.

- Start Java ME SDK 3.0,

- Create a new project of MIDP Application in Java ME SDK Category (it's the only category currently), with name of HelloTicker. Accept the default Project Location and Project Folder, and also select to Set as Main Project and Create Hello MIDlet. Accept the Default Platform Selection

- Insert the code below inside the method startApp(), as shown in the picture.

Ticker ticker = new Ticker("...this is Ticker!");
Displayable displayable = Display.getDisplay(this).getCurrent();
displayable.setTicker(ticker);


Thursday, December 24, 2009

Java Platform Micro Edition Software Development Kit 3.0 for Mac OS

The Java ME SDK 3.0 is now available for Windows XP and Vista 32-bit, and for the Mac OS. The Mac OS release brings support for CLDC mobile development to Mac users for the first time.

How to Install for Mac OS
  1. Verify that your system meets the preceding system requirements.
  2. Download the DMG file.
  3. Double-click the DMG file.
  4. Click Agree to accept the license and continue the installation.
  5. The installer displays the installation panel. Dragging the Java ME SDK application icon over the Applications folder link will install Java ME SDK in the Applications folder. You can also use the Finder to move the application.
  6. In the Applications directory, click the Java ME SDK icon to start the application. Wait a few seconds for the Device Manager to detect the default devices delivered with the SDK.




Friday, December 11, 2009

The NetBeans IDE 6.8

If your host PC is run on Windows or Linux plaform, The NetBeans IDE 6.8 is another choice to develop Java ME application. (Java ME is not supported in Mac OS X and Solaris version of NetBeans IDE currently)

The NetBeans IDE is an award-winning integrated development environment available for Windows, Mac, Linux, and Solaris. The NetBeans project consists of an open-source IDE and an application platform that enable developers to rapidly create web, enterprise, desktop, and mobile applications using the Java platform, as well as JavaFX, PHP, JavaScript and Ajax, Ruby and Ruby on Rails, Groovy and Grails, and C/C++.