|
| |
| HomeFAQMember listActive usersLatest postsSearch | RegisterLog in |
| ROllerozxa |
|
Posted on 2026-10-17 22:45 Link |
|
Posts: 279 Joined: 2022-06-04 |
So recently I pulled out my old Sony Ericsson feature phone to do some testing with it. Mostly to get some Java ME games onto it with Bluetooth as that is about the only thing you can do with it when 2G and 3G have shut down, apart from testing the terrible camera.![]() I got some games working on it after connecting it via Bluetooth, and even managed to crack the activation system of an old ad-supported game which required the ad servers to start. It had the option of paying to remove the ads, and thankfully this could be done entirely offline which meant I could just reverse engineer the algorithm to generate the key needed to activate the ad-free mode of the game. (The game is called Attack Chopper 2, and here is a note about it on my website) ![]() After doing all this digging on old Java games and just using this phone for a bit made me want to figure out how to build a Java ME app. Preferably only with modern tooling, not having to resurrect whatever old Sun Java ME SDK was being used back in the day. It turns out that it is actually quite simple - after I got a Hello World in an emulator I also made a little thing that shows a bunch of raccoons bouncing on the screen, then sent it to my phone. ![]() Interesting novelty. The TL:DR for the build pipeline, apart from "compile classes with javac and package with jar" is:1. OpenJDK 8 with Java 1.3 source target and 1.1 bytecode target 2. Grabbing CLDC and MIDP stub JARs from MicroEmulator to compile against 3. Using ProGuard to preverify the JAR for Java ME so it can be run on a real device. There is a GitHub repository with the bouncing raccoon app shown before as well as a Bash script to build it. But I will hopefully get a more elaborate blog post out about it soon. |
Rendered in 12.117 ms with 644KB memory used
Voxelmanip Forums (Cirrusboard)© 2022-2025 ROllerozxa, et al. |