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. ?...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| 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 |
![]() |
| Thread Tools | |
| Display Modes | |
| |
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 |