B2G/MarketCustomizations: Difference between revisions

m
Line 167: Line 167:
==== Collections ====
==== Collections ====


There will be available a new feature that will allow to add predefined collections in FFOS v1.3
Collections will be introduced in version 1.3.


===== Predefined Collections =====
===== Predefined Collections =====


There are a bundle of predefined collections to include in the homescreens:
By default, 4 Collections are predefined to reside in the first page of the homescreen.
 
Similarly to Apps, this can be edited in homescreens.json as it's possible to define what Collections to load, what pages they should appear in and in what order.
* <b>Entertainment</b> (discover entertainment apps)
For example:
* <b>Funny</b> (enjoy with latests funny apps)
* <b>Games</b> (play games online)
* <b>Local</b> (what's happening around you?)
* <b>Music</b> (Listen to favorite songs)
* <b>News</b> (keep updated with your world news sources)
* <b>Shopping</b> (follow trends)
* <b>Social</b> (follow you social networks in everywhere)
* <b>Sports</b> (the best apps about sports)
* <b>Tv</b> (apps related to media)
 
===== How it works =====
 
Use homescreens.json to define what collections to show in the homescreens, and in which order. For example:


  {"homescreens": [
  {"homescreens": [
Line 202: Line 189:
  ]}
  ]}


* Remember: the collection names are written in lowercase
Note that Collection names are written in lowercase
 
Additional Collections can be chosen from the following list:
 
* <b>Entertainment</b> (discover entertainment apps)
* <b>Funny</b> (enjoy with latests funny apps)
* <b>Games</b> (play games online)
* <b>Local</b> (what's happening around you?)
* <b>Music</b> (Listen to favorite songs)
* <b>News</b> (keep updated with your world news sources)
* <b>Shopping</b> (follow trends)
* <b>Social</b> (follow you social networks in everywhere)
* <b>Sports</b> (the best apps about sports)
* <b>TV</b> (apps related to media)


===== What collections contain =====
===== What collections contain =====


Collections are composed by
Collections are composed of


* Local Apps:
* Local Apps:
Line 217: Line 217:
   "name": "Social",
   "name": "Social",
   "role": "collection",
   "role": "collection",
   "provider_id": "289",
   "provider_id": "289", // adaptive search identifier
   "apps": [
   "apps": [
     ["apps", "communications", "dialer"],
     ["apps", "communications", "dialer"],
Line 233: Line 233:


* Remote Apps
* Remote Apps
** Discovered by Everything.me in runtime (online mode)
** Discovered by Everything.me in runtime (when online)


===== How to translate collections =====
===== How to translate collections =====


The translations have to be defined in locale files in homescreen application
The translations have to be defined in locale files in within the homescreen app


* apps/homescreen/locales/collections.<langCode>.properties
* apps/homescreen/locales/collections.<langCode>.properties
Confirmed users
2

edits