Skip to content

Motorola V3M slow startup.

Here is the interesting issue observed on the Motorola V3M. Application (in fact it’s VM) startup time deteriorates.
When midlet owns multiple RecordStores it’s startup time is painfully slow, in fact you don’t even see any message from the system that it is doing something, as the phone simply freezes. So far I found out that [...]

Proguard as alternative to precompiler

With all the variety of JSRs and their availability on different devices, porting of mobile applications ends up being quite a challenge. The traditional approach is to use precompiler, that is still one of the best options and in my mind is the last tool that I use. What I ended up using to turn [...]

A must tool for any J2ME (JavaME) developer

There comes a time in any mobile project of significant size, where no matter how careful you were, you missed something (or you over optimized) and you have memory leak.
WTK2.5 comes a long way to show the count of live objects in memory, but it does not allow to trace the references to see why [...]

Good article that provides breakdown of PIM

There is a new article that describes jsr 75 PIM package implementation.
Here is also some sample code that opens up the contacts loops through the list and extracts Name and phoneNumber from each record.
if (PhoneConstants.JSR75_INCLUDED) {
PIM pimInstance = PIM.getInstance();
ContactList list = (ContactList) pimInstance.openPIMList( PIM.CONTACT_LIST, PIM.READ_WRITE);
Enumeration contacts = list.items();
while (contacts.hasMoreElements()) {
Contact contact = (Contact) contacts.nextElement();
String name [...]

VM issues with Samsung A900

It looks like some VM bug where the inheritance of classes brakes.
I have 3 classes
class a { public void method1(){}}
class b extends a {public void method1{}}
class c extends b {public void method1{}}
As you can see each class overrides the implementation of method1.
During runtime it happens sometime that the object is instanceof c, though when method1 [...]