IT Community - Software Programming, Web Development and Technical Support

When running my MIDlet, a security alert is displayed and cannot be dismissed. ?

This is a discussion on When running my MIDlet, a security alert is displayed and cannot be dismissed. ? within the Mobile Software Development forums, part of the Software Development category; When running my MIDlet, a security alert is displayed and cannot be dismissed. ?...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > Mobile Software Development

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-25-2007, 11:18 PM
mobilegeek mobilegeek is offline
D-Web Analyst
 
Join Date: Jun 2007
Posts: 205
mobilegeek is on a distinguished road
Question When running my MIDlet, a security alert is displayed and cannot be dismissed. ?

When running my MIDlet, a security alert is displayed and cannot be dismissed. ?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-25-2007, 11:19 PM
oxygen oxygen is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 633
oxygen is on a distinguished road
Default Re: When running my MIDlet, a security alert is displayed and cannot be dismissed. ?

You are probably trying to access a protected API (for example, opening a connection) from your commandAction() method, which is locking the UI thread. Access to protected APIs should be done from a separate thread. Refer to the Network Demo for an example on how this can be done. The solution outlined here is just an example and that other solutions are possible
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Count down from 15 seconds and then display an alert message itbarota HTML, CSS and Javascript Coding Techniques 2 02-29-2008 01:15 AM
Alert after five seconds itbarota HTML, CSS and Javascript Coding Techniques 1 02-28-2008 04:23 AM
How to bold a text in alert or confirm alert box? $enthil HTML, CSS and Javascript Coding Techniques 7 10-26-2007 06:24 AM
page can not be displayed vijayanand PHP Programming 1 09-04-2007 04:33 AM
How do I use JDWPI to debug a MIDlet running in the Wireless Toolkit's emulator? mobilegeek Mobile Software Development 1 07-23-2007 10:43 PM


All times are GMT -7. The time now is 02:31 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0