Nokia Phone Development: Difference between revisions

From University of Washington - Ubicomp Research Page
Jump to navigationJump to search
Line 5: Line 5:


=== Tools ===
=== Tools ===
To build, debug and deploy applications on the Nokia phones, you must have first install the following:  
To build, debug and deploy applications on the Nokia phones, you must have first install (in this order) the following:  


[http://java.sun.com/j2se/1.4.2/download.html J2SE v1.4.2_13 SDK], [http://java.sun.com/j2se/1.5.0/ JDK 5.0 Update 10], [http://www.eclipse.org/downloads/ Eclipse 3.2.1]. Understand that Eclipse will crash, save your work frequently.
[http://java.sun.com/j2se/1.4.2/download.html J2SE v1.4.2_13 SDK]


[http://java.sun.com/j2se/1.5.0/ JDK 5.0 Update 10]


Install [http://forum.nokia.com/info/sw.nokia.com/id/d9f7e9b2-3932-4358-9e8e-aa5cd26be54e.html Carbide.j 1.5] as an Eclipse plugin. Carbide.j will come with Nokia PC Suite 6.80.21. Install only version 6.80.21 of the PC Suite and DO NOT upgrade the PC Suite software as it is likely to break your deployment tool.
[http://www.eclipse.org/downloads/ Eclipse 3.2.1]




You will need to get a serial number and register on Nokia's website. This will be self explanatory.
[http://forum.nokia.com/info/sw.nokia.com/id/d9f7e9b2-3932-4358-9e8e-aa5cd26be54e.html Carbide.j 1.5]


[http://forum.nokia.com/info/sw.nokia.com/id/d9f7e9b2-3932-4358-9e8e-aa5cd26be54e.html Nokia PC Suite 6.80.21]


If the Nokia Update Manager alerts you to other SDKs, the only potential update you may need is the S60 Edition SDK for MIDP. This SDK is needed for on device debugging.
 
*Understand that Eclipse will crash, save your work frequently.
 
*Carbide.j will come with Nokia PC Suite 6.80.21. Install this version only as newer ones break deployment.
 
*You will need to get a serial number and register on Nokia's website. This will be self explanatory.
 
*If the Nokia Update Manager alerts you to other SDKs, the only potential update you may need is the S60 Edition SDK for MIDP. This SDK is needed for on device debugging.


==  Tips ==
==  Tips ==

Revision as of 05:08, 14 December 2006

Overview

This document lists the various tools and tips for working with the Nokia phones.

Development

Tools

To build, debug and deploy applications on the Nokia phones, you must have first install (in this order) the following:

J2SE v1.4.2_13 SDK

JDK 5.0 Update 10

Eclipse 3.2.1


Carbide.j 1.5

Nokia PC Suite 6.80.21


  • Understand that Eclipse will crash, save your work frequently.
  • Carbide.j will come with Nokia PC Suite 6.80.21. Install this version only as newer ones break deployment.
  • You will need to get a serial number and register on Nokia's website. This will be self explanatory.
  • If the Nokia Update Manager alerts you to other SDKs, the only potential update you may need is the S60 Edition SDK for MIDP. This SDK is needed for on device debugging.

Tips

Make sure your JRE and compiled in Eclipse are set to 1.4. If you don't your emulator won't work and your apps won't work on the phone.

If the Nokia is running as a Bluetooth client, it has to do a device inquiry, it does not support connecting to a known service on a known device. This is a limitation of the implementation of JavaME on the phones.

JavaME apps cannot run as a background process. They can be put into the background through a PushRegistry command that essentially stops them. They can then be restarted via a timer or incoming network process. True background apps can only be done in Symbian.


Useful Links

Hello World in Carbide.j

Nokia Development Boards

J2ME Bluetooth Apps