INACTIVE - http://mzl.la/ghe-archive - 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
Перейти к файлу
Piotr Zalewa 45210bc866 * removed background in the list (commented out as it might be used for
enabled APIs)
* fixed (?) SMS Api check
* enabled first
2013-02-12 14:01:00 +01:00
node_modules using https://github.com/wfwalker/webrt-feature-test/ to provide a list 2013-02-11 21:16:01 +01:00
tools using https://github.com/wfwalker/webrt-feature-test/ to provide a list 2013-02-11 21:16:01 +01:00
www * removed background in the list (commented out as it might be used for 2013-02-12 14:01:00 +01:00
.gitignore Initiial 2013-02-05 12:21:31 +01:00
Makefile using https://github.com/wfwalker/webrt-feature-test/ to provide a list 2013-02-11 21:16:01 +01:00
README.md using https://github.com/wfwalker/webrt-feature-test/ to provide a list 2013-02-11 21:16:01 +01:00
install.js using https://github.com/wfwalker/webrt-feature-test/ to provide a list 2013-02-11 21:16:01 +01:00
package.json using https://github.com/wfwalker/webrt-feature-test/ to provide a list 2013-02-11 21:16:01 +01:00
serve.sh using https://github.com/wfwalker/webrt-feature-test/ to provide a list 2013-02-11 21:16:01 +01:00
volofile using https://github.com/wfwalker/webrt-feature-test/ to provide a list 2013-02-11 21:16:01 +01:00

README.md

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

  1. Makefile: (Packaged app only) Package all files from folder into application.zip
  2. Makefile: Move important files to phone via adb
  3. Makefile: Forward remote debugging port (6000) from device to computer (via adb)
  4. Makefile: Run install.js via xpcshell
  5. install.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):

XPCSHELL = ~/bin/xulrunner-sdk/bin/xpcshell
ADB = ~/bin/android-sdk/platform-tools/adb

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 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.

Install hosted app from folder my-hosted:

make FOLDER=my-hosted hosted install