Discussion Board
-
launch wap browser with a specific url.. 7650
2002-09-10, 13:36
#1
Regular Contributor
hi,
i am unable to start the wap browser in the 7650 with a specific url.. heres the code... how do i get it to launch a url?
TFileName appName = _L("z:\\System\\Apps\\wmlbrowser\\wmlbrowser.app"
;
CApaCommandLine* cmdLine=CApaCommandLine::NewLC();
cmdLine->SetLibraryNameL(appName);
cmdLine->SetDocumentNameL(_L("uk.pricerunner.com"
);
cmdLine->SetCommandL(EApaCommandOpen);
RApaLsSession ls;
User::LeaveIfError(ls.Connect());
CleanupClosePushL(ls);
User::LeaveIfError(ls.StartApp(*cmdLine));
CleanupStack::PopAndDestroy(2); // ls and cmdLine
thanks,
ash
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules