aspose file tools*
The moose likes Java Micro Edition and the fly likes Warning:To avoid deadlock,networking,...perform in a different thread than commandAction() handler Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Warning:To avoid deadlock,networking,...perform in a different thread than commandAction() handler" Watch "Warning:To avoid deadlock,networking,...perform in a different thread than commandAction() handler" New topic
Author

Warning:To avoid deadlock,networking,...perform in a different thread than commandAction() handler

Chanakya Gupta
Ranch Hand

Joined: May 23, 2010
Posts: 36

Am a newbie to J2ME, why are we getting this warning and
the MIDlet is hanging at "Is it OK to use airtime?"

Can some one pl help,

commandAction() to run in separate thread ?
What does that mean ?


SCJP6, SCWCD5, SCMAD
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16305
    
  21

I can understand why an "OK to use airtime" dialog would pop up. A lot of service providers charge extra for digital services, and so the OS asks permission to protect the user against unexpected additions to the phone bill - especially since there are exploits that specifically try and make secret connections to expensive places.


Customer surveys are for companies who didn't pay proper attention to begin with.
Chanakya Gupta
Ranch Hand

Joined: May 23, 2010
Posts: 36

Thank you Tim for your time and answer !
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Warning:To avoid deadlock,networking,...perform in a different thread than commandAction() handler