• 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

    • Offering real value takes effort. It's far more efficient to create a fake crisis, sell the Band-Aid, and host a keynote about how you're saving the world.
    • Windows 11 gets a new way to fix boot issues, Widgets improvements, more in build 26200.5622 by Taras Buria Microsoft is kicking off this week with a duo of new Windows 11 preview builds. Those in the Dev Channel received build 26200.5622 (KB5058512), which introduces several improvements and new features, including a new way to recover from boot issues, widget improvements, new features for Click to Do, and more. Users with Copilot+ PCs can now try a new Click to Do feature. It lets you click a sentence in an email or any other portion of text on your screen and click "Draft with Copilot in Word" to create a document based on the selected text and your instructions. Note that this feature requires a Microsoft 365 subscription. Also, Click to Do now supports French and Spanish languages for the rewriting tool, and text actions are now available in German, Italian, and Portuguese. Next is the big one. Quick Machine Recovery now has its own section in the Settings app. Announced at Ignite 2024, this feature lets you quickly resolve boot issues by applying fixes and patches within the Windows Recovery Environment. The new page enables you to check and configure the status of QMR. Windows Insiders can try QMR in action with test mode. Windows Widgets now feature multiple boards, allowing you to switch between widget-only view and a mix of widgets and news. Other changes include the following: The "Open with" dialog now displays app recommendations, allowing you to discover more apps that support the selected file. Phone Link now groups notifications in the start menu and lets you initiate screen mirroring (Android-only) with a single click. Connected iPhones can also display memories and recently synced photos. The Settings app now has a better alignment for the search bar on Copilot+ PCs, redesigned dialogs for entering your product key, troubleshooting activation, phone activation, and retail demo to match the Windows 11 visuals. Also, there is now a new Device Card for the Home page where you can see a brief rundown of your PC's specs. Now, here is what was fixed (these fixes are rolling out gradually): The following fixes are rolling out for improved Windows Search on Copilot+ PCs: Fixed an underlying crash causing semantic indexing to not work for some Insiders in the last couple flights. [Start menu] There have been some underlying improvements which should help address the issue where clicking your profile picture wasn’t opening the Account Manager for some Insiders after the latest flights. If you’re continuing to experience issues, please file feedback. Fixed an issue causing Start menu to crash on launch for some Insiders in the latest flights. [File Explorer] Fixed an issue where if you opened the “…” menu in the File Explorer address bar to show the full list of folders for the current path, the dropdown might be cut off and the bottom of it inaccessible. Fixed an issue which was causing File Explorer to crash doing various actions in the latest flights, including when deleting files for some Insiders. Fixed an issue where the recommended section in File Explorer wasn’t expanding when using the right arrow key. Fixed an issue which could lead to duplicate access keys in the File Explorer context menu. The following are fixes for AI actions in File Explorer: Fixed the issue where the action result canvas displayed text from left to right for AI actions for Microsoft 365 files w [Task Manager] Fixed an issue where after adding the new CPU Utility column, you might notice that System Idle Process always showed as 0. Fixed an issue where the CPU graphs in the Performance page were still using the old CPU utility calculations. [Narrator] Fixed an issue where the Describe image feature of narrator wasn’t working. [Voice Access] Fixed an issue where support for more descriptive and flexible language on Copilot+ PCs wasn’t working as expected. [Settings] Fixed an underlying issue related to Bluetooth which could cause Settings or Quick Settings to crash on launch for some people. Fixed an issue with Quick Settings where if you clicked the top third of the buttons in the top row, it wouldn’t work. [Other] Fixed an issue with msftedit.dll which was causing apps like Sticky Notes and Dxdiag to crash in certain cases for people using Hebrew or Arabic display languages. And there is a single fix that is available for everyone in the Dev Channel: [General] We have mitigated the issue where if Virtualization Based Security is enabled, applications dependent on virtualization, such as VMware Workstation, would lose the ability to run unless the “Windows Hypervisor Platform” Windows optional component is installed on the system. Finally, here is the list of known bugs: [General] After you do a PC reset under Settings > System > Recovery, your build version may incorrectly show as Build 26100 instead of Build 26200. This will not prevent you from getting future Dev Channel updates, which will resolve this issue. The option to reset your PC under Settings > System > Recovery will not work on this build. [Xbox Controllers] Some Insiders are experiencing an issue where using their Xbox Controller via Bluetooth is causing their PC to bugcheck. Here is how to resolve the issue. Open Device Manager by searching for it via the search box on your taskbar. Once Device Manager is open, click on “View” and then “Devices by Driver”. Find the driver named “oemXXX.inf (XboxGameControllerDriver.inf)” where the “XXX” will be a specific number on your PC. Right-click on that driver and click “Uninstall”. [Click to Do (Preview)] The following known issues will be fixed in future updates to Windows Insiders: Windows Insiders on AMD or Intel™-powered Copilot+ PCs may experience long wait times on the first attempt to perform intelligent text actions in Click to Do after a new build or model update. [Improved Windows Search] [REMINDER] For improved Windows Search on Copilot+ PCs, it is recommended that you plug in your Copilot+ PC for the initial search indexing to get completed. You can check your search indexing status under Settings > Privacy & security > Searching Windows. [Taskbar & System Tray] [NEW] In some cases, taskbar icons may appear small even though the setting to show smaller taskbar buttons is configured as “never”. [File Explorer] The following are known issues for AI actions in File Explorer: Narrator scan mode may not work properly in the action result canvas window for the Summarize AI action for Microsoft 365 files when reading bulleted lists. As a workaround, you can use Caps + Right key to navigate. [Widgets] Until we complete support for pinning in the new widgets board experience, pinning reverts you back to the previous experience. [Graphics] [NEW] When connecting your PC to some older Dolby Vision displays, in some cases you might see severe discoloration. You can navigate to Settings > System > Display > HDR turn off “Use Dolby Vision mode” as a workaround to resolve the issue or disconnect the display. You can find the announcement post on the official Windows Blogs website.
    • Photo Variants 2.2 by Razvan Serea Photo Variants is an all-in-one photo editor for Windows. Quickly cull, import, and edit your images with powerful tools. Enjoy full layer support, precise retouching features, and a wide range of filters and color adjustments. Create multiple versions of a photo instantly with presets, or design from scratch using vector graphics and advanced editing options. Free for personal and commercial use. Photo Variants key Features: Advanced Adjustment Tools: Provides precise control over image modifications. ​ Extensive Filter Collection: Offers over 99 photo filters to apply various effects. ​ Animated Photo Effects: Enables the addition of dynamic elements to images. ​ Automatic Face Retouching: Includes features for enhancing facial features automatically. ​ Support for Multiple Formats: Compatible with over 100 graphic formats, including RAW and PSD files, allowing users to open, edit, and save in these formats. ​ Drawing and Transformation Tools: Facilitates freehand drawing, erasing, filling, cropping, resizing, rotating, and flipping images. Photo Variants supports a wide array of image formats, making it a versatile tool for all your editing needs. Key supported formats include: Raster Formats: .jpeg, .jpg, .png, .bmp, .gif, .tiff, .webp, .ico, .pcx. Camera RAW: .crw, .cr2, .dng, .nef, .raf, .arw, .orf, .x3f, .raw. Professional Formats: .psd, .ai, .svg, .tga, .pdf, .pcl. Specialized Formats: .dicom, .dcm, .heic, .heif, .avif, .exr, .dds. Other: .wmf, .emf, .xps, .jpeg2000 (.jp2)...etc... With support for these formats, Photo Variants offers seamless editing and flexibility for photographers, designers, and creatives. Photo Variants 2.2 changes: Added the ability to save and export all images at once. New option in the RAW import window. Download: Photo Variants 2.2 | 64.2 MB (Freeware) View: Photo Variants Home page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Something is either premium or not. No such thing as premium lite. They just made fool out of the subscribers who took the lite subscription for some convenience.
    • And not to mention the junk foods, fast foods and processed foods full of chemicals.
  • Recent Achievements

    • Week One Done
      Nullun earned a badge
      Week One Done
    • First Post
      sultangris earned a badge
      First Post
    • Reacting Well
      sultangris earned a badge
      Reacting Well
    • First Post
      ClarkB earned a badge
      First Post
    • Week One Done
      Epaminombas earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      170
    2. 2
      ATLien_0
      125
    3. 3
      snowy owl
      120
    4. 4
      Xenon
      118
    5. 5
      +Edouard
      100
  • Tell a friend

    Love Neowin? Tell a friend!