android - How to install packaged app on Firefox for mobile? -
how test-install packaged (zip) app on fennec?
device: physical android phone or android emulator, don't care.
install mozilla-apk-cli using npm:
npm install -g mozilla-apk-cli
use generate "debuggable" apk app either source directory or url mini-manifest:
mozilla-apk-cli /path/to/source/dir/ arbitrary-name.apk mozilla-apk-cli http://example.com/path/to/mini/manifest.webapp arbitrary-name.apk
(context-click > inspect element on "free" button in marketplace find mini-manifest url app in marketplace.)
install apk on android device:
adb install -r arbitrary-name.apk
launch app on device. notification area notification port remote debugger server listening on. forwards port on desktop, f.e. if port 12345:
adb forwards tcp:12345 tcp:12345
go web developer > connect… in firefox on desktop , connect localhost @ forwarded port. commence debugging!
notes:
use nightly builds of fennec best experience. bug 929382 tracks webide (née app manager) integration. file bugs on problems encounter! android firefox web-applications fennec
No comments:
Post a Comment