Any reason you're not just writing this as a WebApp? Are you trying to distribute it in the play store or something?
You might try to use our WebApp code in places of the normal UI (its essentially the normal Firefox UI, with no urlbar or menus). The trick might be as easy as replacing the normal activity manifest: http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/AndroidManifest.xml.in#85 with (parts of) the Webapp Activity manifest: http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/WebAppManifestFragment.xml.frag r.e. at least the android:name=".WebApps$WebApp0" part. That will load Fennec with the WebApp activity: http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/WebAppImpl.java#82 which SHOULD load the url, but note we have lots of checks to see if the app is installed that might fail. - Wes ----- Original Message ----- From: "Ken OKABE" <[email protected]> To: [email protected] Sent: Wednesday, December 11, 2013 12:53:45 PM Subject: kiosk mode launch by default Curretnly, I'm trying to launch fennec mobile with fullscreen mode which does not contain browser navigation tool bar such as URL box and buttons (kiosk mode). I have figured out that I need to tweak the sorce: mobile/android/base/BrowserApp.java mobile/android/base/GekkkoApp.java and I tried various things for a while, but no success so far. I know there is fullscreen mode add-on, but it works only after UI.ready. Do you know where to tweak by chance? If so, please teach me. Thank you. _______________________________________________ mobile-firefox-dev mailing list [email protected] https://mail.mozilla.org/listinfo/mobile-firefox-dev _______________________________________________ mobile-firefox-dev mailing list [email protected] https://mail.mozilla.org/listinfo/mobile-firefox-dev

