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)

colin.stephane 2012-08-18 18:09

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

Originally Posted by Thieric (Post 1252481)
(In response to colin.stephane tutorial : )

Hey, to clarify and complete your tutorial, you should precise again that installing patch_2.6-2+maemo7+0m6_armel.deb is required, as presented in the first post of this thread in FAQ section, because many links on the web lead directly to your post and I almost lost half my hair trying and trying again to apply your patch ;)

Thanks for the good work anyway !

Hi Thieric,

Thanks for this pertinent comment !!!

I have now updated my full patch step by step procedure to fix this problem ...

A++

Jef971 2012-08-24 11:55

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Hi everyone,

I Tried few months ago (before PR1.2) to have Nokia to fix this problem i have using Nokia Drive.

The application doesn't show sometimes the name or the number of the exit while driving on a highway.
The voice says which exit but the display only shows the distance.

Does anyone else get this problem ?

I think there's something to fix in the GuidancePanel object in guidancePage.qml but i'm not good enough to know how to fix this.

Here's a screenshot of the problem where you can see that the next exit is after 910m but there's no route name or direction:

http://img713.imageshack.us/img713/4...0824084142.png

coderus 2012-08-25 01:56

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
can anyone disable map rotation in drive app? please?)

hgn9 2012-08-25 06:14

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Quote:

Originally Posted by coderus (Post 1255454)
can anyone disable map rotation in drive app? please?)

use Babylock frome the store to fix screen

tenchman 2012-09-05 19:59

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Hi,

I've made a patch against the unstable patch which transforms the 2 state button "TTD, Distance" into a 3 state button "TTD, distance and ETA". Anyone interested?

Tenchman

colin.stephane 2012-09-05 20:38

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Quote:

Originally Posted by tenchman (Post 1261743)
Hi,

I've made a patch against the unstable patch which transforms the 2 state button "TTD, Distance" into a 3 state button "TTD, distance and ETA". Anyone interested?

Tenchman

Sure, just put the patch in your post then I can check it and add it into unstable if it work ...

A++

tenchman 2012-09-06 21:02

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Quote:

Originally Posted by colin.stephane (Post 1261762)
Sure, just put the patch in your post then I can check it and add it into unstable if it work ...

A++

OK, here we go.

http://www.tenchio.de/patches/N9-PR1...e_button.patch

You have to apply it after applying the unstable patch. Hope it works!

sony123 2012-09-07 09:13

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Quote:

Originally Posted by Jef971 (Post 1255253)
Hi everyone,

I Tried few months ago (before PR1.2) to have Nokia to fix this problem i have using Nokia Drive.

The application doesn't show sometimes the name or the number of the exit while driving on a highway.
The voice says which exit but the display only shows the distance.

Does anyone else get this problem ?

I think there's something to fix in the GuidancePanel object in guidancePage.qml but i'm not good enough to know how to fix this.

Here's a screenshot of the problem where you can see that the next exit is after 910m but there's no route name or direction:

This is location dependent so if you have time to look deeper I am more than willing to give you a helping hand. As long as you know how to edit text file in terminal, you can debug this.

The GuidancePanel component defines this header. The text comes from either routingModel or guidanceModel. You just need to dump the variables to figure out what happened. It could be a limitation in the API or could be blocked by the various conditions defined in the if..else block.

Do you have a Symbian device for reference? If Symbian doesn't show next maneuver then you know for sure it's API limitation.

colin.stephane 2012-09-07 13:50

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Quote:

Originally Posted by tenchman (Post 1262366)
OK, here we go.

http://www.tenchio.de/patches/N9-PR1...e_button.patch

You have to apply it after applying the unstable patch. Hope it works!

Hi tenchman,

Your patch work properly, as usual, I have added it to my full patch ...

Many thanks for this new feature !!!

A++

Schturman 2012-09-07 15:11

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
colin.stephane, do you added only to full or also to unstable?

thedead1440 2012-09-07 16:03

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Quote:

Originally Posted by Schturman (Post 1262673)
colin.stephane, do you added only to full or also to unstable?


Schturman,

If you are asking about the latest patch from tenchman; its added to unstable as per colin.stephane's edits:

Quote:

Edit #11 : Added latest patch from tenchman on post #327 to transform the 2 state button "TTD, Distance" into a 3 state button "TTD, Distance and ETA" in the Unstable patch

Schturman 2012-09-07 16:09

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Thanks, i will add this to the next release of N9QT ;)

