Sun maintained closed source test suites called TCKs (Technology Compatibility Kit) for their desktop (j2se), server (j2ee), and mobile (j2me) versions of Java. If you wanted to ship a JVM on your device you had to get a license from them and pass those tests. j2me TCK was very incomplete and very forgiving compared to the desktop one. Was it by accident or by design, I'm not sure, but Sun really wanted more phone vendors to ship Java on their phones, so making the test suite easier to pass would be in their interests. As a result many Java apps wouldn't run on different devices out of the box, and if you had a popular mobile app like Opera Mini you would have to adjust to new JVMs appearing in a wild all the time.
And now us Android developers get to experience that same joy. Thanks Google!
Edit: fixed the slogan
[deleted]
I used to get by with 100 MB a week package for Opera Mini traffic only, and even though the latter phone has HSDPA, I rarely turned it on because it was such a battery hog. My country still supports 2G, but I probably won't have the patience anymore to wait for anything to load, even with Opera Mini's impressive compression.
Weirdly enough, those ancient potatoes have a system-wide clipboard, eg I can copy from an EPUB read through Albite, a J2ME app, then paste it in the native text messaging app or Opera Mini to search, which apparently is some forbidden dark magic in KaiOS.
I was developing small utilities for myself, like realtime class schedule display on the main screen, quick access to a flashlight via double press and few others.
Development was quite tricky, as there was no documentation for the exported OS functions and you had to rely on semi-legal IAR IDE copy. Testing consisted of swapping out the memory card, launching elf and printing to a file for debug output.
100 MB used to get me through a whole month and then some! Opera Mini was magic.
I got like 3 KB/s, it was awful! That's how I learned that the web is mostly text (the parts I actually care about), but the text won't load because the web is full of crap.
So then I figured out that I can just browse the web via w3m (terminal based browser, like lynx) over Mosh. Works great.
I also learned that most of what I watch on YouTube, I'm actually just listening to it, and that audio uses way less bandwidth than video. So basically I put YouTube on my mp3 player, haha
Met a few people from poor countries on irc who are still at the coding stage. Not sure if jealousy is the word but it seems coding was a better use of my time.
I came up with some solutions for that.
Tldr just turn the router (and my phone) off before bed, and keep it off for at least an hour in the morning. I tend to get more real work done during that time than the rest of the day combined. So I usually keep it off for a few hours extra, because getting stuff done feels good.
> Getting sidetracked by absolute nonsense -- roughly 100% of which comes in thru the internet. The “actual problem” is “task switching”, of course (alt-tabbing), but I found this impulse miraculously dissolved when I unplugged the wifi router... and removed my phone. Can’t be tempted by what ain’t there!
I ran Mosh and I connected to a public Unix server and read everything text-based there, altough Gopher and IRC worked just fine without remote login and from Bitlbee I could chat with my XMPP and Telegram accounts.
A decade or 2 too late for me :(
It's in some drawer at home and maybe it still works, if I still have its charger around. I googled a bit and it seems that I could install something called Gnubox [1] on the N70 and connect it over Bluetooth Serial Port to a Linux computer. That Linux box will forward packets to the N70. Maybe I'll give it a try but what could I do with it? Maybe a remote for some service at home, any ideas?
You could try hosting a website from there.
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.
In 2017 I was thinking about this issue because my final project for my college course used a 2G modem from aliexpress because it was 10x cheaper than a 3G modem at the time.
Are non-smart LTE phones even a thing?
edit: almost forgot, one of the carriers changed its display name to include "5G". So you get to see "MTS 5G GPRS" if the signal is shitty enough. "MTS 5G" displayed on something like a Nokia 3310 must also be quite amusing.
Yes, sort of. My little Nokia 105 has 4G and VoLTE.
That's clever, in the US this took some shady deal between Apple and AT&T to make them display 4G+ coverage as "5G E" on iPhones (which I personally interpret as "5G but really EDGE").
> Are non-smart LTE phones even a thing?
Yes, by necessity, since more and more countries are now shutting down everything below LTE, and there will probably always be some demand for non-smart phones, and not just due to pricing: Ease of use, being able to bring them to "no camera allowed" areas etc.
https://felix.plesoianu.ro/mobile/pocket-gopher/
Also, with a J2ME IRC client you can connect to im.codemonkey.be:6667 (Public https://bitlbee.org server) and using modern services such as Mastodon and Jabber (and some of the public Biltbee servers -bridges- support Steam, Telegram and Discord).
I wish we could wait 55 (80?) more years for the games to be in the common domain.
The best games to try if you can find them and an emulator that works is Ancient Empires 2 and Zoy's Rescue Missions!
I have started on my own JVM borrowing heavily from github to get me started: http://move.rupy.se/file/jvm.zip (also insecure and contains a exe so spicy, probably should not share like this? will update this as I go along, I'm starting on stack frames today)
So maybe one day in 55 (80?) years we can play games with 100% code that is unbloated and legally share the whole bundle combining game jars with these lite and jvm zips? Archeology will tell!
Wow, I wish I'd known this back in the day! This could have saved me a lot of pocket money...
Postmarket is the right direction, but I feel doesnt target old Blackberrys and Sony Ericsons
I'd actually be surprised if it were meaningfully harder to do on iOS than it is on Android.
If you don't want the hassle of setting up PAN or PPP over Bluetooth on your PC and you have an ESP32 with Bluetooth Classic, there are projects that let you flash it with firmware that turns it into a Bluetooth bridge for PAN or PPP, such as Satura Bridge (Bluetooth PAN) or Vetera Bridge (Bluetooth PPP).
- Gnubox: https://web.archive.org/web/20080125044214/http://gnubox.dns...
- Satura Bridge: https://github.com/sigildeveloper/satura-bridge
- Vetera Bridge: https://github.com/arifwn/vetera-bridge
Originally, I suppose a smartphone was a PDA with a clearly discernible application processor and a bolted-on, separate baseband running some real-time OS for telephony and mobile data, and a feature phone was anything running both baseband and userspace tasks on the same CPU and importantly in the same operating system context.
But later Symbian was explicitly capable of running both on the same hardware (they essentially rewrote the old EPOC kernel to be real-time capable for that, as far as I understand), and conversely some of the later J2ME versions and extensions essentially provide a very similar developer and user experience to a smartphone.
I'm pretty sure I had a Sony Ericsson capable of running simultaneous J2ME applications in the background, for example, so I could have an XMPP client running in the background while playing a game and it would still receive messages.
The whole "what is a smartphone vs feature phone" distinction really stopped making sense when the original iPhone was called a smartphone despite not even having apps, no multitasking, no copy paste, no streaming radio, no push email etc etc etc and yet a "feature phone" Sony Ericsson had all that. Heck the Sony Ericsson phones even had a rudimentary video editor where you cut cut clips and add titles.
This was practically a pretty smooth transition anyway. WAP 1.0 was its own distinct thing (with a gateway translating a separate XML format into a binary representation for efficiency), but WAP 2.0 is effectively just a limited profile of XHTML, parsed and interpreted directly on device.
Eventually, mobile browsers then just got forgiving HTML parsers once that was possible from a complexity point of view. (Nokia's browser was already based on WebKit more than a year before the original iPhone was released!)
I had fun learning to write J2ME apps for them at school.
Fun fact: these Java phones used the KVM (https://en.wikipedia.org/wiki/K_virtual_machine)
Of course Android is technically much more of a Java phone than these old phones ever were. It supports most of the java standard library and lots of Android specific stuff. And it kept up with Java versions. It does compile the Java to native though, so there's no JVM running. And these days there are also flutter, native, and other applications running on the phone.
Android knocked the main premise from under J2ME that there was a need for a limited mobile only jvm away as it basically just shipped support for most of the standard library. It did that via the Harmony project that originated in IBM. This allowed Google to dodge the classpath exception in the GPL which is an exception that Sun added to the GPL that allowed dynamic linking on desktop but not on mobile. Thus requiring an expensive commercial license from what was then still Sun for shipping J2ME functionality. That's the basis for what later became the big copyright dispute between Oracle and Google. Harmony was effectively a clean room implementation of the standard library with an Apache 2.0 license.
Android killed J2ME because it was a proper Java phone with more favorable licensing. Google basically just gave it away to OEMs initially. So, that killed the whole market for Symbian and other proprietary systems. Nokia later open sourcing that did not really stop developers and users leaving. And Nokia abandoning J2ME in favor of native application SDKs did not really help. C++ just wasn't a great fit for mobile developers. Symbian development was notoriously hard. And Nokia stubbornly avoided touching Android until it was about to be gobbled up by MS. An actual Nokia Android phone shipped just before that happened. MS promptly killed that of course. By then windows phone was supposed to save everything, which was another doomed attempt at avoiding Java on mobile. Because MS had a big thing against anything Java.
Nokia's own Linux based OSes (there were several) actually were closely related to Android but Nokia made a point of never bundling J2ME or a proper JDK. Android and Meego shared what was basically the same kernel and Nokia laid a lot of the ground work for Android to run at all. Early Android versions were tested on N800s even because you could just boot that into something else than Maemo (before the Meego rename). You could actually run Java on Maemo pretty easily. I did that for a research project. I was running Tomcat and a few other things on these things. All it took was an apt-get install.
But yeah, this terminology too falls apart when you consider e.g. Symbian/S60, which supports two (almost) equal application software platforms.
Actually, the Classpath exception was introduced by GNU Classpath, another alternative Java classlib similar to Harmony.
Re: Nokia and Symbian. Symbian S60 was just bad. I went from a Sony Ericsson K850 to a N70, and it was actually worse at multitasking. The J2ME apps on the SE were actually more efficient than the C++ apps on Symbian.
As big of a mistake as removing Applets, first from browsers and now from the JDK and lately even removing the sandbox that it used; the only true way to securely run foreign software with performance on your computer!
American phones did not get these luxuries, sadly. If you got Bluetooth on your phone, you maybe got the headset profile, and if you were lucky, you could send pictures between friends that way, but carrier profits be damned if they wanted to let you access the mobile Internet outside of their profitable walled mobile garden.
Many dumb handsets over here in the States ended up with various Bluetooth profiles locked out and it wasn't uncommon to see BT DUN disabled because they really, really didn't want you to tether your phone and wanted that sweet, sweet mobile broadband plan money.
Hell, even trying to sideload content was nearly impossible on a lot of our handsets because they REALLY wanted you to pay $3.99 for a 30 second Justin Timberlake ringtone on the MEdia Net.
My Indonesian provider used to offer ridiculously cheap package fully knowing it would barely add any load to their network.
For some unknown reason Internet-over-bluetooth was hidden from the UI even on many unlocked devices, only Symbian v2 or v3 devices had the option readily available.
We tried building a gsm "bridge" network for any device in a few centimeters in radius using the GPIO pins from a raspberry pi acting as a SDR, but at the time we couldn't get it to work at all.
It looks and feels basically identical to the ones from early 2000s (complete with awful LCD screen, didn't know they still make them like that!)
You can hardly tell the difference except, at startup, the startup jingle stutters. So I wonder if they're running some kind of emulation.
HMD has made a deal with Nokia for branding.
Sound or video? Because the video stuttering would be accurate, actually. Especially if you had hundreds of SMSes, it would take time to process them at boot time, for some reason.
My brother and I used to use the self-timer function on the camera, take them onto the trampoline we had, and then hurl them up into the air as hard as we could on a big bounce to try and capture "satellite imagery" of our family home. Surprisingly, they never broke.
And the price gouging was ridiculous. They wanted you to pay for ringtones, they wanted you to pay for every single message. Phones were locked to specific networks, it was just suffering.
Even back then if you bought a phone outright without subsidy with the stock firmware and just stuck your SIM card into it, it let you do anything, Sony Ericsson phones let you use any MP3/AMR/MIDI as a ringtone.
You could Bluetooth MP3 files from a Sony Ericsson Walkman phone to another to share music. The iPhone killed that.
it made many sites accessible.
I had great MP3 players, Phones, Routers, just so much good stuff wen to the bin because the "vendor" stopped supporting.
I like it, but this is better.
>Manufacturers should be required to opensource firmware
As a start, I'd also be fine with not being liable to be sentenced to 5 years in prison for "circumvent a technological measure" if I try to do it myself.
Ironically under Microsoft ownership they have more proper J2ME support, the unassuming Nokia 222 and Nokia 230 in 2015 (the model number is reused in 2024 but have no J2ME)
[dead]
[dead]