Active Topics

 



Notices


Reply
Thread Tools
Posts: 1,203 | Thanked: 3,027 times | Joined on Dec 2010
#121
has anyone found if maneuver:maneuver_at_endofstreet (something like that) is set? not found it so far, was wondering if its just not being set during assignment of the maneuver to aimaneuver. Source not handy so name might not be correct.

blaizzen: the config.xml file can announce distances based on its evaluation. if we can get the timetoannounce, distanceto/from etc. code working this should be simple replicate. In terms of street names, I have seen a value scattered around the translation code called ausestreetname, Not sure how its defined yet, only spotted it looking for something else. Might have some use to your code, so that it only announces street name if it has to.

jhb: thanks for the sox suggestion. had found "play" mentioned, which i think is a subset of sox. Haven't got as far as trying on device. The config file handling is missing a few bits at the moment in relation to points you raised. partly it is to do with the parser, partly its the rest of the code. The distance we are using is based on straight lines, rather than actual distance to travel IIRC.
 

The Following User Says Thank You to Android_808 For This Useful Post:
bandora's Avatar
Posts: 1,338 | Thanked: 1,055 times | Joined on Oct 2009 @ California, USA / Jordan
#122
Is it possible to make Ovi Maps use Nokia's Voices (navigation voices) from Symbian devices??
__________________
FarahFa.com
 

The Following User Says Thank You to bandora For This Useful Post:
Blaizzen's Avatar
Posts: 397 | Thanked: 802 times | Joined on Jan 2010 @ Sydney
#123
Originally Posted by Android_808 View Post
blaizzen: the config.xml file can announce distances based on its evaluation. if we can get the timetoannounce, distanceto/from etc. code working this should be simple replicate. In terms of street names, I have seen a value scattered around the translation code called ausestreetname, Not sure how its defined yet, only spotted it looking for something else. Might have some use to your code, so that it only announces street name if it has to.
Your right, for the street name part, it will only add the streetname if aUseStreet is sent as true. I've made a new function called getSound based on getDescription:
Code:
        getDescription: function (aTranslator, aUseStreet, aFormat) {
            var streetPlaceholder = "{0}";
            var signpostPlaceholder = "{1}";
            var formatPlaceholder = "{0}";
            var descriptions = [];
If aUseStreet is false it doesn't add the street name, nor does it add the "onto", so it plays only sound files.

I'm actually looking forward to the config.xml parsing you and CormacB are doing as it'll be much more professional and easier to change in the future. I'm only using this hardcoded method just for testing, and since I couldn't get the parser working.


Originally Posted by bandora View Post
Is it possible to make Ovi Maps use Nokia's Voices (navigation voices) from Symbian devices??
Yes, currently its a mixture of voice sounds and espeak for street names and anything else it doesn't know
 

The Following User Says Thank You to Blaizzen For This Useful Post:
Blaizzen's Avatar
Posts: 397 | Thanked: 802 times | Joined on Jan 2010 @ Sydney
#124
Found the code that runs when you close the application
Code:
        closeApplication: function () {
            var plugin = this.getPlugin()._getPlugin();
            try {
                this._savePosition();
                PluginHttpRequest.PLUGIN = null;
                nokia.maps.mapPlayer.destroyObject();
                this.fireEvent("applicationClosing")
            } catch (e) {
                error("Application.closeApplication: " + e)
            }
           //Insert code here to close python server
            plugin.shutdown();
            plugin = null;
            window.close()
        },
 

The Following User Says Thank You to Blaizzen For This Useful Post:
Posts: 31 | Thanked: 38 times | Joined on Dec 2010
#125
Originally Posted by Blaizzen View Post
Lastly implementing the python server in the desktop file would be good, i tried to make the server close when i send a command (eg exitServer) but it never closed maybe jhb if you could add that in please.
This is all moving so fast, really exiting. Too bad I also have to do rent related work :-)

Anyhow, I quickly updated the python server so that you now can shut it down by sending:
http://localhost:9999/SHUTDOWN

