×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Jun 2003
    Posts
    84

    RApaLsSession and applications list

    Hi,

    I am using RApaLsSession::GetAllApps() to fetch and show in a list the applications list present on device. The list is shown to user so he can select and start one.
    However, the list contains some undesired applications: eg:
    ServiceManagerServer,CatLauncher_Download,Text msg. appears twice (2 different uids), some apps have the caption empty, etc.
    These undesired applications are not present in the normal applications Menu/view where the user usually scrolls and start them.
    I would like that list contain only that apps the user can see in device only as in the normal usage. Is any trick to do this other than check each uid and exclude it from list when I fetch and show it ?

    To start an app using its uid I am using :
    TFileName aFileDoc = _L("doc");
    TThreadId aThId;
    if(aLsSession.CreateDocument(aFileDoc,aTaskUid,aThId) == KErrNone)
    aStarted = ETrue;
    where aFileDoc is a dump file.
    Is any clever method to do this ?
    I am working on 3rd.

    Thank you.
    tek

  2. #2
    Registered User
    Join Date
    Apr 2005
    Location
    Barcelona
    Posts
    1,678

    Re: RApaLsSession and applications list

    I'd sugges you download Taskspy (see my homepage) and see the code and criteria I used to display the app list.

  3. #3
    Regular Contributor
    Join Date
    Jun 2003
    Posts
    84

    Re: RApaLsSession and applications list

    Hi PushL

    Saw the code. Thank you.
    Seems the solution you used is a good one

    Ive looked here with your permission:
    ..


    TApaAppCapabilityBuf capability;
    User::LeaveIfError(iApaLs.GetAppCapability(capability, appInfo.iUid));

    if (appInfo.iCaption.Length() > 0 && spaceChar < appInfo.iCaption.Length() && (!capability().iAppIsHidden || iSettings.iShowHiddenApps))
    {
    ..

    Regards,
    tek

Similar Threads

  1. !!problems about RApaLsSession
    By weiqiming in forum Symbian
    Replies: 3
    Last Post: 2009-03-02, 16:17
  2. Sort Applications list
    By microsoft2 in forum Symbian
    Replies: 2
    Last Post: 2006-12-16, 03:37
  3. GetAllApp() with RApaLsSession??
    By zhengyu97 in forum Symbian
    Replies: 1
    Last Post: 2005-05-16, 10:47
  4. Launching other applications
    By kaisub in forum Symbian
    Replies: 3
    Last Post: 2004-08-06, 18:18
  5. List of running threads
    By sigrem in forum Symbian
    Replies: 1
    Last Post: 2004-06-08, 16:24

Posting Permissions

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