A couple of months ago I gave instructions on flashing B2G onto an unlocked Nexus S. Since that time, the B2G folks have made it a heck of a lot easier to do this. I though I’d provide some updated instructions.
iPhone is so, like, yesterday. Is Boot2Gecko the future? Could be, if it’s as easy to create apps for as the Boot2Gecko blog makes it out to be. Here is my experience with creating an HTML5 webapp, making it “installable” on Boot2Gecko, and installing it on my Nexus S phone running B2G. It really was pretty easy. Really.
EDIT: These instructions have been updated and simplified.
Mozilla announced the Boot to Gecko project late last year. I picked up an unlocked Nexus S and took a weekend to build B2G and flash the the phone with it. I’ve distilled what I did down to a few easy-to-follow steps. Well, forget the ‘few’ part. And maybe the ‘easy-to-follow’.
Today we’re going to implement search functionality in our song app. This will include basic form processing in our view, and returning search results to the client. Ready? Let’s get started!
npm install -g coffee-script
This took me a while to figure out, so I thought I’d better post it:
1. sudo apt-get update
2. sudo apt-get install git-core curl build-essential openssl libssl-dev
3. Download source from http://nodejs.org/#download to ~/Downloads/src
4. cd Downloads/src
5. tar xvfz <downloaded-node-source>.tar.gz
6. cd <downloaded-node-source>
9. sudo make install
10. node -v
12. curl http://npmjs.org/install.sh| sudo