Confirmed users, Bureaucrats and Sysops emeriti
291
edits
| Line 113: | Line 113: | ||
You can find a lot of tips and instructions for advanced Gaia hacking at https://wiki.mozilla.org/Gaia/Hacking. Amongst others we have desktop builds of b2g, and you can use them to develop your app. In the alternative, you can also use Firefox, but watch out for differences between desktop and mobile (e.g. touch events). | You can find a lot of tips and instructions for advanced Gaia hacking at https://wiki.mozilla.org/Gaia/Hacking. Amongst others we have desktop builds of b2g, and you can use them to develop your app. In the alternative, you can also use Firefox, but watch out for differences between desktop and mobile (e.g. touch events). | ||
For the particularly adventurous, you can also redirect the domain for an installed app in the <i>/etc/hosts</i> file on the phone to a server you own. Copy the files of an app onto the server and start modifying the code. To reload the UI on the phone, simply kill the b2g process. The following command line takes care of that: | |||
adb shell kill `adb shell toolbox ps | grep "b2g" | awk '{ print $2; }'` | |||
==Gecko== | ==Gecko== | ||