Skip to content

Category Archives: Development

Dark side of the Agile Fusion :)

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 [...]

Annual Minutes Disclosure — SCAM. Corporate owners be aware.

oh my!. I’m very agitated right now. I almost fall the victim of Annual Minutes Disclosure — SCAM.
I actually received three different letters asking me to fill out Annual Minutes Disclosure Statement and submit payments in the range of 125$ - 150$. They all have different addresses and all include the name of [...]

J2ME Optimizations

At the current phase of the project I’m into the optimization. We have a CSSHelper class that has all the possible css values set in the map that is statically initialized. So on RAZR it takes 50 seconds to just load the class into the memory, absolutely unacceptable.
So poking around the web I found this [...]

Ever experienced untraceable ArrayIndexOutofBoundsException on RAZR?

Recently spent some time tracing where the heck this Exception is comming from. I’ve put the try/catch on every thread.run() and still was not able to catch it.. bummer.
Well the problem is that we are using Canvas.callSerially() a lot, and i guess on RAZR there is some (undocumented) limit.
So starting a new Thread rather then [...]

Dependency on google, aka GMAIL down.

It all started when I was not able to open new mail that comes into my gmail account, which I use to consolidate all my email accounts. The error looked like this:

“oops… the system was unable to perform your operation(error code 766).
please try again in a few seconds.”
Now it is a Murphy’s law, that [...]

Windows reserves 20% of network bandwith.

Here is the description of the “Limit Reservable bandwith” on win xp pro.
Determines the percentage of connection bandwidth that the system can reserve. This value limits the combined bandwidth reservations of all programs running on the system.
By default, the Packet Scheduler limits the system to 20 percent of the bandwidth of a connection, but you [...]

Super Duper Great Maven plugin

I always loved the PMD plugin and the idea of detecting bad code at build time. So the guys at jutils provide the maven plugin lint4j that is able to detect whole bunch of potential problems in your code in regards of security and scalability:
Lint4j was created to help software developers detect defects and security [...]

Email Push for free

Here is the great blog post that describes the way to get your emails onto the mobile device without the need to pay for black berry server nor Good. The underlying idea is to use IDLE command in IMAP protocol. From you j2me email client one connects to IMAP server and get’s into the IDLE [...]

J2ME memory optimization tip. Multidimensional arrays.

Mobile phone is a resource constrained device, that imposes some challenges for application developers.
Quite often it is very convenient to use multidimensional arrays, though when doing so, we have to keep in mind that there is an overhead price to pay, that is, for every array object created, overhead == 16 bytes.
int array of size:0 [...]

String memory footprint on mobile (RAZR) and techniques to optimize it.

We are currently working on the application that will have to receive XML. There is a potential problem here, that it is not always known how big the payload will be. The problematic outcome is, it will simply blow the memory.
Here are the results of method that creates new string object of incremental size and [...]