The icons can be selected by ".icon[data-indentifier=<app manifest URL>]".
You can find an example here:
https://github.com/shinglyu/fxos-unread-icon/blob/master/main.js#L19

The only exception is that the dialer has a "-dialer" suffix.

For saving the images, perhaps you can create an indexDB (not sure if it's
possible with add-on) and save the base64 representation?

Regards,
Shing

2015-10-20 8:09 GMT+08:00 Dietrich Ayala <[email protected]>:

> How would I build an icon theme add-on for Firefox OS 2.5?
>
> What identifying information is there in the icons on the homescreen that
> I could use to ensure the same app receives the same icon each time?
>
> What would be the best way to store images offline for rapid access and
> replacement of the existing icons?
>
> _______________________________________________
> dev-fxos mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-fxos
>
>


-- 
Shing Lyu
QA, Mozilla Taipei
_______________________________________________
dev-fxos mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-fxos

Reply via email to