Remix.run Logo
▲ grishka 2 hours ago

I'm glad that we still have 2G networks in my country with no plans to shut them down. So you put a sim card into an old phone and it just works.

However, there's another issue I ran into with J2ME. In the name of "security", an app can't connect to TCP ports 80 and 443 without having been signed with a trusted certificate that you can't get any more. So if you want to implement modern TLS, you're out of luck. The only way to bypass this seems to be to patch the phone's firmware to add your own CA or remove the check entirely. Which is a real shame, since I figured out how to compile J2ME apps with a modern JDK.