maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N9 / N950 (https://talk.maemo.org/forumdisplay.php?f=51)
-   -   [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps (https://talk.maemo.org/showthread.php?t=85353)

WhitP 2012-07-19 22:32

Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
 
Quote:

Originally Posted by rainisto (Post 1239980)
Yes I can confirm this bug, unstable fails day/night mode for me too.

I've seen the same behaviour with the 'unstable' patch when exiting settings. You can get the map back without restarting by for example going into 'set destination' and going back. It seems to be specific to 'settings'

WhitP 2012-07-19 22:41

Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
 
Quote:

Originally Posted by Arie (Post 1239897)
No they aren't the Nokia Drive team...

As funny as this sounds it can all be done, it just has to have work done to make it work, the good news is that ovi maps/drive is not closed source on our N9's :)

Many thanks also to the original Nokia Drive team. Obviously they wrote much of the code but weren't given the chance to implement it fully. Extra thanks to sony123 and others for extending this beyond the original code.

It makes you wonder if some of this stuff might miraculously start working if a PR1.4 update is ever released.

WhitP 2012-07-19 22:46

Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
 
Quote:

Originally Posted by mbanck (Post 1239983)
If it is indeed the right setting (I am waiting on others to confirm this), it should be possible to integrate it into the UI. Probably no further artwork would be needed for this, just an entry "Preferred Route" or so along the other routing options (like ferry etc.) with the three sub-option "shortest, fastest and optimized". Just wondering how translations should be done for that.

Exactly what I was thinking - pity I can't code to save my life!

I'd help test out your mod but I live so close to work that there aren't many choices and no traffic (I know - not exactly a recipe for personal commuting hardship but I'd like to see these features introduced)

I hope you get enough feedback - maybe I'll go for a drive over the weekend... :D

Schturman 2012-07-20 14:50

Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
 
Guys, tell me please if this normal :

http://img4.imageshack.us/img4/6329/20120720173928.png

After all this updates, it's looks like no space for "km/h" ? Or font need to be a little small..

How to fix this ? Which file exactly and which lines ?
Thanks

jimthefly 2012-07-20 15:01

Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
 
you should install the last unstable patch.

http://talk.maemo.org/showpost.php?p...&postcount=130


Quote:

Originally Posted by Schturman (Post 1240313)
Guys, tell me please if this normal :

http://img4.imageshack.us/img4/6329/20120720173928.png

After all this updates, it's looks like no space for "km/h" ? Or font need to be a little small..

How to fix this ? Which file exactly and which lines ?
Thanks


Schturman 2012-07-20 15:30

Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
 
Thanks, but i prefer to know which lines and which file..

godofwar424 2012-07-20 15:32

Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
 
Quote:

Originally Posted by Schturman (Post 1240341)
Thanks, but i prefer to know which lines and which file..

go through the patch in a text editor like WordPad

Then work out what to add and remove :D

Took about 15 minutes.

Schturman 2012-07-20 16:20

Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
 
Thanks, i know this method, But I thought, that someone can point me to the specific line/file.. :)
Anyway, thanks..

godofwar424 2012-07-20 16:32

Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
 
Quote:

Originally Posted by Schturman (Post 1240363)
Thanks, i know this method, But I thought, that someone can point me to the specific line/file.. :)
Anyway, thanks..

Yeah I was making a little list of changes, but there's a lot of added functions so it was quite tedious to explain the line numbers ect.

solstice88 2012-07-20 18:22

Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
 
Quote:

Originally Posted by Schturman (Post 1240363)
Thanks, i know this method, But I thought, that someone can point me to the specific line/file.. :)
Anyway, thanks..

if you mean the area that you have circled in red in your pic.
using the latest patch

Try looking in guidancePage.qml:
Functions:
getDestinationDistance () and getTTD()
approx around lines 620 - 655

or

in Dashboard.qml
approx lines 10 -20
approx lines 130 -150 around the function AssitanceItem

I had similar issues mine wasn't showing at all and now i can actually toggle between the two.
Hope this helps, and backup... Not responsible if anything goes wrong.


All times are GMT. The time now is 05:57.

vBulletin® Version 3.8.8