Nokia Phone Development: Difference between revisions

From University of Washington - Ubicomp Research Page
Jump to navigationJump to search
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Overview ==
== Overview ==
This document lists the various tools and tips for working with the Nokia phones.
This document lists the various tools and tips for working with the Nokia phones. If you discover a useful tip, please update the wiki. It will save everyone some time.


== Development ==
The page has been split into 2 separate pages for Java development and Symbian C++ development:
 
* [[Nokia Java Development]]
=== Tools ===
* [[Nokia Symbian Development]]
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] -- Make sure Eclipse uses Java 1.4 to build or emulation will fail.
 
* [http://www.eclipse.org/downloads/ Eclipse 3.2.1] -- Eclipse will crash, save your work frequently.
 
* [http://forum.nokia.com/info/sw.nokia.com/id/d9f7e9b2-3932-4358-9e8e-aa5cd26be54e.html Carbide.j 1.5] -- Get the SN from [http://forum.nokia.com forum.nokia.com]
 
* [http://forum.nokia.com/info/sw.nokia.com/id/d9f7e9b2-3932-4358-9e8e-aa5cd26be54e.html Nokia PC Suite 6.80.21] -- Comes with Carbide.j. Newer versions will break deployment.
 
* [http://www.forum.nokia.com/info/sw.nokia.com/id/7a378a46-1dcb-4275-9e08-9dfbb3551f7f.html S60 3rd Ed SDK for MIDP] -- Only needed for on-device debugging (BT,WiFi)
 
== Tips ==
If emulation isn't working, you should check to see if Eclipse is using Java 1.4 to compile. If known working apps aren't working on the phone, it's most likely the wrong compiler.
 
If deployment isn't working, you probably updated the Nokia PC Suite. Uninstall the entire suite and all Nokia Connectivity drivers. Firmware updates seem to be OK, but unless you have a reason to update firmware, stay away.
 
If the Nokia phone 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, but should work in Symbian.
 
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 ==
== Useful Links ==
[http://forum.nokia.com/info/sw.nokia.com/id/93021595-9c99-4b0e-87b6-4a0b79d16541/Screencast_Carbide_j.html Hello World in Carbide.j]
[http://danakil-1.dyn.cs.washington.edu/wiki/index.php/N80_info Using NetBeans, N80 Wifi]  


[http://discussion.forum.nokia.com/forum/index.php Nokia Development Boards]
[http://discussion.forum.nokia.com/forum/index.php Nokia Development Boards]
[http://www.benhui.net/ J2ME Bluetooth Apps]

Latest revision as of 03:29, 25 March 2007

Overview

This document lists the various tools and tips for working with the Nokia phones. If you discover a useful tip, please update the wiki. It will save everyone some time.

The page has been split into 2 separate pages for Java development and Symbian C++ development:

Useful Links

Using NetBeans, N80 Wifi

Nokia Development Boards