×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    53

    Application to application

    Hi,
    i've a question for you.Can anyone tell me how from an application i can open another application in the file system?
    Thank in advance.

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Posts
    196

    RE: Application to application

    Hi,

    If you know the application UID, you can launch it by calling to function CCoeAppUi::ActivateViewL(const TVwsViewId& aViewId);


    Best Regards,
    Ari / Forum Nokia

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    5

    RE: Application to application

    Hello
    i use tis code i found on symbian mailing list :
    TFileName appName=_L("Z:\\system\\apps\\web\\WEB.APP"
    CApaCommandLine* cmdLine=CApaCommandLine::NewLC();
    cmdLine->SetLibraryNameL(appName);
    cmdLine->SetCommandL(EApaCommandRun);
    RApaLsSession ls;

    User::LeaveIfError(ls.Connect());
    CleanupClosePushL(ls);
    User::LeaveIfError(ls.StartApp(*cmdLine));
    CleanupStack::PopAndDestroy(2); // ls and cmdLine

  4. #4
    Registered User
    Join Date
    Apr 2003
    Posts
    13

    Error

    Hii

    I m using same code but its give me a error
    E32USER-CBase 71

    pls tell me some other way

    Regards

    Vyom

  5. #5
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,168
    Hi Vyom

    Check again your code, it is propably not the same as with this example above, it's propably the one which I wrote about a month ago, where indeed I forgot to add the last line to pop stuff out from cleanupstack.

    yucca

  6. #6
    Registered User
    Join Date
    Apr 2003
    Posts
    13

    I did it

    Dear Yacca

    Thanks a ton for ur replies......

    but problem still is there.......i apply same things including CleanupStack::PopAndDestroy(2) line.....

    but still problem is there......

    pls check it out again....

    Regards

    Vyom

  7. #7
    Regular Contributor
    Join Date
    Nov 2005
    Location
    India
    Posts
    101

    Re: Application to application

    I was trying to run one app from another from a long time
    This code really did the trick for series60 emuletor.
    phoneynk
    vaish_ankur@yahoo.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×