View Single Post
Blaizzen's Avatar
Posts: 397 | Thanked: 802 times | Joined on Jan 2010 @ Sydney
#334
Well I've finally come to a solution for the offline search POI thingy I attempted to implement. The issue I never reaslised was Cross Site Scripting which prevented Maps application to talk to the OmVoiceServer through XmlHttpReqest function in javascript (which is why in the original code the plugin had its own xmlhttprequest function). The plugin method would have worked nicely, but the plugin knows if your not connected, and hence won't send anything.

Until I stumbled upon this! http://talk.maemo.org/showthread.php?p=984423 Its a bug in the maemo system which allows the N900 to connect to non-existent ad-hoc networks. I actually experienced this bug before on holiday but I completely forgot about it. What it'll do is trick the N900 into thinking your connected to the internet and thus the plugin's function will work.

To setup a no internet network, simply go to {Settings} > {Internet Connections} > {Connections} > {New} > {Next} > Type a connection name, ie "no internet" > {Next} > Select {No} when asked to search for WLAN Networks > Enter anything in the network name ie "no internet" > untick {Network is hidden} > Change Network Mode from infrastructure to {Ad hoc} > {Next} > {Finish}.

Now you select the connection from the Status menu and connect to it. It does take a bit of time to connect compared to other wireless networks, but once its done your set

As a last note, apologies for not making many updates in the last few weeks/months. I've kinda lost my drive to program and add extra features into this, and sadly I doubt I'll find it again for a while. Though if anyone does have any issues with running it, please let me know and I'll try fix it up
 

The Following 19 Users Say Thank You to Blaizzen For This Useful Post: