Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor tektronic's Avatar
    Join Date
    Jun 2003
    Posts
    84
    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 david.caabeiro's Avatar
    Join Date
    Apr 2005
    Location
    Barcelona
    Posts
    1,678
    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 tektronic's Avatar
    Join Date
    Jun 2003
    Posts
    84
    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 C++
    Replies: 3
    Last Post: 2009-03-02, 16:17
  2. Sort Applications list
    By microsoft2 in forum Symbian C++
    Replies: 2
    Last Post: 2006-12-16, 03:37
  3. GetAllApp() with RApaLsSession??
    By zhengyu97 in forum Symbian C++
    Replies: 1
    Last Post: 2005-05-16, 10:47
  4. Launching other applications
    By kaisub in forum Symbian C++
    Replies: 3
    Last Post: 2004-08-06, 18:18
  5. List of running threads
    By sigrem in forum Symbian C++
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved