4 Replies Latest reply on Apr 4, 2008 10:05 PM by Vinshell

    How to change Application Icon?

    Vinshell
      Hi All,

      I have successfully made my test Adobe Air application with installer. It is in HTML and JavaScript. Now when i launch it then it has by default Adobe air Icon. I want to change it to different icon. Can you please suggest some idea about it. I have tried to do icon tag in xml file ,but it is not working.

      <icon>
      <image16x16>icons/Search_16.png</image16x16>
      <image32x32>icons/Search_32.png</image32x32>
      <image48x48>icons/Search_48.png</image48x48>
      <image128x128>icons/Search_128.png</image128x128>
      </icon>ss
      <fileTypes>
      <fileType>
      <name>Test Application</name>
      <icon>
      <image16x16>icons/Search_16.png</image16x16>
      <image32x32>icons/Search_32.png</image32x32>
      <image48x48>icons/Search_48.png</image48x48>
      <image128x128>icons/Search_128.png</image128x128>
      </icon>
      </fileType>
      </fileTypes>

      Thanks
        • 1. Re: How to change Application Icon?
          Oliver Goldman Adobe Employee
          Which part isn't working?

          Oliver Goldman | Adobe AIR Engineering

          • 2. Re: How to change Application Icon?
            Vinshell Level 1
            Hi Oliver,

            Thanks for the reply. Here i am posting my whole test XML file. And also I have icons folder and have stored all the 4 .png icon in that. I am not getting any error,but also not getting the Image icon at the left upper most corner of the application window. Still getting the Adobe icon. Can you please suggest something?

            <?xml version="1.0" encoding="UTF-8"?>
            <application xmlns=" http://ns.adobe.com/air/application/1.0">
            <id>MyTest</id>
            <version>1.0</version>
            <filename>MyTest</filename>
            <copyright>Copyright 2008, MyTest Co., Inc.</copyright>
            <initialWindow>
            <content>home.htm</content>
            <visible>true</visible>
            <width>500</width>
            <height>500</height>
            </initialWindow>
            <icon>
            <image16x16>icons/Search_16.png</image16x16>
            <image32x32>icons/Search_32.png</image32x32>
            <image48x48>icons/Search_48.png</image48x48>
            <image128x128>icons/Search_128.png</image128x128>
            </icon>
            <fileTypes>
            <fileType>
            <name>MyTest</name>
            <icon>
            <image16x16>icons/Search_16.png</image16x16>
            <image32x32>icons/Search_32.png</image32x32>
            <image48x48>icons/Search_48.png</image48x48>
            <image128x128>icons/Search_128.png</image128x128>
            </icon>
            </fileType>
            </fileTypes>
            </application>


            Thanks again.
            • 3. Re: How to change Application Icon?
              Oliver Goldman Adobe Employee
              Have you installed the application, or are you running from the debugger/adl? Application icons are only applied to installed applications.

              Oliver Goldman | Adobe AIR Engineering

              • 4. Re: How to change Application Icon?
                Vinshell Level 1
                Hi Oliver,

                Thanks for the reply. It's working fine for installed application. I was doing it from adl,so not getting. :). Thanks again.Now I am doing the some SQLite operation with Air.
                Bye,Have a nice day.