![]() |
Re: Ovi Maps Extra Features - Now with voice guidance (early development)
i mean these "Update 20/01/2010
CormacB has released a new version with html5 support (so that it does not require any servers for sound production). See this post for the html file: Index.html and this post for the direction on how to install: Install directions " they worked now , not sure about the voice guidance , but there are 3 buttons , suddenly became one bottom on the top of another showing only "POI" which when i press the maps freeze till the POIs are fetched , if it's javascript i recomment using threading to get these POIs to avoid the freezing of the maps (try http://articles.sitepoint.com/articl...ing-javascript) EDIT : using AJAX to get the POIs or any other data fetching is MUCH better Edit 2: It would be gr8 to leave the POI button available even when not routing ... Edit 3: Saving favorites would be great and POSSIBLE thanks to html 5 STORAGE (you need to have some knowledge in sql) http://www.weboshelp.net/webos-tutor...orage-tutorial |
Re: Ovi Maps Extra Features - Now with voice guidance (early development)
Quote:
|
Re: Ovi Maps Extra Features - Now with voice guidance (early development)
Quote:
|
Re: Ovi Maps Extra Features - Now with voice guidance (early development)
1 Attachment(s)
I unfortunately lack skill/experience with javascript. I'm actually a pharmacist by trade, but I've always had an interest in programming. Therefore, while I'd like to mod maps further and include more options, I doubt I'll be able to implement anything new, at the very least for along while. But I'm very pleased to have started this thread, and to have gained heaps of interest, and even more pleased to have others with greater experience modding it further. I do hope it becomes closer to the one available on Symbian and other OS out there, as I think maemo is definitely one of the best systems out there. So in terms of implementing AJAX or favorite savings, I'm the wrong person to ask that from :p
But as promised before, I'm uploading my current maps version that uses the python server to play sound and espeak to say street names.
Enjoy :) |
Re: Ovi Maps Extra Features - Now with voice guidance (early development)
i will try to implement this by my self , but i will need some help finding stuff in the code , first of all , where is the functions that gets the POIs ? 2nd , how can i add a new button and read gps coordinates when clicking on it ?
i still didn't see the code , just give me the index.html file with the line numbers of those functions ;) |
Re: Ovi Maps Extra Features - Now with voice guidance (early development)
Quote:
Line 27111 (commented //IMPORTANT) is the code to make a new POI button. Line 17835 (commented //HERE HERE!) is the showAllCategories function. As for getting the GPS coordinates, it depends on where you are in the code etc, but in my last upload, I made a global variable called "currentPosGlobal" which holds the GPS coordinates (at least I hope so). You can use that for a quick method. Otherwise search for the commented code in the index.html file. It'll be before the important changes that have been made/added :) |
Re: Ovi Maps Extra Features - Now with voice guidance (early development)
In GuidanceModel._updatePosition the parameter is called data and I used data.position and data.speed. But the parameter is really an event which contains a data field! So the parameter should be called event and event.data.position and event.data.speed should be used. I have no idea where the position attached to the event came from.
|
Re: Ovi Maps Extra Features - Now with voice guidance (early development)
thanks Blaizzen for good job
but i have this problem in last line , it's for street name because the street name in Arabic but for English it is work fine , any idea to remove the last line ? Code:
~ $ python speak_02.py |
Re: Ovi Maps Extra Features - Now with voice guidance (early development)
Quote:
In the meantime I quickly updated the script so that if it encounters some urlencoded characters it will turn the input into 'something'. Absolutely no long term solution:-) https://baach.de/Members/jhb/speak_02.py/view |
Re: Ovi Maps Extra Features - Now with voice guidance (early development)
Edit: latest version: http://talk.maemo.org/attachment.php...3&d=1295624977
New version attached. edit: removed obsolete version Fixes: * Better handling of time/distance from last maneuver which turns out to be ver important for the nokia logic. * Correct speed and position tracking Improvements: * Blaizzens improvements (aside from his voice nav) integrated * Multiple language support: if you use a language other than english then download the correct voices zip file for your language, use it instead of english.zip and it should work Language support is the main reason to use this version over Blaizzen's as Nokia has already written the logic for the different languages. But there is no street name support and it would be difficult to add. Blaizzen: in your index.html you don't need to include evalspeech.js as it is not being used by your navigation logic. |
| All times are GMT. The time now is 09:23. |
vBulletin® Version 3.8.8