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 ?

4

5 回答 5

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.

于 2013-07-09T09:24:04.080 回答
0

Firefox OS uses 30x30 and 60x60 icons

于 2013-07-09T08:55:45.297 回答
0

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

于 2013-10-17T06:31:27.143 回答
0

This should work:

"icons": {
    "128": "/Feed.png"
  }
于 2013-12-26T21:27:35.867 回答
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"
}

于 2014-03-18T18:10:54.687 回答