Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User HellStranger's Avatar
    Join Date
    Oct 2011
    Posts
    93
    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
    Nokia Developer Moderator gnuton's Avatar
    Join Date
    Mar 2009
    Posts
    1,024
    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 HellStranger's Avatar
    Join Date
    Oct 2011
    Posts
    93
    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 vineet.jain's Avatar
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    3,835
    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
    Do Remember to Search for your query on Google/Forum Wiki& DiBo , it really saves your time & You get your queries answered(in most of the cases) before posting them on Dibo itself. :)

  5. #5
    Registered User HellStranger's Avatar
    Join Date
    Oct 2011
    Posts
    93
    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 vineet.jain's Avatar
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    3,835
    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.
    Do Remember to Search for your query on Google/Forum Wiki& DiBo , it really saves your time & You get your queries answered(in most of the cases) before posting them on Dibo itself. :)

  7. #7
    Nokia Developer Expert vuorisalmi's Avatar
    Join Date
    Sep 2011
    Posts
    8
    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 C++
    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. How to add miss call icon or miss call dialog in home screen
    By nguyentruong0212 in forum Symbian C++
    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
  •  
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