I just purchased an G2-Touch phone (running Android) - a really
cool toy, but it lacks 9P support ;-o
Maybe someone's already working on this issue ?
cu
--
----------------------------------------------------------------------
Enrico Weigelt, metux IT service -- http://www.metux.de/
phone: +49 36207 519931 email: wei...@metux.de
mobile: +49 174 7066481 icq: 210169427 skype: nekrad666
----------------------------------------------------------------------
Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------
I don't know how open Android is, but if you could cross-compile the
v9fs modules (or compile them on the phone, if they let you get the
toolchain on it), you'd be in business. Otherwise, there's always one
of the userspace solutions, such as 9pfuse.
has javascript finally got support for binary data?
>I'm actually looking at the javascript implementations of [9p] as well.
has javascript finally got support for binary data?
uh, i don't think so. 9p2000 doesn't have a base64 encoding option.
- erik
- erik
no direct binary support; but that's not the only problem. if
you're talking about using javascript inside the browser, you're stuck
with http and -- because there can only be one outstanding
request -- with continuous polling.
Did Javascript not support binary data in the past? It seems
to support it fine in my browser at least. Here's a transcript
from a javascript shell session in my browser (note, top line is
most recent, bottom line is oldest):
http://www.thenewsh.com/shell.html
Eval: for(var i = 0; i < x.length; i++) _print(x.charCodeAt(i) + "\n");
Return: undefined
255
254
3
2
1
0
Eval: x = "\x00\x01\x02\x03\xfe\xff"
Return:
> Dave
Tim Newsham
http://www.thenewsh.com/~newsham/
--
David du Colombier
Unless I misunderstood you, this is not quite true. You can have
as many outstanding requests as you have XMLHTTPRequest objects.
And, of course, you can do AJAX Push using various techniques.
So it really is not all that different, except that you have
to strip the HTTP envelope.
Thanks,
Roman.
-eric
9P on Android!! Its something that could turn out to be an asset to my
project here, that I intend to do.. what's the latest update on it?
Can Google Android be used as a 9P server too, instead of just a java
or php or javascript-based client that connects to a Plan 9 Styx
server? There is this project called npfs (
http://sourceforge.net/projects/npfs/ ) but I have never tried running
a 9P fileserver and so have not a clear idea on the details here.
--
Rahul Murmuria
Npfs is in C. You could make java bindings to it, but it would
probably be more work than it's worth.
I've been using a few 9p servers from android. I have
a java library that does 9p service that I'm using. Here's
some code I published that includes the library:
http://9fans.net/archive/2009/10/269
Let me know if you have any questions.
> Rahul Murmuria
>
> On Thu, Feb 4, 2010 at 6:53 PM, Eric Van Hensbergen <eri...@gmail.com> wrote:
>> Is source to your application available anywhere? I'm getting a
>> Android tablet and wanted to do some 9P/Plan9 hacking for it and it
>> sounds like you have a good starting point.
>>
>> -eric
>>
>>
>> On Thu, Aug 27, 2009 at 1:41 PM, David du Colombier <0in...@gmail.com> wrote:
>>> I used Charles Forsyth's 9P implementation in Java (styx-n-9p) to start a
>>> small 9P graphical browser on Android, some weeks ago, and it seems to work
>>> very well.
>>>
>>> --
>>> David du Colombier
>>>
>>>
>>
>>
>
>
Tim Newsham | www.thenewsh.com/~newsham | thenewsh.blogspot.com
On Tue, Mar 2, 2010 at 4:51 PM, Tim Newsham <new...@lava.net> wrote:
> Npfs is in C. You could make java bindings to it, but it would
> probably be more work than it's worth.
>
> I've been using a few 9p servers from android. I have
> a java library that does 9p service that I'm using. Here's
> some code I published that includes the library:
>
> http://9fans.net/archive/2009/10/269
>
Lovely!! Will check it out.
> Let me know if you have any questions.
>
Be sure to hear from me in the near future!
>
> Tim Newsham | www.thenewsh.com/~newsham | thenewsh.blogspot.com
Best Regards,
--
Rahul Murmuria