05-17-2010 01:39 PM
Hi All,
I tried a simple midlet(using BB jde 4.7). It just invokes the blackberry sms client with populated to field and message. I am able to successfully invoke sms client and send sms. (I am invoking in a seperate thread). But when i hit escape/close the sms client, i get security exception. I tried debugging but no help. I tried in various emulators like storm 9530, bold 9700 and curve 8900. I compiled the app in blackberry jde 4.7. i tried clean.bat, no help. In my emulator, edit preference-->simultor-->general-->device security is disabled. I also changed all the settings in security to null. Still no help.
Any help on this is greatly appreciated.
Thanks.
05-20-2010 02:04 AM
Hi,
Someone can help me in this?
Thanks in advance
05-20-2010 04:15 AM
Hi,
I somehow understood why this security exception occurs. its because, when i hit escape from my midlet, it actually invokes the System.exit(0) method. Which will through the security exception. Is there anyway to handle to this event? I tried keylistener but it doesn't work. Is there anyother work around?
Thanks in advance
05-20-2010 11:35 PM
Hi,
Is it a bug in blackberry or is there any workarounds? Please throw some light on it.
Thanks in advance