Hi Sriram.

I don't have a good answer for you, unfortunately, but I can tell you how I've done it. In my app, I'm looking for incoming/outgoing messages of all types: sms/mms/e-mail. Right now I register for app-launching events, and watch for an appropriate app being launched. Then I register for event notifications. Sometimes you can find an event sent that may be relevant. Sometimes I just have to watch for form closing events. When I get an "interesting" event, I go through the appropriate databases on the device, which I had to reverse engineer, and see if there are any new messages.

It's an ugly solution, but it mostly works for the limited set of devices I'm trying to target (Treo 600, 650, 700p). Anyone have any better ideas? I need to get a message size and a timestamp on all incoming and outgoing messages.

Thanks,
Gary

V. Sriram wrote:
hi,
i am writing an application for Treo650. i need to get the sender (recipient) number through my app from the outgoing SMS(SMS being composed in "Messaging"). in HsPhoneEvent.h, only phnEvtMessageStat event is relevant to outgoing SMS. but this event is NOT broadcast to all. it is sent only to the code that is sending the SMS. please give me a solution to this.
thanx in advance,
Sriram

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

Reply via email to