Alsmost every phone can run a webkit browser. And on some its possible to run only a webkit browser and nothing else (see nemo mobile). This is the reason I started to create a proof of concept of my favorite user interface: Maemo. I called it WaemoJS. It uses html5 to create the gui based on Maemo, and it uses nodejs for getting system things like battery status, talking to the phone controller, reading the filesystem, taking a picture. These functions are not yet implemented at the time of writing :).
First you must install node-webkit, then get and run the WaemoJS app:
1 2 3 |
|
https://github.com/krispypen/WaemoJS
Home screen: Application menu: Calculator app: Running apps switcher:
]]>First you need to have the Maemo SDK.
Then you can login into it:
1 2 |
|
Make sure you have python 2.5 (or higher):
In your scratchbox:
1
|
|
Then outside the scratchbox I needed to remove the python symlink to make python2.5 the default:
1
|
|
Download the latest NodeJS
1 2 3 |
|
Add these 2 lines at the top inside the variables section in “deps/v8/build/common.gypi”:
1 2 |
|
Compile:
1 2 3 |
|
Now you can copy “out/Release/node” to your N900 and start having fun with NodeJS!
I created a github repository where we can put some code snippets: https://github.com/krispypen/NodeJSForMaemoSnippets
]]>