Installed the IBM Java VM with the Golf MIDlet sample, the following code
failed to launcher the MIDlet programmatically (returns a "Launch Error"):
UInt16 card_no = 0;
LocalID db_id = 0;
DmSearchStateType search_state;
Err err = DmGetNextDatabaseByTypeCreator(true, &search_state, 'JMid', 'j9pa',
true, &card_no, &db_id);
if (err == errNone) {
SysUIAppSwitch(card_no, db_id, sysAppLaunchCmdNormalLaunch, NULL);
}
Any help?
Thanks
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/