• 0

[JAVA] Help and Tutorials in developing J2ME game


Question

I'm currently approaching my final semester for my course and one of the subjects require me to create a final product for evaluation. One of the conditions placed was that you must have a client for the product you're developing unless that product is very hard for a client to accept. A Java phone game is one of them and I'm very interested in choosing that for my final assignment as I do not want to deal directly with a client.

My knowledge on Java is very shallow and limited to Dim and so on. I would like to know if there are websites who can show me how to develop simple to advance Java games for phones? I would also like to know what are the advantages and disadvantages of Java Phone games and if it is difficult to develop. Please help me as this is very important to me as I must pick a title and then prepare a proposal for my lecturers to be approved. I would be grateful if you could assist me and I thank you for your time and patient in reading my post.

PSG22

10 answers to this question

Recommended Posts

  • 0

Apparently, J2ME is like a crippled version of Java without the vast libraries. You have to extend the mobile interface class and go from there. every pixel has to be drawn by code, so that can be tricky also.

If you do find any resources, please let us know, because I'd like to programme some J2ME also :)

  • 0

Tools:

Java Wireless Toolkit 2.2 (needs JRE installed).

http://java.sun.com/products/sjwtoolkit/download-2_2.html *Registration required.

When you have installed it, go to folder where you installed it.

Under apps folder, you'll find examples (incl. games).

You use J2ME Wireless Toolkit to create the project and manage it.

You'll have to use some text editor (notepad isn't so bad) to create the .java files.

And save them to WTK22PATH\apps\YOURAPP\src.

Then Build and Run the app in builtin emulator.

Sites:

http://java.sun.com/javame/index.jsp

http://www.google.com/search?hl=en&q=j2me&btnG=Google+Search

I am currently using WTK and EditPlus.

  • 0

Thank you :D ! But is it correct that to develop a game for a phone, it is called J2ME? I have a Sony Ericsson K700i so I'm hoping to use it for my work. Also, I use notepad to write out my Javascript then run it using command prompt. Is there a program that allows me to write Javascript and display mistakes I've made and colour code them, such as in Dreamweaver?

PSG22

  • 0
  PSG22 said:

Thank you :D ! But is it correct that to develop a game for a phone, it is called J2ME? I have a Sony Ericsson K700i so I'm hoping to use it for my work. Also, I use notepad to write out my Javascript then run it using command prompt. Is there a program that allows me to write Javascript and display mistakes I've made and colour code them, such as in Dreamweaver?

PSG22

I can't wait till I start doing some of that.

but for you notepad mod I would sugest

http://www.textpad.com/products/textpad/sc...hots/index.html

does a lot of things should be helpfull

also you might want to look around www.sourceforge.net for some of the text editors

  • 0
  RailOcelot said:

I can't wait till I start doing some of that.

May I ask doing what? Programming :shifty: ?

  RailOcelot said:

but for you notepad mod I would sugest

http://www.textpad.com/products/textpad/sc...hots/index.html

does a lot of things should be helpfull

also you might want to look around www.sourceforge.net for some of the text editors

Thank you for that :yes: . Though I'm still looking for a good Java editor, hopefully I'll find one that will suit my needs. I believe there is one called Blue something, though I can't remember :wacko: . Is there anyone else who can help me as I'm really at a disadvantage here :cry: . Can someone provide me tutorials or worksheets that will help me develop a Java phone game. Is there also a difference between J2ME and the Java used in phone?

PSG22

  • 0
  PSG22 said:

May I ask doing what? Programming :shifty: ?

Can someone provide me tutorials or worksheets that will help me develop a Java phone game. Is there also a difference between J2ME and the Java used in phone?

PSG22

Programming for the phone.

I actually found a good blog http://www.armadilloaerospace.com/n.x/johnc/Recent%20Updates about phone programming :unsure: :unsure:

*its under {Cell phone adventures}

That text editor does the underlining and everything, ;) I guess you looking for something more then that?

  • 0
  PSG22 said:

May I ask doing what? Programming :shifty: ?

