Sign in to follow this  

Hi all, I have the newbiest question ever :-)

This topic is 4853 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi all Lately my brother received a new cell phone for his birthday and I have been wanting to program something to work on it in Java since... The only thing is that I don't know any Java or how it works. I don't even know in which text program I should write it. I do know some ASP, VBScript, VB and a bit of C (hoping that all of these would help). I am hoping that someone would be able to explain a bit about Java to me and maybe give me a link to where I can study it (Java that is comptible with cell phones). Thanks to all of you in advance :).

Share this post


Link to post
Share on other sites
Hey,

It would really help to know what type of phone it is. Some phones won't even support Java, and some have special APIs for helping you do certain things.

To get a general understanding of Java, the Java website (java.sun.com, I think) is a really good start. Unfortunately, the languages you already know won't give you quite the jumpstart that knowing, say, C++ would since Java is a bit different (I don't know about ASP, though).

Once you get a decent understanding of Java, applying it to cell-phones is a breeze.

As for the text program to write your programs in, it really all depends on preference. I like Eclipse as a full-featured IDE myself, but some people will advocate Notepad all the way.

Good luck,
--Brian

Share this post


Link to post
Share on other sites
Quote:
Original post by Nairb
Hey,

It would really help to know what type of phone it is. Some phones won't even support Java, and some have special APIs for helping you do certain things.

To get a general understanding of Java, the Java website (java.sun.com, I think) is a really good start. Unfortunately, the languages you already know won't give you quite the jumpstart that knowing, say, C++ would since Java is a bit different (I don't know about ASP, though).

Once you get a decent understanding of Java, applying it to cell-phones is a breeze.

As for the text program to write your programs in, it really all depends on preference. I like Eclipse as a full-featured IDE myself, but some people will advocate Notepad all the way.

Good luck,
--Brian


More important is what cell phone did your brother get?With the model number,you will know whether you can write any program to go with it.

Share this post


Link to post
Share on other sites
Java can be studied in a short tutorial on the official java website: http://java.sun.com/docs/books/tutorial/

Once you have learnt the basics of java you'll want to look into J2ME. All the resources related to j2me can be found at http://java.sun.com/ . Be sure to download the latest Wireless Toolkit (WTK).

When it comes to transfering the game to your brothers phone there are so many possible ways. If the phone has bluetooth you will need a bluetooth connection for your pc, should your phone have bluetooth this is the way i recommend doing everything. Considering a lot of phones don't have bluetooth you may use Infra-red or a usb data cable of some sort. The data cables are usually phone specific and some phone manufacturers provide them in the box with the phone, others must be bought seperately.

Enjoy j2me.

Share this post


Link to post
Share on other sites
Hi all
First, I would like to thank you for your help.
Now, the model that he got was Philips 530, which supports Infra-Red only (no Blue-tooth or USB connection). Since I don't have Infra-Red connection on my computer I wanted to transfer the data through the phone-net (hoping that's possible :) ). Anyway, if any one has more info conserning the model type and all please tell me, ok? Thanks again :)
P.S: One more thing that I wanted to ask. Can I write apps for the cell phone in javascript or just in Java? I mean, if I create an HTML page which uses Java only on the entire page, will the cell phone run it?

[Edited by - LinkOfTime on August 28, 2004 5:10:22 AM]

Share this post


Link to post
Share on other sites
javascript is not java.

javascript was made by Netscape and was origionally called livescript. (first used in netscape navigator 2.0).

netscape decided that it was good to change the name livescript to javascript, becasue of the hype over java and so that some of java's glitter might rub of onto javascript.

Just living up to my username,
From nice coder

Share this post


Link to post
Share on other sites
Quote:
Original post by LinkOfTime
Hi all
First, I would like to thank you for your help.
Now, the model that he got was Philips 530, which supports Infra-Red only (no Blue-tooth or USB connection).


Get a IR data cable.1 end plugs into your USB port.The other end is the IR head itself.So you can just transfer the files over using this IR data cable.

Share this post


Link to post
Share on other sites

This topic is 4853 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this