Shruti Wadhwa wrote: > Hi, > > 1. Is there any way, through which I can identify whether at this > particular time, the device is ON or OFF ? > I tried a lot but didn't find any solution to this query
if your program is running device is on for sure. when device is off everything sleeps so no program is running. maybe you want to check display if its on or off? or some other special state? > > 2. Also, is there any way to check the phone call event from event loop > (like we checks for keyDownEvent and other user event from Event > Pointer's data) rather than catching the notification for Phone event > you can wait for notifications and when they come call EvtAddEventToQueue and add some your custom event for it > Please do suggest me if anyone of you knows the ans to these questions. > > ------------------------------------------------------------------------ > Be a better Heartthrob. Get better relationship answers > <http://us.rd.yahoo.com/evt=48255/*http://answers.yahoo.com/dir/_ylc=X3oDMTI5MGx2aThyBF9TAzIxMTU1MDAzNTIEX3MDMzk2NTQ1MTAzBHNlYwNCQUJwaWxsYXJfTklfMzYwBHNsawNQcm9kdWN0X3F1ZXN0aW9uX3BhZ2U-?link=list&sid=396545433>from > someone who knows. > Yahoo! Answers - Check it out. -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
