B2g/certifiedApp
< B2g
To create a cerfitied app which utilizes all the available APIs in a B2G device, just follow the these simple steps:
- 1. Obtain the b2g emulator.
- This can be done by either: build a local version from mozilla-central,
- or download the desktop builds at here.
- 2. Clone the gaia repository to a local directory.
- 3. Put the app of choice in gaia/apps/yourAppHere
- 4. Run "make" under gaia/ to generate a new profile
- 5. Load the new profile with the b2g emulator by using something like this:
/Applications/B2G.app/Contents/MacOS/b2g -profile /path/to/gaia/profile
- 6. Now you should see the app being installed as a default app on the device, with full API access. This is because right now all apps which are installed as native app are granted full API access.
There are more information which can be found at here if the above doesn't make any sense at all.