Live data from Hacker News

Show HN: Awesome J2ME

github.com

51–59 of 59 posts

Re: Show HN: Awesome J2ME

#51

Someone should make a 4G LTE/5G dumb phone capable of running J2ME. I'd buy it, my dumb phone doesn't even have snake on it lol

You can run it under Android, there's a J2ME emulator at https://f-droid.org. Being both platforms Java-like makes emulation much easier as you will find thousand of competent enough people and OFC it woudn't surprise me if Google made tons of similar functions to J2ME ones at Android in order to ease the transition from former developers.

Re: Show HN: Awesome J2ME

#52
post #12

What is the next thing coming up? "Awesome WAP"?

Gemini (the protocol, no the Google hype) it's close to these contraints, and partially the old Gopher. There's even a Gopher client for J2ME, Pocket Gopher, patched at gopher://hoi.st

Re: Show HN: Awesome J2ME

#53

I remember creating a J2ME game back at uni, where the theme was to pour a beer exactly right. Tested of course on the latest SonyEricsson of the time! Maybe i can dig that out again and run it somewhere.

Root Bear is a modern take for the playdate on that genre: https://alexsussy.itch.io/root-bear

Re: Show HN: Awesome J2ME

#54
Wow, what a project! I've spent a lot of time on j2me developing various utilities. Those were the good old days when you could try everything on your basic Nokia or Symbian. Here are my applications: https://www.8mobile.org/products/j2me/moneymanager/ https://www.8mobile.org/products/j2me/moneymanager2/ https://www.8mobile.org/products/j2me/rssmanager/ https://www.8mobile.org/products/j2me/spymanager/

Thanks Otto

Re: Show HN: Awesome J2ME

#55
post #54

Wow, what a project! I've spent a lot of time on j2me developing various utilities. Those were the good old days when you could try everything on your basic Nokia or Symbian. Here are my applications: https://www.8mobile.org/products/j2me/moneymanager/ https://www.8mobile.org/products/j2me/moneymanager2/ https://www.8mobile.org/products/j2me/rssmanager/ https://www.8mobile.org/products/j2me/spymanager/ Thanks Otto

[dead]

Re: Show HN: Awesome J2ME

#56
post #49

gopher://hoi.st has Pocket Gopher, a J2ME gopher client. Also, you can head to gopher://magical.fish, gopher://hngopher.com and gopher://sdf.org to get 'modern' services and news.

Thanks. I have added the Github repo of it on Awesome J2ME, as Gopher links are not allowed by linter.

Re: Show HN: Awesome J2ME

#57
post #44
post #36

Earlier quoted context omitted.

How limited? We packed booleans inside integers instead of allocating separate booleans :P

That's just good old fashioned hacking. Wasn't this more a reflection of the various platforms' limited memory resources, and not really anything to do with J2ME?

J2ME had much more trouble. Basically on every OS and variations of those for different phones your app could behave differently or not run at all.

Re: Show HN: Awesome J2ME

#58
post #42

I did J2ME development in the 64KB JAR era. I can still remember setting up palette swapping (inspired by retro consoles, but still a common contemporary idea e.g. on GBA) by loading the byte data of PNG resources into an array and locating and replacing the PLTE chunk before handing it off to the MIDP image loader. Always wondered if anyone else had picked up the trick. I can also remember people suggesting on Nokia…

Mr. zahlman, can you please share the source code of "palette swapping by loading the byte data of PNG resources into an array and replacing the PLTE chunk before handing it to the MIDP image loader"?

Re: Show HN: Awesome J2ME

#59
post #58
post #42

I did J2ME development in the 64KB JAR era. I can still remember setting up palette swapping (inspired by retro consoles, but still a common contemporary idea e.g. on GBA) by loading the byte data of PNG resources into an array and locating and replacing the PLTE chunk before handing it off to the MIDP image loader. Always wondered if anyone else had picked up the trick. I can also remember people suggesting on Nokia…

Mr. zahlman, can you please share the source code of "palette swapping by loading the byte data of PNG resources into an array and replacing the PLTE chunk before handing it to the MIDP image loader"?

It's been about 20 years and I don't know if I could even find it, nor have the legal right to disclose it. Regardless, this sort of thing is pretty trivial to figure out if you're already familiar with MIDP (and have access to the documentation) and understand the PNG specification (https://www.libpng.org/pub/png/spec/1.2/PNG-Contents.html). The hard part is having the idea in the first place.
Post reply on HN