Hi all.
I am quite new designing application for mobile using J2ME.
I am currently trying to make a midlet run on a nokia 9500.
Note that this midlet performs some http connection
and also holds a server socket connection to be able to
receive notification.
This works fine while running using the Java Sun Wireless toolkit.
However, i have trouble to make it work properly.
I already solved a problem linked to the read of the input
stream once a connection is received by my server socket
connection. This works fine for a while and then, without
any specific operation, the application hangs. I can still move
the cursor and select commands but nothing happens.
Does anybody could help me to find the solution to that,
maybe just by telling me if it is possible to dump
the thread stack somehow.
Note also that i follow the recommendation to perform
network connection in separate threads.
Thanks in advance for any help.

Reply With Quote


