×

Discussion Board

Results 1 to 13 of 13
  1. #1
    Registered User
    Join Date
    Jan 2012
    Posts
    22

    Getting installed apps in a list with corresponding UIDs

    Hello,

    the title actually says what I want.
    Is there a method on how to do so with C++ ?

    I have already seen the other threads about it which are too complex for me.
    I need some basic about it.

    Thanks
    Last edited by pascal95abc; 2012-04-25 at 14:57.

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: Getting installed apps in a list with corresponding UIDs

    Hello pascal95abc

    I am not sure how you can do that in Qt but in symbian c++ you can try following this wiki article http://www.developer.nokia.com/Commu..._on_a_phone%3F and than you can integrate that with your Qt code.

    Cheers !!
    Gargi

  3. #3
    Registered User
    Join Date
    Jan 2012
    Posts
    22

    Re: Getting installed apps in a list with corresponding UIDs

    added f32file.h and apgcli.h already

    I get errors
    undefined reference to `RApaLsSession::RApaLsSession()'

    linking errors? how to solve?

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: Getting installed apps in a list with corresponding UIDs

    Basically make sure you also inluded all required librariy includes in your pro file

  5. #5
    Registered User
    Join Date
    Jan 2012
    Posts
    22

    Re: Getting installed apps in a list with corresponding UIDs

    Can you specify which to include?

  6. #6
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: Getting installed apps in a list with corresponding UIDs

    feel free to check the API docs for the API: http://library.developer.nokia.com/i...5544DE2BA.html

  7. #7
    Registered User
    Join Date
    Mar 2012
    Posts
    20

    Re: Getting installed apps in a list with corresponding UIDs

    Hi,
    Try adding the following header in your application cpp/.h file and the following libs in your pro file and check it out
    #include <apgcli.h>
    apgrfx.lib apparc.lib

  8. #8
    Registered User
    Join Date
    Jan 2012
    Posts
    22

    Re: Getting installed apps in a list with corresponding UIDs

    Same linking errors : undefined reference to `RApaLsSession::RApaLsSession()' and the others

  9. #9
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: Getting installed apps in a list with corresponding UIDs

    And how did you add the libraries ? you could also try cleaning the project and rebuilding it.

  10. #10
    Registered User
    Join Date
    Jan 2012
    Posts
    22

    Re: Getting installed apps in a list with corresponding UIDs

    I added them with LIBS+= in my pro file, was this wrong ?
    And thank you for your help, I really appreciate this

  11. #11
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: Getting installed apps in a list with corresponding UIDs

    Can you copy paste the actual lines writtent o your pro file ?

  12. #12
    Registered User
    Join Date
    Jan 2012
    Posts
    22

    Re: Getting installed apps in a list with corresponding UIDs

    LIBS += apgrfx.lib apparc.lib
    BTW:
    I just found the path to the files
    C:\QtSDK\Symbian\SDKs\Symbian1Qt473\epoc32\release\armv5\lib\
    Last edited by pascal95abc; 2012-04-29 at 21:29. Reason: added information

  13. #13
    Registered User
    Join Date
    Jan 2012
    Posts
    22

    Re: Getting installed apps in a list with corresponding UIDs

    I am so happy that it worked now!

    Here is how I have done it:
    - Don't change the pro file, Qt Creator offers possibilites to make these changes to your pro file automatically and properly!
    - right click on the project bold text on the left side called "projects"
    - click "add library" (now I know what it is for)
    - extern library
    - for me it was in QtSDK/Symbian/SDKs/Symbian1Qt473/epoc32/release/armv5/lib
    - and i needed these THREE files:
    apgrfx, apparc, efsrv
    - check symbian and finished

    For those interested here is the important part of the pro file:
    Code:
    symbian: LIBS += -lapgrfx
    symbian: LIBS += -lapparc
    symbian: LIBS += -lefsrv
    
    INCLUDEPATH += $$PWD/../../../../Symbian/SDKs/Symbian1Qt473/epoc32/release/armv5
    DEPENDPATH += $$PWD/../../../../Symbian/SDKs/Symbian1Qt473/epoc32/release/armv5

    Thanks and bye

Similar Threads

  1. Creating Installed Apps list
    By nikhil3298 in forum Symbian
    Replies: 7
    Last Post: 2011-11-10, 10:32
  2. Replies: 6
    Last Post: 2010-01-14, 16:41
  3. Replies: 15
    Last Post: 2009-01-19, 17:32
  4. Replies: 1
    Last Post: 2008-12-31, 07: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
  •  
×