Wednesday, November 25, 2009

Java ME SDK 3.0 for Mac OS

The Java ME SDK 3.0 for Mac OS (Early Access) was released. It supports CLDC and includes the following features:
  • Brings the functionality of the Java ME SDK 3.0 to Mac developers – first official Mac release.
  • Unique architecture enables the developer to work with the real device directly from within the ME SDK 3.0.
  • Communication with the devices, application deployment and even On-Device debugging are supported over Wi-Fi.
  • Supports the latest CLDC Hot Spot VM and Java Micro Edition APIs
  • High-end Tools for optimizations: Profiler, Network Monitor, Support for Debugging, Wireless Messaging Console and more
  • Introducing JavaFX 1.2.1 Mobile emulator running on Mac OS
  • Integrated Device Search Database for easy reference
  • Powerful Autoupdate for additional plug-ins and product updates
  • Development Environment based on NetBeans Platform
It is ready for download now. 

Important Installation Note:
The Java ME SDK 3.0 for Mac OS requires Java 1.6. You can download Java 1.6 from Apple’s update website or install it via the Mac OS “Software Update”. Next, be sure to verify Java 1.6 is set as the default runtime for Java applications in the Java Preferences (Applications->Utilities->Java Preferences).

Wednesday, October 1, 2008

Project Capuchin SDK available for download, bridging Java™ ME and Adobe® Flash Lite™

Sony Ericsson's Project Capuchin SDK is a set of APIs, a packaging tool, documents and getting-started tutorials that enables developers to bridge the Java™ ME and Adobe® Flash Lite™ programming environments and is available for download from the dedicated Project Capuchin Docs & Tools web section.

To make the Project Capuchin SDK as accessible as possible to both Java and Flash Lite developers, the components are available for download as the following separate files:

Tools

  • Swf2Jar 1.1, Project Capuchin packaging tool and user guide
  • Sony Ericsson Project Capuchin APIs

Technical docs

  • Project Capuchin Product Information document
  • Project Capuchin API Java documents
  • Setting up the Java environment for Project Capuchin Development

Tutorials

  • Getting started with Project Capuchin for Flash Lite and Java developers - includes reference applications

This SDK package will be added to with more tutorials and developer tools over time.

Tuesday, May 6, 2008

On-device resource monitoring using the Sony Ericsson SDK for the Java ME platform

The new version of the Sony Ericsson SDK for the Java ME platform introduces performance and quality improvements, and support for an entirely new feature: on-device resource monitoring.
more>>


Monitoring the CPU usage of a running MIDlet.

Monitoring the memory usage of a running MIDlet.

Sony Ericsson's new Project Capuchin bridges Java ME and Flash Lite


On April 30, 2008 Sony Ericsson announced its new Project Capuchin technology which is a Java ME API that defines a bridge between the Java ME and Adobe Flash Lite programming environments. This API makes it possible to use Flash Lite as the front end and Java ME as the back end of applications, meaning that Flash tools can be used for UI design while still having access to all the phone services available to Java ME.
more>>

Sunday, April 20, 2008

Getting Started with NetBeans 6.0 Mobility for Nokia Devices Screencast

Download screencast about developing Nokia device with NetBeans: Getting Started with NetBeans 6.0 Mobility for Nokia Devices Screencas.

This screencast provides developers with a guide to creating mobile Java™ applications for Nokia devices using NetBeans 6.0 Mobility. After showing how to download and install all the relevant tools, this screencast illustrates how to create, edit, package, and deploy a simple Java application.

Monday, January 14, 2008

Using Game Builder for Java ME development

Found a good tutorial, which provides information about developing Java ME games using the Netbeans Mobility Pack 6.0 and the Game Builder tool. The key task in this tutorial is creating a new game level. This document is designed to get you going as quickly as possible.

Wednesday, December 5, 2007

Tutorial: Using Game Builder for Java ME development


Using Game Builder for Java ME development

This tutorial provides information about developing Java ME games using the Netbeans Mobility Pack 6.0 and the Game Builder tool. The key task in this tutorial is creating a new game level. This document is designed to get you going as quickly as possible. For more information on working with NetBeans IDE, see the Support and Docs page on the NetBeans website.

NetBeans IDE 6.0 is released, FREE.


The NetBeans IDE is a free, open-source Integrated Development Environment for software developers. You get all the tools you need to create professional desktop, enterprise, web and mobile applications, in Java, C/C++ and even Ruby. The IDE runs on many platforms including Windows, Linux, Mac OS X and Solaris; it is easy to install and use straight out of the box.

The 6.0 release includes significant enhancements and new features, including a completely rewritten editor infrastructure, support for additional languages, new productivity features, and a simplified installation process that allows you to easily install and configure the IDE to meet your exact needs.

http://www.netbeans.org/

Tuesday, November 27, 2007

Getting Started with NetBeans for Nokia Devices

This screencast provides developers with a guide to creating mobile Java™ applications for Nokia devices using NetBeans and the NetBeans Mobility Pack. After showing how to download and install all the relevant tools, this screencast illustrates how to create, edit, package, and deploy a simple Java application.

Download here

Thursday, October 25, 2007

MIDP Application, Hello World 2, Using the Source Editor

1 - Choose File > New Project (Ctrl-Shift-N). Under Categories, select Mobility. Under Projects, select MIDP Application and click Next.
2 - Enter HelloWorld2 in the Project Name field. Change the Project Location to any directory on your system.
3 - Check the Set as Main Project checkbox and remove the check from the Create Hello MIDlet checkbox. Click Next.
4 - Leave the J2ME Wireless Toolkit as the selected Target Platform.
5 - Expand "Configuration templates provided by installed CLDC platforms" and J2ME Wireless Toolkit folders. Check the boxes next to each of the configurations.
The IDE will automatically creates a new project configuration for each template listed.
6 - Click Finish. The IDE creates the HelloWorld2 project folder. The project folder contains all of your sources and project metadata.

7 - Right-click the HelloWorld2 node in the Explorer window and choose New > MIDlet

8 - Enter HelloWorld2 as the MIDlet name. Click Finish. The HelloWorld2.java file is created.

9 - Double click the HelloWorld2.java file to display the source code in the Editor.

---------------------
10 - Change the code
public class HelloWorld2 extends MIDlet
to

public class HelloWorld2
extends MIDlet implements javax.microedition.lcdui.CommandListener
{
11 - Add the following text before the startApp() method:

public HelloWorld2() {
}
private void initialize() {
javax.microedition.lcdui.Display.getDisplay(this).setCurrent(get_helloTextBox());
}

public void commandAction(javax.microedition.lcdui.Command command, javax.microedition.lcdui.Displayable
displayable) {
if (displayable == helloTextBox) {
if (command == exitCommand) {
javax.microedition.lcdui.Display.getDisplay(this).setCurrent(null);
destroyApp(true);
notifyDestroyed();
}
}

}

private javax.microedition.lcdui.TextBox get_helloTextBox() {
if (helloTextBox == null) {
helloTextBox = new javax.microedition.lcdui.TextBox(null, "Test String",120, 0x0);
helloTextBox.addCommand(get_exitCommand());
helloTextBox.setCommandListener(this);
}
return helloTextBox;
}

private javax.microedition.lcdui.Command get_exitCommand() {
if (exitCommand == null) {
exitCommand = new javax.microedition.lcdui.Command("Exit", javax.microedition.lcdui.Command.EXIT,
1);
}
return exitCommand;
}

javax.microedition.lcdui.TextBox helloTextBox;
javax.microedition.lcdui.Command exitCommand;


12 - Add a line initialize(); to the startApp() method, so it looks like the following:

public void startApp() {
initialize();
}

13 - Double click the get_helloTextBox() on the Navigator Window to involve_helloTextBox(). Replace the "test string"
code with the text of your choice. For example, "Hello World 2"

14 -
Choose Run > Run Main Project (F6) from the Run menu.

That's:



Wednesday, October 24, 2007

NetBeans IDE 6.0 Beta 2 just released


NetBeans IDE 6.0 Beta 2 just released on 23 Oct, 2007.

Sunday, October 21, 2007

HelloWorld using NetBeans' Visual Mobile Designer (VMD)

1 - Choose File > New Project. Under Categories, select Mobility. Under Projects, select MIDP Application and click Next.

2 - Enter HelloWorld or what you want in the Project Name field. Change the Project Location to any directory on your system.

3 - Check the Set as Main Project and Create Hello MIDlet check boxes. Click Next.
4 - Leave the J2ME Wireless Toolkit as the selected Target Platform. Click Next.
5 - Expand "Configuration templates provided by installed CLDC platforms" and your target Wireless Toolkit folders. Check the boxes next to each of the configurations.
6 - Click Finish. The application itself is displayed in the Flow Design window of the Visual Mobile Designer.
7 - Click on Screen.This opens the Screen Designer window, and displays the Device screen, which is the only screen available in the application.

8 - In the Properties window, click in the Text field and type in some new text.
9 - Choose Run > Run Main Project (F6) from the Run menu. A device emulator opens to display the results of the executed MIDlet.

10 - In the device emulator window, click on the button below the Launch command. The device emulator launches the MIDlet. That's my first HelloWorld.

11 - Click on the button below Exit to close the MIDlet. Then click on the button in the upper right corner of the device to close the emulator window.

Saturday, October 20, 2007

NetBeans IDE 6.0 Beta 1 is available


NetBeans IDE 6.0 Beta 1

The NetBeans IDE is a modular, standards-based, integrated development environment (IDE) written in the Java programming language. The NetBeans project consists of an open source IDE and an application platform, which can be used as a generic framework to build any kind of application.

The focus of NetBeans IDE 6.0 is improved developer productivity through a smarter, faster editor, and the integration of all NetBeans products into one IDE. Please download it. The NetBeans IDE 6.0 is scheduled to be released in November 2007.

Before you install the IDE, the Java SE Development Kit (JDK) 5.0 Update 12 (version 1.5.0_12) or newer must be installed on your system. If you do not have an installation of JDK 5.0 Update 12 or newer, you cannot proceed with the installation.

J2ME-er

I also want to learn J2ME programming, start from installing development platform, stop to HelloWorld!