Scott Erickson wrote:
Where can I find info on how to programaticly send an SMS message with the Treo650?
HelperNotifyEventType param; HelperNotifyExecuteType execute; SysNotifyParamType notifyParam; Err err = errNone; MemSet(¶m, sizeof(HelperNotifyEventType), 0); param.version = kHelperNotifyCurrentVersion; param.actionCode = kHelperNotifyActionCodeExecute; execute.helperAppID = 0; // Setting the helperAppID to 0 means // "use default helper" execute.serviceClassID = kHelperServiceClassIDSMS; // If you want the New SMS screen to be prefilled with a phone number // or email address, then set execute.dataP to the string (Char*) // representing the phone number or email address. If you do not // want the New SMS screen to be prefilled with a number, set // execute.dataP to NULL execute.dataP = "213-45-74"; execute.displayedName = NULL; execute.detailsP = NULL; param.data.executeP = &execute; MemSet (¬ifyParam, sizeof(SysNotifyParamType), 0); notifyParam.broadcaster = CREATORID;//your app creator ID notifyParam.notifyType = sysNotifyHelperEvent; notifyParam.notifyDetailsP = ¶m; err = SysNotifyBroadcast(¬ifyParam); -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
