0

I just started developing applications for firefox OS. I done a sample application and it is working perfectly. My issue is in my simulator my application Icon is not displayed. It uses the default icon.

I added the below code in my manifest file:

"icons": {
    "128": "Feed.png"
  }

Added a 128 x 128 image named Frrd.png to my directory. But it is not working for me, what can be the issue ?

Charles
  • 50,943
  • 13
  • 104
  • 142
Midhun MP
  • 103,496
  • 31
  • 153
  • 200

5 Answers5

4

First Answer:

Finally I got it.

For Firefox OS the icon size should be of size 30 X 30 or 60 X 60.

For Firefox Market place the icon size should be 128 X 128

For Firefox OS icons should be provided without a drop shadow and a close cropped canvas in the following sizes:

30 x 30
60 x 60

Note: Firefox Marketplace requires all submitted apps to have a minimum of one icon that is at least 128 x 128.

Reference: Firefox OS - Style Guide


Actual Solution

I added all images with the dimensions specified in the doc to my application. But it also not worked !!!

Atlast I added a directory img to my project and added icons to it. Then modified the manifest.webapp file like:

"icons": {
    "128": "/img/Feed.png"
  }

It worked for me, I don't know whether it is a bug or not.

Midhun MP
  • 103,496
  • 31
  • 153
  • 200
  • It should have still worked, those icon sizes are just recommendations for the best possible look! Adding a 128px is the minimum requirement. – digitarald Jul 09 '13 at 14:59
  • @digitarald: Yeah, that is true. Even if I made it to 30 or 60. It is not working. – Midhun MP Jul 09 '13 at 16:32
0

Firefox OS uses 30x30 and 60x60 icons

paa
  • 5,048
  • 1
  • 18
  • 22
0

Using manifest.webapp to add Manifest not URL in Firefox OS Simulator.

Tychio
  • 591
  • 1
  • 7
  • 20
  • I didn't get you, what you mean by the above answer ? – Midhun MP Oct 17 '13 at 06:40
  • I mean write manifest path not write URL in the input which placeholder is "URL for page or manifest.webapp". As 'http://localhost/manifest.webapp' not 'http://localhost/'. – Tychio Oct 17 '13 at 06:50
0

This should work:

"icons": {
    "128": "/Feed.png"
  }
0

Firstly, +1 @Midhun MP. Secondly, it seems to only work with top-level directories regardless of the directory name. Tested on the Firefox OS Simulator version 1.2

Works:

"icons": {
  "128" : "/icon/128.png"
}

Doesn't Work

"icons": {
  "128" : "/assets/icon/128.png"
}

Jed Burke
  • 939
  • 8
  • 13