×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    14

    Smile how to list installed applications in N900?

    Hello everyone,

    I have some problems:

    1/ How can I list all installed applications in N900 through my application? This mean I use my applications to browse through a list of installed apps on the phone?

    2/ Based on question 1, when I click on 1 application, what can I do to execute that application?

    3/ Can we download an app and force it to be installed in a specific location in the phone?

    Thank you.

  2. #2
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: how to list installed applications in N900?

    Quote Originally Posted by trandinhduy View Post
    1/ How can I list all installed applications in N900 through my application? This mean I use my applications to browse through a list of installed apps on the phone?
    It actually depends how one defines what is an application, but for example this script lists all packages visible in a task launcher menu.
    Code:
    #!/bin/sh
    for file in $(find /usr/share/applications/hildon/ -name "*.desktop"); do
       name=$(dpkg -S $file > sed "s/\(.\):.*/\1/")
       echo $name
    done
    Quote Originally Posted by trandinhduy View Post
    2/ Based on question 1, when I click on 1 application, what can I do to execute that application?
    You can learn executable name from desktop file from line Exec=/usr/bin/something

    Quote Originally Posted by trandinhduy View Post
    3/ Can we download an app and force it to be installed in a specific location in the phone?
    Sure you can download package and install it, if you have root priviledges, however, all packages are installed relatively to root directory.

  3. #3
    Registered User
    Join Date
    Mar 2009
    Posts
    14

    Re: how to list installed applications in N900?

    Thanks for your answer.

    However, maybe my question was unclear.

    I mean I am making an N900 application using Qt widget.

    In this application I want to show all the installed application in N900 phone and let users browse on this. Is there any API (hildon API or Qt API) can I use to do such a thing?

    Best regards.

  4. #4
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: how to list installed applications in N900?

    Quote Originally Posted by trandinhduy View Post
    However, maybe my question was unclear.
    No, it was crystal clear!

Similar Threads

  1. N900 not on selected mobile list N900 search problems
    By jimgilmour1 in forum [Closed] Publishing to Nokia Store
    Replies: 0
    Last Post: 2010-02-16, 09:30
  2. RApaLsSession and applications list
    By tektronic in forum Symbian
    Replies: 2
    Last Post: 2007-08-21, 22:47
  3. Replies: 0
    Last Post: 2006-02-08, 19:40
  4. 6610 Unable to open installed applications
    By vpdesai in forum Mobile Java General
    Replies: 2
    Last Post: 2005-05-14, 13:51
  5. Replies: 1
    Last Post: 2004-12-23, 21:14

Posting Permissions

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