I want to launch an application, then generate a series of pen taps. Launch works ok using:
LocalID theDBID; UInt16 theCardNo; DmSearchStateType theSearchState; // Grab the id of the application we want to launch (the memo pad) DmGetNextDatabaseByTypeCreator(true, &theSearchState, sysFileTApplication, 'QRTE', true, &theCardNo, &theDBID); // Launch the new app. SysAppLaunch(theCardNo, theDBID, 0, sysAppLaunchCmdNormalLaunch, NULL, &rtn); However, no luck on pen taps using: EventType evt; SysTaskDelay(SysTicksPerSecond()); evt.eType = penDownEvent; evt.penDown = true; evt.tapCount = 1; evt.screenX = 8; evt.screenY = 150; EvtAddEventToQueue(&evt); Also tried adding a penUpEvent using: evt.eType = penUpEvent; evt.penDown = false; evt.data.penUp.start.x = 8; evt.data.penUp.end.y = 150; evt.data.penUp.start.x = 8; evt.data.penUp.end.y = 150; EvtAddEventToQueue(&evt); Any ideas? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
