Gaia/Hacking: Difference between revisions

m (Correct the option "-profile" instead of "-p" in section, Loading Gaia from a server)
Line 229: Line 229:
You can open the Javascript Console by running:
You can open the Javascript Console by running:
  ../build/dist/bin/b2g -jsconsole
  ../build/dist/bin/b2g -jsconsole
=== Launching an App Directly ===
Want B2G desktop to directly launch your?  Add these preference lines to your user.js file (under gaia/profile):
  user_pref("browser.homescreenURL","http://myapp.gaiamobile.org:8080");
  user_pref("browser.startup.homepage", "http://myapp.gaiamobile.org:8080");
You will need to remove the preferences if you want to be able to use the homescreen again.


=== Touch events ===
=== Touch events ===
Confirmed users
360

edits