Example standalone android application for B2G
-
Place this into the external/ directory under your B2G development area. (On my machine: ~/B2G/hamachi/external/)
-
Perform a full build, or run mm.sh from external/noodleland/ to just build noodleland executable.
-
Push to device:
adb pull out/target/product/hamachi/obj/EXECUTABLES/noodleland_intermediates/noodleland /system/bin/
-
Stop B2G:
adb shell stop b2g
-
Run noodleland:
adb shell /system/bin/noodleland
note: You'll probably need to edit mm.sh to point to your B2G tree.