pabluk's blog... IPv6 ready!
Another Counter… and J2ME
Just to try Java Wireless Toolkit, also know as J2ME, on my Samsung C3050 mobile phone I wrote a silly and simple application called Another Counter, wich as its name says is used to count things, like a tally counter, then you can count people, events, measure traffic, etc.
A version of the toolkit for Linux can be downloaded from here, it includes build tools, utilities, examples, and a device emulator. With some knowledge of Java programming and reading the API is easy to write small applications like this.
To install and run the application on the phone you have to download these files: AnotherCounter.jad and AnotherCounter.jar.
The source code is licensed under GPL and hosted on GitHub.




Hi! this is my personal web site and weblog about my projects, news related to free and open source software, internet and sometimes about real life ;)
about 2 years ago
thanks for the interesting information
about 7 months ago
This is yet another J2ME program that works great without ANY non-Free software, including Sun’s infamous WTK. The Java language has been Free’d as of 2007, but a lot of Sun specific stuff is still problematic. For instance, there are restrictions on what you can do with software made with Sun’s WTK that are not the case with the GNU GPL. I use Microemulator for the MIDP/CLDC libraries, and Proguard for preverification/obfuscation. My IDE of choice is Eclipse (Indigo and Juno) I have run into issues of things not compilning, but nothing that I care about so far and Pablo Seminario’s things are not only elegant and tiny, but give me no problems to compile. Another Counter? It’s the first counter I’ve seen for J2ME and to my mind, the best one too.
about 7 months ago
Oddly enough, though it works when deployed on my phone, the Microemulator has the right soft key mapped to Subtract, not add as it should be. Not much incentive to look into this, because it does in fact work flawlessly on the phone.
I forgot to mention that another disadvantage of the WTK is that you have to get an Oracle account to even be allowed to download the thing!