This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I got this Midlet which sends a four digit numeric string to the server.
Works fine in the emulator.
I deployed it on two different Nokia handset models.
On one, it works fine, just like the emulator.
However, on the other, it gives me a HTTP connection error.
This is driving me crazy.
Is there any way to check out the stack trace on a real handset? All I am limited to is the exception.getMessage() which is of no use really.
Tim Holloway wrote:What a busy little bee you are today, Maneesh!
I haven't done this in a while, but I think I just dumped the stacktrace to a popup dialog myself.
Big question. How do I actually go about dumping the stack trace on the dialog?
Unfortunately the JME version of exception does not offer access to the stack trace elements and the toString() just returns the e.getMessage().