Hi folks,
  I am developing an application which exactly simulates the default security 
application.
  I have registered for WakeupNotification. But When security application is 
unabled, it always gets activated first and then my App gets the notification. 
I am using Wakeup notification as I need to display the form asking for 
password. As I am not able to display the form in the notification events, I 
use Custom launch code and relaunch my application, so that I can display my 
form, I need to do this as According to the docs, UI can not be displayed when 
the application is activated through Notification.
  Also..When Default security application is not active, then obviously my 
application gets the wakeup notification.
  But one interesting behavior(on simulator): When you unable security app and 
the device is turned On then Security app's password form appears at that time 
if you soft reset the simulator then again the security app's password form 
appears. BUT in my application (After disabling security app) when the device 
is turned ON, my app's password form appears and at that time when I soft reset 
the simulator, then my simulator resets but then My application doesn't get any 
notification and the launcher is launched. 
  This means, The security app may have rigistered for some other notification. 
One Interesting thing I can show you... and I am not getting what is happening.

The following statistics is when the security app is unabled

//The following events occure just before the device goes to sleep
NO.      Time    Event   Description
212     177.574 keyDown chr=0x114 (''), keyCode=0x1, modifiers=0x8
213     177.586 keyDown chr=0x112 (''), keyCode=0x1, modifiers=0x8
214     177.596 keyDown chr=0x129 (')'), keyCode=0x0, modifiers=0x8
215     177.605 appStop 
216     177.723 sysWinEnter  enterWindow=0xF02E80, exitWindow=0x0
217     177.724 keyDown chr=0x11E (''), keyCode=0x0, modifiers=0x8


//The follwing Events occure when the device is Turned ON and Security app's 
form is displayed
NO.     Time     Event   Discription
218     205.499 16386
219     205.502 keyDown chr=0x12A ('*'), keyCode=0x0, modifiers=0x8
220     205.511 keyDown chr=0x120 (' '), keyCode=0x0, modifiers=0x8
221     205.541 keyDown chr=0x208(''),keyCode=0x208,modifiers=0x90C
222     205.567 keyDown chr=0x1618 (''), keyCode=0x0, modifiers=0x8
223     205.577         nil     
224     206.001         nil     
  
Can someone explain me, what notification is security application responding to 
?

Also, If you have some System level knowledge regarding this then also be kind 
enough to Highlight it.


Your support is much appreciated.

Thanks & Regards,
Mehul

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to