Esato

Forum > Sony Ericsson / Sony > Symbian phones > Newbie developer : How to develop a Java application for p800

Author Newbie developer : How to develop a Java application for p800
triggerhippie
T68 gold
Joined: Dec 20, 2002
Posts: 32
From: UK
PM
Posted: 2003-06-25 17:08
Reply with quoteEdit/Delete This PostPrint this post
hi all,

hypothetical question here :

if my company wanted me to start developing java applications for smart phones, and i had a training budget/tool budget, how would i go about it ?

my knowledge of java is intermediate, but my knowledge of c++ is minimal.


sorry, if this is a similar question to the ones previous, but they were all giving bits and pieces of info, so i'd thought i'd ask again.

ta very much.
fireshipjohn
P800 no flip
Joined: Apr 18, 2003
Posts: 19
PM
Posted: 2003-06-25 20:05
Reply with quoteEdit/Delete This PostPrint this post
Depends what you need the application to do,

The Java J2ME facilities on the P800 are pretty limited,

(no phone funcs, no bluetooth etc..) but if you just want a simple
terminal type app its fine.

Easiest way is to get the Java SDK from SE ( which is
customised from the Sun s/w and start coding

Start here:

http://www.ericsson.com/mobilityworld/sub/open/technologies/java/about.html

Cheers

John
aZooZa
P900 no flip
Joined: Mar 23, 2003
Posts: 121
From: UK
PM
Posted: 2003-06-25 22:31
Reply with quoteEdit/Delete This PostPrint this post
Metrowerks Codewarrior is the way to go IMHO. It supports both Java and C++ builds and comes with an excellent emulator.

www.metrowerks.com

Personal edition for Symbian Mobile OS (6 and UIQ)
zaphod
K800 Black
Joined: May 27, 2003
Posts: 105
From: Dorset, England
PM, WWW
Posted: 2003-06-25 22:55
Reply with quoteEdit/Delete This PostPrint this post
I use pJava which the P800 supports. Its basically an implementation of Java 1.1.6. Download the 1.1.8 JDK from Sun, anything you write on this should run on the phone. Then get hold of the Symbian SDK (link to it on the SE pJava tutorial) so you can run the emulator and get the tools like aifbuilder and makesis so you can package your application up. Don't bother with SE's claimed support of the javaphone API, as it happens there is no javaphone support at all (as I found out after writing a shed load of code only to find no implementations on the device!). All of this will cost you zippo. If you want access to the phone's functions, you need to go the Metrowerks route or use JNI (unfortunately the sample makefiles supplied with the JDK are all messed up - would like a copy of them if anyone has them). Finally, get a good code obfuscator, I use Marvin which is free and seems pretty good (will encrypt strings etc.).

HTH
Access the forum with a mobile phone via esato.mobi