Nokia Phone Development: Difference between revisions

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


== Symbian Development ==
== Symbian Development ==
[http://www.symbianone.com/content/view/3027/ HelloWorld] in C++


== Useful Links ==
== Useful Links ==

Revision as of 08:07, 2 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.

Java Development

Tools

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

  • Eclipse 3.2.1 -- Eclipse will crash, save your work frequently. Also, make sure to use Java 1.4 to build or emulation will fail.

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. (Window > Preferences > Java > Compiler > Compiler compliance level should be 1.4)

If deployment isn't working, you probably updated the Nokia PC Suite. Uninstall the entire PC 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.

Make sure you hit the refresh button before you generate the new JAD/JAR files, or you may get stale files sent to the phone.

Symbian Development

HelloWorld in C++

Useful Links

Using NetBeans, N80 Wifi

Hello World in Carbide.j

Nokia Development Boards

J2ME Bluetooth Apps