Esato

Forum > Sony Ericsson / Sony > Symbian phones > Free development on the P800

Author Free development on the P800
pphillips001
T68 gold
Joined: Apr 16, 2003
Posts: 7
PM
Posted: 2003-06-03 01:15
Reply with quoteEdit/Delete This PostPrint this post
Hiya,

I'm wanting to develop on the P800 but don't want to fork out wads of dosh to Appforge - is there any free to cheap way of developing on the P800?

Is so what languages/software do I need?

Cheers.
DutchmanNL
P900
Joined: Apr 14, 2003
Posts: 73
From: Netherlands
PM, WWW
Posted: 2003-06-03 01:17
Reply with quoteEdit/Delete This PostPrint this post
If u dont want to use the appforge thingie then the best way to make a proggie is in C++, almost all programs that do not use appforge are in C++, dont ask me any more than this, im not a programmer.
doubleduh
K700
Joined: Mar 21, 2002
Posts: 436
From: Culemborg, The Netherlands
PM, WWW
Posted: 2003-06-03 02:19
Reply with quoteEdit/Delete This PostPrint this post
Yes you can program for free with Java, get the Sun ONE Studio mobile edition and the Ericsson Symbian OS UIQ kit. They can be found somewhere on sun.com and ericsson.com, don't have the exact link...
Fahed_2000
P800 no flip
Joined: Feb 12, 2002
Posts: > 500
From: UK - London
PM, WWW
Posted: 2003-06-03 03:00
Reply with quoteEdit/Delete This PostPrint this post
that looks good... i'll give that a try once i finish my a levels maybe i'll make something Useful (Usually I don't)
Good Shit, Bad Shit, It's all Shit
invert82
P800
Joined: Apr 28, 2003
Posts: 16
PM
Posted: 2003-06-03 18:32
Reply with quoteEdit/Delete This PostPrint this post
Silly really.. i've got good ideas for P800 progs.. and I'm a Computer Science student so i have got lots of time it never really occured to me that there would be free ways of doing stuff on the P800.. I just got used to the fact that everything for the phone was lots of £££.. I'll get the Ericsson comlipers and start attempting stuff in a few weeks..
zaphod
K800 Black
Joined: May 27, 2003
Posts: 105
From: Dorset, England
PM, WWW
Posted: 2003-06-03 19:06
Reply with quoteEdit/Delete This PostPrint this post
Personal Java is the way to go. I went down this route due to the cost of Metrowerks. Its reasonably easy to get going, just download the Symbian SDK for the emulator and tools, then get a copy of JDK1.1.8 from SUN. I've not had much fun with any of the java IDE's so I use Codewright for everything. I have been disappointed that despite SE's literature, the P800 JVM doesn;t seem to support the JavaPhone API which procludes quite alot of stuff which you may want to develop. Internet stuff is a piece of p&*s in pjava though

I have recently learnt that Motorola developers can download Metrowerks Codewarrior Wireless Studio for free - so I did. I haven't delved into the detail of it yet, but I am hoping it will be applicable to the P800.

Finally, you can write your app in native C++ and compile using GCC supplied with the SDK. The makefiles are a nightmare though and in-fact the ones supplied with the SDK are all broken
Orobas_Wats
P800
Joined: May 14, 2003
Posts: 99
From: Kent, UK
PM
Posted: 2003-06-03 19:40
Reply with quoteEdit/Delete This PostPrint this post
Does anyone have a good 'Getting Started' page anywhere?

I really want to do a bit of developing, but I have no idea where to start, what tools to get, where to get them from, how to set them up, how to write my first 'Hello World' Application, Ok, so there's a few gaps there, but once I'm started...

Cheers
-Orobas
zaphod
K800 Black
Joined: May 27, 2003
Posts: 105
From: Dorset, England
PM, WWW
Posted: 2003-06-03 20:38
Reply with quoteEdit/Delete This PostPrint this post
Orobas_Wats - if you download the Symbian SDK, there is a Getting Started in Java section which is quite good. Download that (its about 300 meg ) and install it. Then go to Ericsson's site and download the P800 emulator which is a patch to the Symbian SDK, and get a JDK (must be 1.1. and install that. You'll then have all the tools you need.

Displayed with emoticons, that should read: 1 . 1 . 8

Write a simple Hello World program in regular java and compile it. Then use jar to turn it into a jar file. Use AIFBuilder to create the accompanying files (icon etc.) and then use makesis to create an installer. PM me if you need any help.

_________________


[ This Message was edited by: zaphod on 2003-06-03 19:39 ]
Magi
P800 no flip
Joined: May 30, 2003
Posts: 14
From: singapore
PM
Posted: 2003-06-04 03:51
Reply with quoteEdit/Delete This PostPrint this post
Hi.

I'm interested in writin some free apps for my phone, and did some looking up on the supported languages. Correct me if i'm wrong but i gathered that C++ has access to all features of the phone, pJava has some and J2ME has none. Am I right? Considering I haven't wrote any C++ programs since years ago, I'd like to have a lil fun with pJava, on this note then, would anyone have a good link or two to share on the specs of it, samples or tutorials? Sorry, i must be rather outdated, didn't hear about pJava till the p800.

Thanks zaphod for the tip on the jdk version.

[ This Message was edited by: Magi on 2003-06-04 02:52 ]
kaaspad
P800 no flip
Joined: Apr 19, 2002
Posts: 75
From: Jerusalem, Israel - NYC, New Y
PM
Posted: 2003-06-04 04:52
Reply with quoteEdit/Delete This PostPrint this post
is there any way to develop c++ apps for "free", I know there is the codewarrior solution but that's freaking crazy, I already own .NET and dont' plan on buying another IDE. I also develop in Linux, is there any C++ linux option ?
SE are total shmucks for getting in bed with Metrowerks and not allowing developers the freedom of choosing there own env and compiler.
kaaspad
P800 no flip
Joined: Apr 19, 2002
Posts: 75
From: Jerusalem, Israel - NYC, New Y
PM
Posted: 2003-06-04 08:51
Reply with quoteEdit/Delete This PostPrint this post
actually I think I found the answer to my own question !!!!

GnuEpoc, it rox !! and its customized for p800 dev too !!!

http://gnupoc.sourceforge.net/

for all you windows users you might be able to use cygwin, but that will be one hell of a hack
zaphod
K800 Black
Joined: May 27, 2003
Posts: 105
From: Dorset, England
PM, WWW
Posted: 2003-06-04 12:45
Reply with quoteEdit/Delete This PostPrint this post
Nice one kaaspad, hope it works in cygwin. I imagine it will because the Symbian SDK certainly seems to have been put together for use in cygwin.

One question, if you use Linux as you main OS, what is syncing solution i.e. which PIM do you use and can you sync it with your P800?

Cheers.
julianmclean
P800
Joined: Mar 11, 2003
Posts: 118
PM
Posted: 2003-06-04 14:20
Reply with quoteEdit/Delete This PostPrint this post
Quote:

On 2003-06-03 19:06:52, zaphod wrote:
Personal Java is the way to go. I went down this route due to the cost of Metrowerks. Its reasonably easy to get going, just download the Symbian SDK for the emulator and tools, then get a copy of JDK1.1.8 from SUN. I've not had much fun with any of the java IDE's so I use Codewright for everything. I have been disappointed that despite SE's literature, the P800 JVM doesn;t seem to support the JavaPhone API which procludes quite alot of stuff which you may want to develop. Internet stuff is a piece of p&*s in pjava though

I have recently learnt that Motorola developers can download Metrowerks Codewarrior Wireless Studio for free - so I did. I haven't delved into the detail of it yet, but I am hoping it will be applicable to the P800.

Finally, you can write your app in native C++ and compile using GCC supplied with the SDK. The makefiles are a nightmare though and in-fact the ones supplied with the SDK are all broken




Zaphod, I'm writing a program at the mo which monitors your call/sms/etc usage on the phone and gives you a view onto what you're using against your tariff. To do this, I need to get at the call/sms records stored on the phone. I haven't looked at this part of the program yet, but was planning to use JNI. Do you know if this is going to be possible - I'm ok with java but I've never used JNI before. Alternatively, will the JavaPhone implementation provide this functionality for me?
ta.
zaphod
K800 Black
Joined: May 27, 2003
Posts: 105
From: Dorset, England
PM, WWW
Posted: 2003-06-04 14:40
Reply with quoteEdit/Delete This PostPrint this post
Lo m8, you can't use the Javaphone API because it isn't implemented on the P800 JVM. SE only claim to provide a narrow set of interfaces anyway which I don't think would give you what you want. I think you would have to use JNI, but so far I haven't got this going. My experiance with using native code is using the old stubs method.

I was going to use it to try and pull the IMEI number out of the phone, and I started with the Infoprint example supplied with the SDK which seems pretty good for first go. I found that the makefiles supplied were corrupt though and posts to various groups revealed that you need to get the makefiles from the beta release of the SDK which are fine, but I don't have a copy of this. Without the makefiles I guess you are looking at using gcc by hand but I do not know with what parameters/includes etc.

I am keen to get this going though, so if anyone can post any pointers it would be really appreciated, and if I get anywhere with it I will post my progress.

I got as far as creating the stub files with javah and adding the C implementation. I'm stuck on compiling the thing, and I've hacked the makefiles to death to try and get them working. Maybe I'll re-install the SDK and start from scratch and start using cygwin instead of cmd.
triggerhippie
T68 gold
Joined: Dec 20, 2002
Posts: 32
From: UK
PM
Posted: 2003-07-01 16:25
Reply with quoteEdit/Delete This PostPrint this post
hi all,

i downloaded the motocoder codewarrior and i can confirm that it works for us p800 users !

however, i am stuck on the deployment of this as i cannot get codewarrior to make a .sis file.

could someone reply to my plea's with a step-by-step process on doing this ?

thanks

Access the forum with a mobile phone via esato.mobi