Win7Mac 2012-09-13 23:34

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Following the instructions from post #1+#130, I did in this order
- installed 'wget' in 'settings' -> 'security' -> 'developer mode' -> 'utilities'
- installed 'patch' utility
- Saved the unstable patch.diff with Win-editor in ANSI code.
- Used this console command line to install the Unstable patch:
Code:

clear && ID=$(id -un) ; if [ ${ID} != "root" ] ; then echo "You are not 'root', please use this command line as 'root' (devel-su) ..." ; else rm /root/*.diff 2>/dev/null ; wget http://bigbob.fun.free.fr/N9/Patch-t...-UNSTABLE.diff -O /root/Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE.diff && apt-get install -y --reinstall nokia-drive-qml maps && sync && patch -p0 -i /root/Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE.diff && sync ; fi
and got this Error:
Code:

miss https://downloads.maemo.nokia.com ./ maps 4.2.55+0m8
Resolving host timed out: downloads.maemo.nokia.com
miss https://downloads.maemo.nokia.com ./ nokia-drive-qml 2.0.8+0m8
Resolving host timed out: downloads.maemo.nokia.com
Error trying to catch from https://qa9recEP:Pat2UGuP@downloads....+0m8_armel.deb Resolving host timed out: downloads.maemo.nokia.com
Error trying to catch from https://qa9recEP:Pat2UGuP@downloads....+0m8_armel.deb Resolving host timed out: downloads.maemo.nokia.com
E: Some archives could not be downloaded, probly wanna try »apt-get update« or »--fix-missing«?

Words in red letters are my translations, originally it's in german.
As these version actually are installed, I didn't really care and
- went to the folder where the downloaded patch resided (name of the folder is "Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE") and typed:
Code:

cp -r /usr/lib/drive-qml /usr/lib/drive-qml-original patch -p0 -i Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE.diff
and I get:
Code:

BusyBox v1.20.0.git (MeeGo 3:1.20-0.2+0m8) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user/MyDocs/Downloads/Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE # cp -r /usr/lib/drive-qml /usr/lib/drive-qml-original patch -p0 -i Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE.diff

cp: can't stat 'Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE.diff/drive-qml': Not a directory
cp: can't stat '/usr/lib/drive-qml-original': No such file or directory
cp: can't stat 'patch': No such file or directory

/home/user/MyDocs/Downloads/Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE #

What do I have to check, what went wrong here? :confused:
I'm kinda lost...

zszabo 2012-09-14 02:31

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
You left out a semicolon, newline, or && between the cp command and the patch command. If you put a ; before "patch -p0 ..." that will fix it (assuming nothing else was overwritten).

kfahoo 2012-09-14 08:40

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Code:

Resolving host timed out: downloads.maemo.nokia.com
check whether your dns works with nslookup or/and internet connection

and like above

Code:

cp -r /usr/lib/drive-qml /usr/lib/drive-qml-original ; patch -p0 -i Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE.diff

Win7Mac 2012-09-14 10:29

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Thank you guys.

Quote:

Originally Posted by kfahoo (Post 1266175)
check whether your dns works with nslookup or/and internet connection

internet + mail works fine, but when it comes to "downloads.maemo.nokia.com" I have problems. Already posted here andhere, but no solution so far.

And indeed I missed newline before "patch -p0 -i..."

Here's what came out after correcting that:
Code:

~ # cd /home/user/MyDocs/Downloads/Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3\+ETA-UNSTABLE/

/home/user/MyDocs/Downloads/Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE # cp -r /usr/lib/drive-qml /usr/lib/drive-qml-original

/home/user/MyDocs/Downloads/Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE # patch -p0 -i Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE.diff

(Stripping trailing CRs from patch.)

patching file /usr/lib/qt4/imports/ovi/connector/map/MapSettingsUI.qml

Hunk #1 FAILED at 78.

Hunk #2 FAILED at 314.

2 out of 2 hunks FAILED -- saving rejects to file /usr/lib/qt4/imports/ovi/connector/map/MapSettingsUI.qml.rej

(Stripping trailing CRs from patch.)

patching file /usr/lib/qt4/imports/ovi/connector/map/MapViewer.qml

Hunk #1 FAILED at 453.

1 out of 1 hunk FAILED -- saving rejects to file /usr/lib/qt4/imports/ovi/connector/map/MapViewer.qml.rej

(Stripping trailing CRs from patch.)

patching file /usr/lib/qt4/imports/ovi/connector/map/MapBehaviors.qml

Hunk #1 FAILED at 207.

Hunk #2 FAILED at 235.

2 out of 2 hunks FAILED -- saving rejects to file /usr/lib/qt4/imports/ovi/connector/map/MapBehaviors.qml.rej

(Stripping trailing CRs from patch.)

patching file /usr/lib/qt4/imports/ovi/connector/map/MapApi.js

Hunk #1 FAILED at 310.

1 out of 1 hunk FAILED -- saving rejects to file /usr/lib/qt4/imports/ovi/connector/map/MapApi.js.rej

(Stripping trailing CRs from patch.)

patching file /usr/lib/drive-qml/components/qmldir

(Stripping trailing CRs from patch.)

patching file /usr/lib/drive-qml/components/styles.js

(Stripping trailing CRs from patch.)

patching file /usr/lib/drive-qml/components/InfoDistance.qml

(Stripping trailing CRs from patch.)

patching file /usr/lib/drive-qml/components/TrafficEventHeader.qml

(Stripping trailing CRs from patch.)

patching file /usr/lib/drive-qml/components/Dashboard.qml

(Stripping trailing CRs from patch.)

patching file /usr/lib/drive-qml/views/assistancePage.qml

(Stripping trailing CRs from patch.)

patching file /usr/lib/drive-qml/views/trafficDetailsPage.qml

(Stripping trailing CRs from patch.)

patching file /usr/lib/drive-qml/views/guidancePage.qml

(Stripping trailing CRs from patch.)

patching file /usr/lib/drive-qml/views/settings/mapModeSettingsPage.qml

(Stripping trailing CRs from patch.)

patching file /usr/lib/drive-qml/views/settings/assistanceModeSettingsPage.qml

(Stripping trailing CRs from patch.)

patching file /usr/lib/drive-qml/views/settings/settingsPage.qml

(Stripping trailing CRs from patch.)

patching file /usr/lib/drive-qml/views/guidanceMenuPage.qml

(Stripping trailing CRs from patch.)

patching file /usr/lib/drive-qml/models/AppSettingsModel.qml

(Stripping trailing CRs from patch.)

patching file /usr/lib/drive-qml/models/TrafficModel.qml

(Stripping trailing CRs from patch.)

patching file /usr/lib/drive-qml/models/RoutingModel.qml

(Stripping trailing CRs from patch.)

patching file /usr/lib/drive-qml/models/MapSettingsModel.qml

patch unexpectedly ends in middle of line

Hunk #5 FAILED at 158.

1 out of 5 hunks FAILED -- saving rejects to file /usr/lib/drive-qml/models/MapSettingsModel.qml.rej

/home/user/MyDocs/Downloads/Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE #

Damn!
What can I do?

thedead1440 2012-09-14 15:06

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Win7Mac,

My advice to you would be to use N9QTweak instead...It has the same patch that colin.stephane posts on here...

colin.stephane 2012-09-14 20:37

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Quote:

Originally Posted by Win7Mac (Post 1266219)
Thank you guys.


internet + mail works fine, but when it comes to "downloads.maemo.nokia.com" I have problems. Already posted here andhere, but no solution so far.

And indeed I missed newline before "patch -p0 -i..."

Here's what came out after correcting that:
Code:

~ # cd /home/user/MyDocs/Downloads/Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3\+ETA-UNSTABLE/

/home/user/MyDocs/Downloads/Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE # cp -r /usr/lib/drive-qml /usr/lib/drive-qml-original

/home/user/MyDocs/Downloads/Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE # patch -p0 -i Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE.diff

(Stripping trailing CRs from patch.)

patching file /usr/lib/qt4/imports/ovi/connector/map/MapSettingsUI.qml

Hunk #1 FAILED at 78.

Hunk #2 FAILED at 314.

2 out of 2 hunks FAILED -- saving rejects to file /usr/lib/qt4/imports/ovi/connector/map/MapSettingsUI.qml.rej

(Stripping trailing CRs from patch.)

patching file /usr/lib/qt4/imports/ovi/connector/map/MapViewer.qml

Hunk #1 FAILED at 453.

1 out of 1 hunk FAILED -- saving rejects to file /usr/lib/qt4/imports/ovi/connector/map/MapViewer.qml.rej

(Stripping trailing CRs from patch.)

patching file /usr/lib/qt4/imports/ovi/connector/map/MapBehaviors.qml

Hunk #1 FAILED at 207.

Hunk #2 FAILED at 235.

2 out of 2 hunks FAILED -- saving rejects to file /usr/lib/qt4/imports/ovi/connector/map/MapBehaviors.qml.rej

(Stripping trailing CRs from patch.)

patching file /usr/lib/qt4/imports/ovi/connector/map/MapApi.js

Hunk #1 FAILED at 310.

1 out of 1 hunk FAILED -- saving rejects to file /usr/lib/qt4/imports/ovi/connector/map/MapApi.js.rej

(Stripping trailing CRs from patch.)

patching file /usr/lib/drive-qml/components/qmldir

(Stripping trailing CRs from patch.)

patching file /usr/lib/drive-qml/components/styles.js

(Stripping trailing CRs from patch.)

patching file /usr/lib/drive-qml/components/InfoDistance.qml

(Stripping trailing CRs from patch.)

patching file /usr/lib/drive-qml/components/TrafficEventHeader.qml

(Stripping trailing CRs from patch.)

patching file /usr/lib/drive-qml/components/Dashboard.qml

(Stripping trailing CRs from patch.)

patching file /usr/lib/drive-qml/views/assistancePage.qml

(Stripping trailing CRs from patch.)

patching file /usr/lib/drive-qml/views/trafficDetailsPage.qml

(Stripping trailing CRs from patch.)

patching file /usr/lib/drive-qml/views/guidancePage.qml

(Stripping trailing CRs from patch.)

patching file /usr/lib/drive-qml/views/settings/mapModeSettingsPage.qml

(Stripping trailing CRs from patch.)

patching file /usr/lib/drive-qml/views/settings/assistanceModeSettingsPage.qml

(Stripping trailing CRs from patch.)

patching file /usr/lib/drive-qml/views/settings/settingsPage.qml

(Stripping trailing CRs from patch.)

patching file /usr/lib/drive-qml/views/guidanceMenuPage.qml

(Stripping trailing CRs from patch.)

patching file /usr/lib/drive-qml/models/AppSettingsModel.qml

(Stripping trailing CRs from patch.)

patching file /usr/lib/drive-qml/models/TrafficModel.qml

(Stripping trailing CRs from patch.)

patching file /usr/lib/drive-qml/models/RoutingModel.qml

(Stripping trailing CRs from patch.)

patching file /usr/lib/drive-qml/models/MapSettingsModel.qml

patch unexpectedly ends in middle of line

Hunk #5 FAILED at 158.

1 out of 5 hunks FAILED -- saving rejects to file /usr/lib/drive-qml/models/MapSettingsModel.qml.rej

/home/user/MyDocs/Downloads/Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3+ETA-UNSTABLE #

Damn!
What can I do?

Damn why trying to apply manually step by step things where I have made an automatic installation at post #130 ??? !!! ...

If you can't resolve 'downloads.maemo.nokia.com' FIRST FIX your dns resolution ...

Since I do not think you have manually edited name resolution on your device, then you are using a bad connection.

PLEASE FIX FIRST DNS RESOLUTION, then the automatic solution work fine ...

A++

Win7Mac 2012-09-14 21:18

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Damn, just got your patch through at a friend using his WLAN! Everything loaded from ext. servers without issues.:)

So no need for this code anymore, I assume?:
Quote:

If you use the all-in-one patch, first download it and save it in a folder of your choice. Launch terminal, login as root , go to the folder where the downloaded patch resides, type:
Code:

cp -r /usr/lib/drive-qml /usr/lib/drive-qml-original
patch -p0 -i Patch-to-enable-traffic-and-day-night-autoswitch-in-drive-for-N9-PR1.3.diff
Will try tomorrow, if every thing works fine with drive.

Quote:

If you can't resolve 'downloads.maemo.nokia.com' FIRST FIX your dns resolution ...
Must be my router at home. If I use other WLANs, sometimes it works, sometimes it doesn't. Really don't understand this crap, but will observe further.
Thanks a lot!

colin.stephane 2012-09-15 06:32

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Quote:

Originally Posted by Win7Mac (Post 1266581)
Damn, just got your patch through at a friend using his WLAN! Everything loaded from ext. servers without issues.:)

So no need for this code anymore, I assume?:

Will try tomorrow, if every thing works fine with drive.


Must be my router at home. If I use other WLANs, sometimes it works, sometimes it doesn't. Really don't understand this crap, but will observe further.
Thanks a lot!

Hi,

Glad to see you find a reliable WLAN access properly configured to let your device connect correctly to Internet and install the patch ...

Obviously, you don't need to use these "cp -r blah ... blah ... etc ..." anymore.

I have put many time to check an re-check my full patch to maximize end user installation to the simple way, taking care of users remarks post after post ...

Anyhow, since it look like it's not obvious for everyone, I have edited another time my procedure and added :

Quote:

- Mandatory, your device need to be connected to Internet !!!.
Since you have the prerequisite, now you can play with commands to install and revert modifications as long as you have a CORRECT connection to Internet.

Good playing with your Drive application !!!

A++

Win7Mac 2012-09-15 09:39

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Looks like everything works as it should. :)

Quote:

Originally Posted by colin.stephane (Post 1266653)
Obviously, you don't need to use these "cp -r blah ... blah ... etc ..." anymore.

As I already tried to apply it and your patch failed at first, are there any left-overs I should clean? If so, where, what?

Thanks for your efforts.

thedead1440 2012-09-15 09:41

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Quote:

Originally Posted by Win7Mac (Post 1266745)
Looks like everything works as it should. :)



As I already tried to apply it and your patch failed at first, are there any left-overs I should clean? If so, where, what?

Thanks for your efforts.


If you follow the patch's auto-commands it will re-install drive and maps to ensure that the left-overs or remenants of any previous patch are not present before the new patch is applied...

Win7Mac 2012-09-15 17:11

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Just wanted to give everybody involved in this awesome mod a big THANK YOU!
Your work and time spent in this project, as well as helping stupid users like me, is priceless.

To make this mod even more valuable, let's try to bring speedcam warnings to it.
A short google search brought up the following for Nokia/Navteq, probably this can be helpful?:
http://trapster.com/devices/java-j2me/
http://www.speedcamupdates.com/Nokia-330
http://www.symbian-freak.com/downloa...n/speedcam.zip
Trapster (Reach Unlimited Corp) was accuired by NAVTEQ, so maybe...

kpblxa 2012-09-15 22:28

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Quote:

Originally Posted by Win7Mac (Post 1266984)
Just wanted to give everybody involved in this awesome mod a big THANK YOU!
Your work and time spent in this project, as well as helping stupid users like me, is priceless.

To make this mod even more valuable, let's try to bring speedcam warnings to it.
A short google search brought up the following for Nokia/Navteq, probably this can be helpful?:

Trapster (Reach Unlimited Corp) was accuired by NAVTEQ, so maybe...

i'd love to be able to see speed cams... this would be the best feature for me,.,,

PIDk 2012-09-16 18:49

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
A question to community.

I am on PR 1.3 using latest colin.stephane's stable patch for Drive and separate traffic patch from sony123 for Maps.

I noticed some buggy behaviour with automatic color turned on in Drive:
  • When switching from Settings menu or Color menu back to map - map appears blanc. To see it again, you need to "refresh" it by going to Navigation options menu and back.
  • When navigating, map color doesn't switch automatically. Again, to see a right color for a current time you need to "refresh" map.

Is there any solution available to fix above behaviour?

Jef971 2012-09-18 15:26

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Quote:

Originally Posted by sony123 (Post 1262517)
This is location dependent so if you have time to look deeper I am more than willing to give you a helping hand. As long as you know how to edit text file in terminal, you can debug this.

The GuidancePanel component defines this header. The text comes from either routingModel or guidanceModel. You just need to dump the variables to figure out what happened. It could be a limitation in the API or could be blocked by the various conditions defined in the if..else block.

Do you have a Symbian device for reference? If Symbian doesn't show next maneuver then you know for sure it's API limitation.

Thanks,
Unfortunately i don't have much time to make tests on those variables.
I thought the problem was on the way they set routeName variable in GuidancePage.qml but not in routingModel or GuidanceModel.If so that sound complicated to fix.
I believe the name for the next maneuver should be the direction (city's name for example) and the route name but not only the route name which is blank for some portion of the road (as you said probably depending on the country).
I'll see if i have time to look deeper into this.

Do you know where the next maneuver name is set for the voice ?

Also as i remember i didn't have this problem on my 5800.

Thanks anyway.

chone 2012-09-19 15:03

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
At first thank you all for this well done modification

Quote:

Originally Posted by Win7Mac (Post 1266984)
To make this mod even more valuable, let's try to bring speedcam warnings to it.

But before talking about speedcam-addition on the modification... what about traffic re-routing? So if there is a traffic jam or an accident the software should automatically reroute.

Should not be so much complicated to implemend - i think.
What do you think about?

BenDover 2012-10-01 01:23

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Hey is anyone still working on the maps. A lot of the community fixes were/are invaluable. I'd love to hear that you guys hadn't given up.

PIDk 2012-10-01 09:14

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Quote:

Originally Posted by BenDover (Post 1274568)
I'd love to hear that you guys hadn't given up.

Me too. I'd like to see some comments on automatic day/night switching issue. :)

mbanck 2012-10-06 14:04

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Quote:

Originally Posted by PIDk (Post 1274692)
Me too. I'd like to see some comments on automatic day/night switching issue. :)

Well, I'd love to get this working, but it was non-trivial when I last tried and I don't have a lot of time right now. I still plan to work on it at some point, though.

Win7Mac 2012-10-07 16:10

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
I'd like to request a mod for landscape mode in MAPS.
If DRIVE can do it, MAPS could do it too I guess?

tenchman 2012-10-08 21:31

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Quote:

Originally Posted by Win7Mac (Post 1266984)
To make this mod even more valuable, let's try to bring speedcam warnings to it.

A short "grep -ri speedcam /usr/lib/qt4 /usr/lib/nokia-drive" brought to us: Nothing....

But "grep -ri safetyspot /usr/lib/qt4 /usr/lib/nokia-drive" gives a lot of useful symbols. It seems that the requested feature is already there, but disabled. Or, to be more correct, it is in the qt4 API, but not used in "drive-qml".

Unfortunately i'm currently busy with a project @work. I'm an experienced but old "plain ansi C" hacker, so, C++ and JS is a pain for me.

If some QML-Hero can have a look at this, it would be really helpful. :D

knobtviker 2012-10-08 22:34

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Quote:

Originally Posted by tenchman (Post 1278164)
A short "grep -ri speedcam /usr/lib/qt4 /usr/lib/nokia-drive" brought to us: Nothing....

But "grep -ri safetyspot /usr/lib/qt4 /usr/lib/nokia-drive" gives a lot of useful symbols. It seems that the requested feature is already there, but disabled. Or, to be more correct, it is in the qt4 API, but not used in "drive-qml".

Unfortunately i'm currently busy with a project @work. I'm an experienced but old "plain ansi C" hacker, so, C++ and JS is a pain for me.

If some QML-Hero can have a look at this, it would be really helpful. :D

When grep-ed:
/usr/lib/qt4 shows you a .so library, however, it only means that there are means for 3rd party devs to hook on the safetyspot data - if the data exists.
/usr/lib/nokia-drive doesn't exist on my phone, but that could be my problem to start with :)
/usr/lib/drive-qml exists but doesn't output anything, sorry.

tenchman 2012-10-09 17:52

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Quote:

Originally Posted by knobtviker (Post 1278181)
/usr/lib/nokia-drive doesn't exist on my phone, but that could be my problem to start with :)

Sorry, my bad. I meen nokia-maps, not nokia-drive.

tenchman 2012-10-18 22:41

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Hi,

not much at this time on the safetyspot front, but i came up with the following patch for the speedwarner:

http://www.tenchio.de/patches/N9-PR1...ner_mute.patch

It adds an additional Button "MUTE" in the speedwarner setting screen. And, surprise, surprise, it disables the annoying beep when driving to fast but keeps the display flashing.

http://www.tenchio.de/patches/2012-10-19_00-00-58.png

Sorry, screenshot is in German. ;)

balisingh 2012-10-19 06:51

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
i applied the unstable patch to pr1.3, nothin happened, no traffic or anything in either app.

thedead1440 2012-10-19 07:00

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
Quote:

Originally Posted by balisingh (Post 1282430)
i applied the unstable patch to pr1.3, nothin happened, no traffic or anything in either app.

Then you did it wrong, plain simple :p

Anyway use N9QTweak Tweak G instead for doing the same thing...Schturman updates his tweak to reflect the latest unstable patch here...

balisingh 2012-10-19 17:13

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
It seems like some failed patch code. Do you need developer mode enabbles? I have that turned off.

edit: i retried the unstable patch with developer mode enabled and it still didn't work, same errors as below.
i was however able to use the stable version, so now i have working traffic inside Drive. Thanks for your work guys.

Code:

# apt-get install -y --reinstall nokia-drive-
qml maps
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  maps nokia-drive-qml
2 upgraded, 0 newly installed, 2 reinstalled, 0 to remove and 1 not upgraded.
Need to get 4,543kB of archives.
After this operation, 0B of additional disk space will be used.
Get:1 https://downloads.maemo.nokia.com ./ maps 4.2.55+0m8 [2,726kB]
Get:2 https://downloads.maemo.nokia.com ./ nokia-drive-qml 2.0.8+0m8 [1,817kB]
Fetched 4,543kB in 5s (854kB/s)
(Reading database ... 53685 files and directories currently installed.)
Preparing to replace maps 4.2.55+0m8 (using .../maps_4.2.55+0m8_armel.deb) ...
Closing all Maps instances...
Maps closed. Exiting...
Done
Unpacking replacement maps ...
Preparing to replace nokia-drive-qml 2.0.8+0m8(using .../nokia-drive-qml_2.0.8+0m8_armel.deb) ...
Unpacking replacement nokia-drive-qml ...
aegis-installing maps (from 'com.nokia.maemo')
aegis-installing nokia-drive-qml (from 'com.nokia.maemo')
Processing triggers for desktop-file-utils ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for applauncherd-launcher ...
Setting up maps (4.2.55+0m8) ...
Setting up nokia-drive-qml (2.0.8+0m8) ...
Updating desktop entries... Done
~ # Sync
sh: Sync: not found
~ # sync
~ # patch -p0 -i /root/Patch-to-enable-traffic-
and-day-night-autoswitch-in-drive-for-N9-PR1.3\
+ETA-UNSTABLE.diff
patching file /usr/lib/qt4/imports/ovi/connector/map/MapSettingsUI.qml
Hunk #1 FAILED at 78.
Hunk #2 FAILED at 314.
2 out of 2 hunks FAILED -- saving rejects to file /usr/lib/qt4/imports/ovi/connector/map/MapSettingsUI.qml.rej
patching file /usr/lib/qt4/imports/ovi/connector/map/MapViewer.qml
Hunk #1 FAILED at 453.
1 out of 1 hunk FAILED -- saving rejects to file /usr/lib/qt4/imports/ovi/connector/map/MapViewer.qml.rej
patching file /usr/lib/qt4/imports/ovi/connector/map/MapBehaviors.qml
Hunk #1 FAILED at 207.
Hunk #2 FAILED at 235.
2 out of 2 hunks FAILED -- saving rejects to file /usr/lib/qt4/imports/ovi/connector/map/MapBehaviors.qml.rej
patching file /usr/lib/qt4/imports/ovi/connector/map/MapApi.js
Hunk #1 FAILED at 310.
1 out of 1 hunk FAILED -- saving rejects to file /usr/lib/qt4/imports/ovi/connector/map/MapApi.js.rej
patching file /usr/lib/drive-qml/components/qmldir
patching file /usr/lib/drive-qml/components/styles.js
patching file /usr/lib/drive-qml/components/InfoDistance.qml
patching file /usr/lib/drive-qml/components/TrafficEventHeader.qml
patching file /usr/lib/drive-qml/components/Dashboard.qml
patching file /usr/lib/drive-qml/views/assistancePage.qml
patching file /usr/lib/drive-qml/views/trafficDetailsPage.qml
patching file /usr/lib/drive-qml/views/guidancePage.qml
patching file /usr/lib/drive-qml/views/settings/mapModeSettingsPage.qml
patching file /usr/lib/drive-qml/views/settings/assistanceModeSettingsPage.qml
patching file /usr/lib/drive-qml/views/settings/settingsPage.qml
patching file /usr/lib/drive-qml/views/guidanceMenuPage.qml
patching file /usr/lib/drive-qml/models/AppSettingsModel.qml
patching file /usr/lib/drive-qml/models/TrafficModel.qml
patching file /usr/lib/drive-qml/models/RoutingModel.qml
patching file /usr/lib/drive-qml/models/MapSettingsModel.qml
~ # sync


Iryus 2012-10-20 11:08

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
1 Attachment(s)
@tenchman---> Just niiiiiiiiice thanks for your great job :)

Iryus 2012-10-20 12:47

Re: [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
 
1 Attachment(s)
Would it be possible to add Nokia Maps weather on the N9/N950 in your opinion? ^^


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

vBulletin® Version 3.8.8