×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Oct 2011
    Posts
    93

    MeeGo App Icon on Home screen.

    Hi!

    Can someone help me? I want to deploy a custom icon of my MeeGo app on the device Home screen. I have a png file with resolution 80x80. I have selected this file in the "Projects" tab in QtCreator in the dialog "Add Launcher Icon...". Then I have built a package and have deployed it on the device. But the device display a green circle on the device Home screen instead of my icon. But the device correctly display the my app icon for the App Manager. It is also a PNG file but his resolution is 64x64 pixels.

    What is the reason?

  2. #2
    Super Contributor
    Join Date
    Mar 2009
    Posts
    1,024

    Re: MeeGo App Icon on Home screen.

    Hi,
    Have you updated your desktop file?
    Your source code contains a file named application.desktop. Well that's file is the shortcut to your app.
    It shows the icon in the device home screen.

    If you want to display your icon, you have to update the Icon field as follow
    Icon=/usr/share/icons/hicolor/80x80/apps/myIcon.png

  3. #3
    Registered User
    Join Date
    Oct 2011
    Posts
    93

    Re: MeeGo App Icon on Home screen.

    Yes. But the desktop file name is MyAppName_harmattan.desktop. I have updated already Icon field in this file. But it hasn't effect.

  4. #4
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,089

    Re: MeeGo App Icon on Home screen.

    May be you need to mention the desktop file in the .pro file:

    # Desktop file

    desktop.files = MyAppName_harmattan.desktop
    desktop.path = /usr/share/applications
    INSTALLS += desktop

  5. #5
    Registered User
    Join Date
    Oct 2011
    Posts
    93

    Re: MeeGo App Icon on Home screen.

    This is snippet of my .pro file:

    Code:
    contains(MEEGO_EDITION,harmattan) {
        target.path = /usr/bin/roadregulations
    
        desktopfile.files = $${TARGET}_harmattan.desktop
        desktopfile.path = /usr/share/applications
    
        INSTALLS += target desktopfile
    }

  6. #6
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,089

    Re: MeeGo App Icon on Home screen.

    If possible then see if the icon you have changed is actually present at the specified path or not.You can download some file manager app for Meego.

  7. #7
    Nokia Developer Expert
    Join Date
    Sep 2011
    Posts
    8

    Re: MeeGo App Icon on Home screen.

    Quote Originally Posted by HellStranger View Post
    This is snippet of my .pro file:
    Are you sure your icon file is installed as part of the application? You should have a similar entry in the .pro file for the icon as you have for the .desktop file.

    As mentioned in an earlier post, the 80x80 icons should be installed into /usr/share/icons/hicolor/80x80/apps/.

Similar Threads

  1. Is MeeGo supports home screen widgets or not?
    By mabdelaal in forum Nokia N9
    Replies: 2
    Last Post: 2011-08-08, 14:34
  2. Displaying application icon on home screen
    By prashantchougule.cs in forum Symbian
    Replies: 1
    Last Post: 2011-01-04, 06:39
  3. Replies: 10
    Last Post: 2010-04-20, 07:51
  4. How can i set my application icon at phone home screen status bar
    By aamitgupta in forum Symbian User Interface
    Replies: 4
    Last Post: 2010-03-22, 09:37
  5. Replies: 3
    Last Post: 2009-07-09, 09:13

Posting Permissions

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