how launching a j2me application from C++ in Nokia 3250 thinks.
my code,but nothing happen except error infomation
please help me launching a j2me application from C++ thinksCApaCommandLine* cmdLine=CApaCommandLine::NewLC();
cmdLine->SetExecutableNameL(_L("z:\\system\\programs\\midp2.exe"));
cmdLine->SetDocumentNameL(_L("C:\\p3figure.jar -msid2 -msin1 -mid1"));
cmdLine->SetCommandL(EApaCommandRun);
RApaLsSession ls;
TThreadId id;
TInt err = ls.Connect();
if(err == KErrNone)
ls.StartApp(*cmdLine,id);
CleanupStack::PopAndDestroy(2);

Reply With Quote