http://baach.de/Members/jhb/speak_02.py/view
 

The Following 5 Users Say Thank You to jhb For This Useful Post:
Posts: 125 | Thanked: 108 times | Joined on Feb 2010
#126
Help please: My Ovi Maps app no longer starts up, showing the splash screen with the moving rect forever.
I assume I have messed the OviMaps directory despite of trying to be careful and making duplicates...
the dir looks like this:

/usr/share/nokia-maps/html # ls -l
drwxr-xr-x 3 root root 224 May 26 2010 framework
-rw-r--r-- 1 root root 970200 Jun 10 2010 index.html
-rw-r--r-- 1 root root 1465794 Jan 18 00:06 index2.bak
drwxr-xr-x 8 root root 720 Oct 30 2009 maplets
drwxr-xr-x 4 root root 288 May 26 2010 medos
/usr/share/nokia-maps/html #

Could you please check the file size of the original index.html being 970200 Bytes? What else could have happened?
I already have deleted the cities dir in MyDocs to no avail...
Please help me.
 

The Following User Says Thank You to rm53 For This Useful Post:
Posts: 2,829 | Thanked: 1,459 times | Joined on Dec 2009 @ Finland
#127
@rm53
in addition to those files I have:
drwxr-xr-x 3 root root 224 Sep 10 18:04 pfw

Please learn to make backups properly before messing stuff up.I hope someone sends that file to you, still it doesnt mean that it will work.
__________________
TMO links: [iSpy] - [Power search] - [Most thanked] - [Cordia - Maemo5 UI on top MeeGo Core] - [CommunitySSU]
 

The Following 2 Users Say Thank You to slender For This Useful Post:
Posts: 133 | Thanked: 138 times | Joined on Nov 2007
#128
Originally Posted by rm53 View Post
Help please: My Ovi Maps app no longer starts up, showing the splash screen with the moving rect forever.
I assume I have messed the OviMaps directory despite of trying to be careful and making duplicates...
the dir looks like this:

/usr/share/nokia-maps/html # ls -l
drwxr-xr-x 3 root root 224 May 26 2010 framework
-rw-r--r-- 1 root root 970200 Jun 10 2010 index.html
-rw-r--r-- 1 root root 1465794 Jan 18 00:06 index2.bak
drwxr-xr-x 8 root root 720 Oct 30 2009 maplets
drwxr-xr-x 4 root root 288 May 26 2010 medos
/usr/share/nokia-maps/html #

Could you please check the file size of the original index.html being 970200 Bytes? What else could have happened?
I already have deleted the cities dir in MyDocs to no avail...
Please help me.
You seem to be missing the pfw directory.

I uploaded mine as pfw.tar file. I have PR1.3.

http://www.mediafire.com/file/y67ywap9tcisbjr/pfw.tar

Untar it (tar xvf pfw.tar) as root in the /usr/share/nokia-maps/html/ directory. It will create the pfw directory including sub-directories.
 

The Following 3 Users Say Thank You to generationally For This Useful Post:
Posts: 356 | Thanked: 172 times | Joined on Jan 2010 @ Canada
#129
Originally Posted by Bingley Joe View Post
This looks amazing!

I'd really love to give it a try, so just to confirm -- are the links to the most recent versions of the relevant downloads all in the first post or do I need to scour the thread?

Anyone?

Does the first post contain the most up to date version of the files needed to try this out?
 

The Following User Says Thank You to Bingley Joe For This Useful Post:
Blaizzen's Avatar
Posts: 397 | Thanked: 802 times | Joined on Jan 2010 @ Sydney
#130
Originally Posted by Bingley Joe View Post
Anyone?

Does the first post contain the most up to date version of the files needed to try this out?
Wait another day and I'll upload the current version I'm using. I just need to test it a few more times on the road to make sure its running correctly. The one in the first post is outdated.
 

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


 
Forum Jump


All times are GMT. The time now is 06:07.