Confirmed users
360
edits
(Added section on httpd.js logs) |
|||
Line 293: | Line 293: | ||
=== Launching an App Directly === | === Launching an App Directly === | ||
A "--runapp" option has been added to the b2g-desktop command-line. It takes an argument that it normalizes by lower-casing and removing dashes and spaces, and then checks the argument against the similarly normalized app names from app manifests. For example, the name of the e-mail app is currently "E-Mail", but "--runapp email" will run it. Partial matching is not supported right now, but you can enhance b2g/chrome/content/runapp.js if your app name is unwieldy. | |||
If you invoke "--runapp" without an argument (or an empty argument), the command will print out a list of all the apps it knows about as well as a brief usage message. | |||
In summary: | |||
./b2g --runapp email | |||
runs the e-mail app. | |||
=== Touch events === | === Touch events === |