Hi All,
how can i retrieve specific midlet uid from c++ code and launch that midlet? Please help me ASAP...
Thanx...
Hi All,
how can i retrieve specific midlet uid from c++ code and launch that midlet? Please help me ASAP...
Thanx...
Search for launch midlet in the Wiki. ASAP of course.
Thanx 4 reply wizard_hu....
I used following code for launching midlet from my native c++ application, but it is not work properly .what is the problem in this code ....
Code:TApaAppInfo appInfo; TUid aAppUid; RApaLsSession apaLsSession; User::LeaveIfError(apaLsSession.Connect()); CleanupClosePushL(apaLsSession); User::LeaveIfError( apaLsSession.GetAllApps() ); while ( apaLsSession.GetNextApp( appInfo ) == KErrNone ) { if(appInfo.iFullName.Right(8).Compare(_L(".fakeapp")) == 0) { if(appInfo.iFullName.Compare(_L("<midlet-name>.fakeapp")) == 0) { aAppUid= appInfo.iUid; } } } TThreadId threadId; apaLsSession.StartDocument(_L(""),aAppUid, threadId); CleanupStack::PopAndDestroy(&apaLsSession);
Thanx 4 reply wizard_hu....
I used following code for launching midlet from my native c++ application, but it is not work properly .what is the problem in this code ....
Code:TApaAppInfo appInfo; TUid aAppUid; RApaLsSession apaLsSession; User::LeaveIfError(apaLsSession.Connect()); CleanupClosePushL(apaLsSession); User::LeaveIfError( apaLsSession.GetAllApps() ); while ( apaLsSession.GetNextApp( appInfo ) == KErrNone ) { if(appInfo.iFullName.Right(8).Compare(_L(".fakeapp")) == 0) { if(appInfo.iFullName.Compare(_L("<midlet-name>.fakeapp")) == 0) { aAppUid= appInfo.iUid; } } } TThreadId threadId; apaLsSession.StartDocument(_L(""),aAppUid, threadId); CleanupStack::PopAndDestroy(&apaLsSession);