Enable Remote Debugging in Settings > Device Information > Developer.
Usage
Packaged
See folder my-package. Your app should at least have an index.html and a manifest.webapp with the correct launch_path. App type can be either web or privileged.
Install packaged app from folder ``
make FOLDER=my-package packaged install
Hosted
See my-hosted folder. Your folder only needs to contain manifest.webapp and a metadata.json. In most cases you only need to adapt origin in metadata.json and launch_path in the manifest.
KitchenSink App
The Kitchen sink Application will be a tool to test the functionality of the APIs across platforms as well as showcase the usage of the APIs.
Tracking bug: https://bugzilla.mozilla.org/show_bug.cgi?id=830876
FxOS Installation
Easily install packaged and hosted apps using the Firefox OS remote debugging protocols.
How it works
Makefile: (Packaged app only) Package all files from folder intoapplication.zipMakefile: Move important files to phone viaadbMakefile: Forward remote debugging port (6000) from device to computer (viaadb)Makefile: Runinstall.jsviaxpcshellinstall.js: Remotely install app from folder using the Webapp Actor.Dependencies
Extract the following packages
~/bin.If you choose a different path, change the variables in
Makefile):XULRunner (XPCShell)
http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/18.0.2/runtimes/
Android SDK (ADB)
http://developer.android.com/sdk/index.html#download
Device Setup
Enable
Remote DebugginginSettings > Device Information > Developer.Usage
Packaged
See folder
my-package. Your app should at least have anindex.htmland amanifest.webappwith the correctlaunch_path. Apptypecan be eitherweborprivileged.Install packaged app from folder ``
Hosted
See
my-hostedfolder. Your folder only needs to containmanifest.webappand ametadata.json. In most cases you only need to adaptorigininmetadata.jsonandlaunch_pathin the manifest.Install hosted app from folder
my-hosted: