• 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

    • That would have been a so much better UX that what it is right now. I know that after a few moment of trying/failing to recognize you in the dark it goes back to PIN selection. But if the light sensor would detect the dark light, showing the PIN field while continuing for a brief moment to register your face would work better.
    • Oh ! This is why... Like some of you, i used Windows Hello since the Surface Pro 4. It worked really well for so long on many devices and still use it everyday with my desktop and laptop. I couldn't understand why it wasn't working as well as before in the dark. Why is Microsoft (as a company) in its UX decisions so anti-consumer right now ? -_-"
    • Zen Browser 1.13.2b is out.
    • KDE Plasma 6.4 launches, bringing better window management, improved KRunner, and more by David Uzondu It's finally here. After several weeks of development, KDE Plasma 6.4 has been rolled out, delivering a ton of significant refinements across the entire UX, from how you manage windows to how you see notifications. The biggest deal for power users is probably the increased flexibility in window management. Plasma 6.4 now allows you to set a completely different tiling layout for each virtual desktop. You can have a simple 50/50 split screen on one desktop for writing, and on another, have a complex grid with two apps snapped to the sides and two others floating in the middle. On the visual side, the default Breeze Dark theme got a little darker for better contrast, and when a password box pops up, the rest of the screen dims to help you focus. There is also a new Animations page in System Settings, which groups all the purely visual effects in one place so you can find them easily. The file transfer notification now shows a speed graph, giving you a much better idea of how a download is progressing. The system will even pop up a notice if you try talking into a muted microphone, and you can install system updates right from the notification that tells you they are ready. When you are in a full-screen application like a game or watching a movie, Plasma automatically enters a Do Not Disturb mode, holding back notifications until you are done. Plasma 6.3, which was released last February, brought several features, including a "Help" category to the launcher after getting rid of the "Settings" one. Now, Plasma 6.4 gives the application launcher a green New! tag next to recently installed apps to help you find them. KRunner and Spectacle, two of the most powerful utilities in Plasma, also received some serious attention. KRunner now lets you visualize colors just by typing in their hex code or even CSS names like "MintCream" or the ridiculous "PapayaWhip." The tool will then show you what that color looks like and give you its code in other formats. Spectacle, the screenshot tool, has been completely overhauled. Pressing the Print Screen key now immediately puts you in selection mode, letting you grab a region or the whole screen much faster before jumping straight into the annotation tools. Screen recordings made in the WebM format or on screens with fractional scaling have also seen a massive quality boost. The Bluetooth widget is getting smarter with better device recognition and easier pairing (we touched on this last month). People with nice monitors will appreciate the new HDR calibration wizard in the display settings. Plasma can also now handle Extended Dynamic Range and the P010 video format, improving power efficiency with HDR content. Digital artists were not left out either. Configuring the buttons on a stylus is "much more intuitive," and you can easily reset your tablet's calibration if you mess it up. Finally, there is a lot of work under the hood. The System Monitor can now show GPU usage for Intel and AMD hardware on a per-process basis and has a new Sensors page for nerds who want to see raw temperature data. When you drag and drop files on the same disk, you can now set it to always move them instead of asking what to do every time. The browser integration feature now supports the Flatpak versions of Firefox and Chromium-based browsers. All of this is built on top of support for a slew of new Wayland protocols, like "FIFO", "toplevel tag," and more. For more information, you can check out the official announcement post, as well as the full changelog.
    • Zoom Workplace 6.5.0.6118 by Razvan Serea Zoom Workplace for Windows is a reliable video conferencing tool that makes it easy to connect and collaborate. With features like messaging, file sharing, and app integrations, it’s designed to streamline teamwork. You’ll get high-quality audio and video, strong security with end-to-end encryption, and an intuitive interface—all of which help remote teams and businesses stay productive and connected. Zoom Workplace key features: High-Definition Video & Audio: Provides clear, reliable communication for virtual meetings. End-to-End Encryption: Ensures secure communication with strong data protection. Multi-Factor Authentication: Adds an extra layer of security for user accounts. Integration with Productivity Apps: Supports seamless integration with Microsoft Office, Google Workspace, and more. File Sharing: Easily share files during meetings for efficient collaboration. Real-Time Messaging: Enables team chat for ongoing communication. Collaborative Whiteboarding: Allows teams to brainstorm and collaborate visually. Webinar Support: Host large webinars with interactive features. Administrative Controls: Manage user permissions, meeting settings, and security features. Cloud Storage: Automatically stores meetings and files in the cloud for easy access. Cross-Platform Support: Available on Windows, macOS, and mobile devices. Meeting features: Virtual Backgrounds: Customize your background for meetings to maintain privacy or enhance professionalism. Touch Up My Appearance: Automatically smoothens skin tone for a more polished video appearance. Breakout Rooms: Divide meetings into smaller sessions for group discussions or workshops. Live Transcription: Automatically generate real-time captions during meetings for accessibility. Zoom Apps: Integrate third-party applications directly into Zoom for enhanced functionality. Meeting Reactions: Participants can use emojis for quick, non-verbal feedback during meetings. Polling: Conduct live polls during meetings to gather instant feedback from participants. Attention Tracking: Monitors participant attention during meetings to ensure engagement. Closed Captioning: Enable manual or automatic captions for a more inclusive experience. Webinar Replay: Record and share webinars with analytics for audience engagement. Download: Zoom 64-bit | Zoom 32-bit (Free, paid upgrade available) Links: Zoom Website | Zoom ARM64 | Zoom Installers | Release Notes Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • Week One Done
      Rhydderch earned a badge
      Week One Done
    • Experienced
      dismuter went up a rank
      Experienced
    • One Month Later
      mevinyavin earned a badge
      One Month Later
    • Week One Done
      rozermack875 earned a badge
      Week One Done
    • Week One Done
      oneworldtechnologies earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      699
    2. 2
      ATLien_0
      273
    3. 3
      Michael Scrip
      214
    4. 4
      +FloatingFatMan
      186
    5. 5
      Steven P.
      145
  • Tell a friend

    Love Neowin? Tell a friend!