File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java Micro Edition and the fly likes Error  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Error  "Blocking call performed in the event thread"" Watch "Error  "Blocking call performed in the event thread"" New topic
Author

Error "Blocking call performed in the event thread"

kalyen kumar
Ranch Hand

Joined: Sep 18, 2008
Posts: 53
Hi,

My j2me login application runs properly and logs me in when I run it in the emulator as follows

Run Project -> loginApp

But if I run the login application as follows

Run Project via OTA -> loginApp

then I get the following message after I click login

"Blocking call performed in the event thread"

Any idea what is the reason for this....?

Thanks in advance

kalyen kumar
Ranch Hand

Joined: Sep 18, 2008
Posts: 53
Its working for me now and the problem was,

The commandAction was simply calling the respective functions.
Instead, when I started a new thread for each case in commandAction and in that thread, called the respective function,
everything seems to be fine.



Thanks everybody for giving me this opportunity.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error "Blocking call performed in the event thread"