| Author |
Free development on the P800 |
pphillips001 Joined: Apr 16, 2003 Posts: 7 PM |
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 Joined: Apr 14, 2003 Posts: 73 From: Netherlands PM, WWW
|
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 Joined: Mar 21, 2002 Posts: 436 From: Culemborg, The Netherlands PM, WWW
|
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 Joined: Feb 12, 2002 Posts: > 500 From: UK - London PM, WWW
|
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 Joined: Apr 28, 2003 Posts: 16 PM |
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 Joined: May 27, 2003 Posts: 105 From: Dorset, England PM, WWW
|
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 Joined: May 14, 2003 Posts: 99 From: Kent, UK PM |
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 Joined: May 27, 2003 Posts: 105 From: Dorset, England PM, WWW
|
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 Joined: May 30, 2003 Posts: 14 From: singapore PM |
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 Joined: Apr 19, 2002 Posts: 75 From: Jerusalem, Israel - NYC, New Y PM |
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 Joined: Apr 19, 2002 Posts: 75 From: Jerusalem, Israel - NYC, New Y PM |
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 Joined: May 27, 2003 Posts: 105 From: Dorset, England PM, WWW
|
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 Joined: Mar 11, 2003 Posts: 118 PM |
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 Joined: May 27, 2003 Posts: 105 From: Dorset, England PM, WWW
|
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 Joined: Dec 20, 2002 Posts: 32 From: UK PM |
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
|
|
|