Hi, my application currently uses ExgRegisterDatatype() function to register to receive files of a certain extension (.jpg) and ExgSetDefaultApplication() to make it the default application to receive that file type. The problem is there are other applications that changes the "default application" (to themselves) when they are started. So, my question is, is there a way to prevent other applications from overriding the "default applcation"? If not, is there anyway to know when a change of "default application happens?

I will really appreciate it if someone can help, cos this problem is affecting the usage of my application. Thanks

York Kie


From: "Igor Nesterov" <[EMAIL PROTECTED]>
Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Subject: Re: sysNotifyLateWakeupEvent questions.
Date: Fri, 21 Nov 2003 12:08:11 +0300

> (1) So far, I'm using sysNotifyLateWakeUpEvent and it's working only when
> the power button is pressed to turn on the device. If a hard button is
> pressed, eg. the To Do button, my program gets triggered but when it tries
> to display an alert, it doesn't show up on the screen. Looks like the OS
> completely ignores the alert while it's launching the To Do app. How can I
> overcome this? Will sending a deferred notification to my own app help?


    When you wake up with hard key, you have vchrHard? key in event queue.
Modal event loop inside FrmAlert process this key and run application. You
can flush queue (be aware, the can be vchrResetAutoOff for OS5) or change
alert form to attention manager notification.

> (2) I have an user using the NX80 that says that when his device is off,
he
> gets a beep every 5 minutes and when he turns it on, there are a few alert
> boxes already open. I suspect that there might be an alarm application
that
> is powering up the system every 5 minutes. The question is, how do I check
> if the system is waking up because of an user action (eg. pressing a
button)
> or an alarm program?


Check keyMask and event queue.



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

_________________________________________________________________
Using a handphone prepaid card? Reload your credit online! http://www.msn.com.my/reloadredir/default.asp



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

Reply via email to