IntelliJ Java IDE
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
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Reply 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
Greenhorn

Joined: May 23, 2010
Posts: 27

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: 12513

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.


One of the most odious afflictions that Business has inflicted on the modern English language is "pro-active". Most of the time it's simply redundantly used in place of the simple old word "active". And a good deal of the rest of the time it means "You're not overworked enough yet, so go out and find more!"
Chanakya Gupta
Greenhorn

Joined: May 23, 2010
Posts: 27

Thank you Tim for your time and answer !
 
 
subject: Warning:To avoid deadlock,networking,...perform in a different thread than commandAction() handler
 
Threads others viewed
j2me/ksoap error
How to invoke the MIDlet ?
Multithreading problems in J2ME
Problem in Connecting Application on J2ME WT Emulator with Servlet on Tomcat
Error "Blocking call performed in the event thread"
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture