[nodejs] on android ?

138 views
Skip to first unread message

MilesTogoe

unread,
Apr 21, 2010, 4:47:38 PM4/21/10
to nod...@googlegroups.com
can node.js be run on the android ? thinkg of getting google phone and
hoping I can run a local app we wrote

--
You received this message because you are subscribed to the Google Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com.
To unsubscribe from this group, send email to nodejs+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nodejs?hl=en.

Howard Rauscher

unread,
Apr 21, 2010, 5:06:43 PM4/21/10
to nod...@googlegroups.com
I know you can run rhino on it.  That is how appcelerator apps work on Android.  You can't install node on a standard android device, but I am not sure about a rooted one.

--Howard

Howard Rauscher

Andrew Lunny

unread,
Apr 21, 2010, 5:25:27 PM4/21/10
to nod...@googlegroups.com
Joe Bowser, a coworker of mine, is working on this - the Android Open
Source Project can compile every Android module independently, include
V8 (which is the JS engine on Android 2.0+ phones). You would then be
able to run V8 Javascript through the Android Scripting Environment.

http://blogs.nitobi.com/joe/2010/03/18/a-tale-of-two-androids/

Getting Node's non-V8 dependencies and its own C++ code compiled on
Android is the challenge right now, I believe. But yeah, there's at
least one person working on it.
--
Andrew Lunny
Software Developer, Nitobi
604 685 9287
blogs.nitobi.com/andrew

r...@tinyclouds.org

unread,
Apr 21, 2010, 5:44:34 PM4/21/10
to nod...@googlegroups.com
On Wed, Apr 21, 2010 at 2:25 PM, Andrew Lunny <andrew...@nitobi.com> wrote:
> Joe Bowser, a coworker of mine, is working on this - the Android Open
> Source Project can compile every Android module independently, include
> V8 (which is the JS engine on Android 2.0+ phones). You would then be
> able to run V8 Javascript through the Android Scripting Environment.
>
> http://blogs.nitobi.com/joe/2010/03/18/a-tale-of-two-androids/
>
> Getting Node's non-V8 dependencies and its own C++ code compiled on
> Android is the challenge right now, I believe. But yeah, there's at
> least one person working on it.

It'd be great if Joe could send any changes upstream. I'm definitely
willing to lend any advice if not actual programming help.

billywhizz

unread,
Apr 21, 2010, 8:59:58 PM4/21/10
to nodejs
this would be really nice. i'd be willing to help out also. android is
also going to be running on a lot of tablet/internet devices soon.
having node.js available as a server on these devices would allow all
sorts of very interesting apps to be built... also think it would be
nice to have node.js available on chrome OS. should be a lot easier to
get it running on that than on android...

on a related note - has anyone been looking at GUI (GTK etc) bindings
for node? the event driven model node uses reminds me a lot of VB6
(which i still miss) and seems to me it would make gui programming
very easy/intuitive....

On Apr 21, 10:44 pm, r...@tinyclouds.org wrote:

MilesTogoe

unread,
Apr 21, 2010, 11:26:44 PM4/21/10
to nod...@googlegroups.com
Andrew Lunny wrote:
> Joe Bowser, a coworker of mine, is working on this - the Android Open
> Source Project can compile every Android module independently, include
> V8 (which is the JS engine on Android 2.0+ phones). You would then be
> able to run V8 Javascript through the Android Scripting Environment.
>
> http://blogs.nitobi.com/joe/2010/03/18/a-tale-of-two-androids/
>
> Getting Node's non-V8 dependencies and its own C++ code compiled on
> Android is the challenge right now, I believe. But yeah, there's at
> least one person working on it.
>

Nice, - thinking it might have even more use as android gets ported to a
tablet.

Kelly

unread,
Jun 3, 2010, 6:03:02 PM6/3/10
to nodejs
So hows it going with the port to android? :-D

I'm knee-deep in v8 right now but I would love to get some of the
node.js capabilities in on Android.

Stephen Belanger

unread,
Jun 3, 2010, 6:23:08 PM6/3/10
to nod...@googlegroups.com
It'd be epic if I could run node.js on the Dell Streak or Evo 4G when they come out. I can think of more than a few fun things I could do with that much processing power and screen space in a mobile device. :)


--

Hans Hübner

unread,
Jun 4, 2010, 1:08:46 AM6/4/10
to nod...@googlegroups.com
On Fri, Jun 4, 2010 at 00:03, Kelly <seno...@gmail.com> wrote:
> So hows it going with the port to android? :-D

Not quite a port "to Android", but I have this:

# uname -a
Linux eddy 2.6.21-rt1 #28 PREEMPT Sun May 16 09:25:07 CEST 2010
armv5tejl unknown
# node -v
v0.1.97-3-g75f0cf4

The build process was a little hairy and involved using a Buffalo NAS
as build host since cross-compiling node does not currently seem to be
supported. Also, I needed to link the object files manually as the
build process failed here.

Here are some binaries for your playing pleasure:
http://vaxbusters.org/node-arm5tejl.tar.gz

-Hans

Reply all
Reply to author
Forward
0 new messages