Thank you for that :yes: . Though I'm still looking for a good Java editor, hopefully I'll find one that will suit my needs. I believe there is one called Blue something, though I can't remember :wacko: . Is there anyone else who can help me as I'm really at a disadvantage here :cry: . Can someone provide me tutorials or worksheets that will help me develop a Java phone game. Is there also a difference between J2ME and the Java used in phone?

PSG22

for development: Just go to netbeans.org and download the IDE and the Mobility Pack and you're good to go :)

tutorials: http://www.jasonlam604.com/ (it has a nice ebook and tips)

http://today.java.net/pub/a/today/2005/02/09/j2me1.html (starts with J2ME midlets and advances to the Game API)

--

if you want your game to work on your mobile, you'll have to adjust the gaming screen to the size of your mobile. The emulator is too big and if you code for it it's probably not going to fit. If you have a PDA then it probably won't be much of an issue.

You'll also have to pay attention to the CLDC and MIDP versions that your mobile supports and when you are working in netbeans adjust these accordingly in you project properties. The emulator always uses the latest and your mobile might not support them.

--

In my experience, it's quite easy to develop games with J2ME.

I don't think your limited experience with Java will be a negative factor if you alreay have a solid knowledge of C++ (or C# or C for that matter :p).

  • 0

Thank you, SIG :D ! I have start reading and downloading as it will take some time for me to familiarise myself with all this. And no, I have no experience whatsoever with C++ or C# (I do know OpenGL and the like :p ). Again, thank you :yes: .

PSG22

  • 0

Thank you, Wilhelmus :woot: ! I've only just started reading and then you give me this. I think it's a sure thing that I'm developing a Java Game for a phone for my assignment :yes: .

PSG22™

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Here in the UK we used to have a mobile network that would've been perfect for Trump. It was called ... Orange!
    • Trump's team takes down Trump Mobile coverage map that includes "Gulf of Mexico" by David Uzondu Image via Depositphotos.com When Donald Trump returned to office in January this year, one of the first things he did was sign an executive order to officially rename the Gulf of Mexico to the "Gulf of America". It was a signature move, but it seems his own team might have forgotten about it. The rollout for the new Trump Mobile service, a venture headed by his sons, is already facing issues with its pre-orders, and now has a whole new self-inflicted problem to deal with. A post from Travis Akers (@travisakers) has shown that the Trump Mobile official coverage map, intended to show potential customers their signal strength, prominently featured the name "Gulf of Mexico." It appears shortly after Akers's post went live, the Trump team took down the page, so if you visit trumpmobile.com/coverage, you would get a 404 error. Anyways, here's a screen recording of what the page looked like before the take down (double click to enlarge): So, how could the Trump team make such a mistake on something so politically important to them? From the recording, it looks like the coverage map is powered by Mapbox, a popular location platform for developers. Mapbox, by default, still uses "Gulf of Mexico" because its core map data is built on global sources like OpenStreetMap, which have not adopted the unilateral name change. Even though the official name is different in the US, these global datasets stick to the international consensus. Other tech companies, like Google, address this by changing their maps to display "Gulf of America" only for users in the US, a decision that annoyed the president of Mexico. The funny thing is, fixing this would have been pretty simple. Mapbox is quite flexible, and you can edit "natural features", including bodies of water. Here's how we did it (click to enlarge): The Trump Mobile coverage map has been offline for over five hours, as the Trump team presumably works to fix the issue and bring the page back online.
    • Maybe stop using that ###### once and for all? One can live withouth it. Anything META is cancer.
    • This also highlights the dangers of giving corporations unencrypted access to your documents / photos. It would appear this persons data has likely been scanned by Ai, which found something it didn't like, locking access to the account.
  • Recent Achievements

    • Week One Done
      rozermack875 earned a badge
      Week One Done
    • Week One Done
      oneworldtechnologies earned a badge
      Week One Done
    • Veteran
      matthiew went up a rank
      Veteran
    • Enthusiast
      Motoman26 went up a rank
      Enthusiast
    • Mentor
      M. Murcek went up a rank
      Mentor
  • Popular Contributors

    1. 1
      +primortal
      684
    2. 2
      ATLien_0
      266
    3. 3
      Michael Scrip
      194
    4. 4
      +FloatingFatMan
      177
    5. 5
      Steven P.
      140
  • Tell a friend

    Love Neowin? Tell a friend!