Reply
Thread Tools
pipeline's Avatar
Posts: 693 | Thanked: 502 times | Joined on Jul 2007
#1
Yes this is a mono/xsp (.net/ASP.NET) application.

It runs on device with Mono 1.9 which are still in test (repo info here).

Noki.NET lets you run a web server off your Nokia internet tablet. It has a gallery, files, music (files), documents, and a wysiwyg htm editor.

One of the cooler aspects is that the web component (mono xsp... an asp.net engine) is freely distributable so you can run this same portal on your XP, linux, or osx desktop if it has the .net framework or mono installed.

To run on your internet tablet, install mono 1.9 libraries and then extract this archive to device, then from xterm navigate to directory and run xsp.

So if anyone wants to run the -test- 1.9 libs :
- Uninstall all packages except the pkgconfig and then change repo to :
(web address 'http://go-mono.com/maemo', dist 'chinook', components 'test')
- If you want web servers install my xsp maemo package
- These libs are still 'test' so expect to have to reinstall all the many packages later.
You will likely need libgdiplus, libmono-corlib1.0-cil, libmono-security1.0-cil, libmono-system-runtime1.0-cil, libmono-system-web1.0-cil, libmono-system1.0-cil, libmono1.0-cil, mono-runtime, and my xsp package. Possibility exists you will need to install pkg-config in red pill mode since it JIT compiles.

On maemo, the first page load is slow (like 30 seconds) while it JIT compiles it. Subsequent loads are fine so in theory you would leave xterm running web server minimized rather than launching web server many times when needed.

To run on your desktop, grab this file and then navigate to that directory in command prompt or shell and run with 'xsp' or 'mono xsp'

Whether you install it on tablet or desktop, you can browse it from both. So you set up your portal with images, music, and documents and wherever you go via wifi you can browse your tablet from desktop.

(Not shown in screenshots is the documents webpage which is similar to files webpage except lets you view actual live htm files which the editor creates)
Attached Images
     

Last edited by pipeline; 2008-04-25 at 01:43.
 

The Following 4 Users Say Thank You to pipeline For This Useful Post:
Texrat's Avatar
Posts: 11,700 | Thanked: 10,045 times | Joined on Jun 2006 @ North Texas, USA
#2
pipeline, that is very cool.
__________________
Nokia Developer Champion
Different <> Wrong | Listen - Judgment = Progress | People + Trust = Success
My personal site: http://texrat.net
 
Munk's Avatar
Posts: 229 | Thanked: 108 times | Joined on Oct 2007 @ Sacramento, California
#3
Oh now this is just awesome.
 
Posts: 67 | Thanked: 17 times | Joined on Aug 2007
#4
ok, hang on this is - access Tablet FROM laptop, right?

Can you do the reverse with this program?
 
Red's Avatar
Posts: 155 | Thanked: 63 times | Joined on May 2007 @ UK
#5
Oh now that is very well done. Thanks Pipeline!
__________________
N800, OS2008 + E51. 3.5G. Warning, this post contains at least one nut and is a source of hyperbole.
 
pipeline's Avatar
Posts: 693 | Thanked: 502 times | Joined on Jul 2007
#6
Originally Posted by sleepkyng View Post
ok, hang on this is - access Tablet FROM laptop, right?

Can you do the reverse with this program?
Yes, and yes. The only difference between them is that the desktop version contains the xsp web server binaries while the version for maemo you install xsp deb.

Actually the XSP web server is a mono/.net program itself so when you run this on desktop your running the exact same webserver .exe as maemo except on windows desktop xsp bytecode would be run by the official microsoft .net framework.

Running off your tablet you could go to a desktop and hit the device (if you know its ip), load the larger editor (scaled for desktop) and compose html documents referencing images on the tablet, and save them to tablet itself or download htm. Then you navigate to the documents screen and click on the document and you've basically made your own web page. You can also upload images/music/files to the tablet.

All that works the same on the desktop except in reverse so your IT can easily get access to whole directories of images, files, music, etc.

Running off your desktop it would work the same way, in reverse. This first version only currently supports single directories (not subdirectories) so dont go too crazy and copy your whole mp3 collection to music directory (unless it all fits in one directory). Perhaps future version will support subdirectories.
 

The Following 2 Users Say Thank You to pipeline For This Useful Post:
Posts: 67 | Thanked: 17 times | Joined on Aug 2007
#7
that sounds awesome!

i'm assuming it's pretty secure?

what's the speed like?
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#8
Pretty secure how? It's not https, so any data you access is sent in the clear, at least.
(From one who has looked no further than screenshots.)
 
pipeline's Avatar
Posts: 693 | Thanked: 502 times | Joined on Jul 2007
#9
It has zero security so you probably won't want to expose it outside your LAN/router.

xsp does support ssl/tls... useful for avoiding man-in-middle snooping but it would also need a site password of som sort since anyone could establish their own private sessions otherwise. Future version i might distribute makecert utility needed for ssl.

Speed is good except for the first of each page loads... and the editor loads a bit slowly if maemo is serving to its own microb. Definately not a 24/7 solution but a good first version. It will eat up ram like one more application so it is probably best used in blocks of time.

All the pages can be easily edited too if you know asp.net/c# so it serves also as an example (of minimal effort portal) future versions might trade hackability too get a better architecture..

Last edited by pipeline; 2008-04-25 at 18:13.
 

The Following User Says Thank You to pipeline For This Useful Post:
mrlanrat's Avatar
Posts: 292 | Thanked: 46 times | Joined on Oct 2007
#10
Any chance this could be put into a .deb?

This looks really nice but I would like the ability to uninstall it.
 
Reply


 
Forum Jump


All times are GMT. The time now is 14:08.