Reply
Thread Tools
Win7Mac's Avatar
Community Council | Posts: 664 | Thanked: 1,648 times | Joined on Apr 2012 @ Hamburg
#351
I'd like to request a mod for landscape mode in MAPS.
If DRIVE can do it, MAPS could do it too I guess?
__________________
Nokia 5110 > 3310 > 6230 > N70 > N9 BLACK 64GB
Hildon Foundation Board member
Maemo Community e.V. co-creator, founder and director since Q4/2016
Current Maemo Community Council member
 
Posts: 16 | Thanked: 14 times | Joined on Aug 2012 @ Germany
#352
Originally Posted by Win7Mac View Post
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.
 

The Following User Says Thank You to tenchman For This Useful Post:
knobtviker's Avatar
Posts: 665 | Thanked: 2,388 times | Joined on Feb 2012 @ Zagreb, Croatia
#353
Originally Posted by tenchman View Post
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.
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.
 
Posts: 16 | Thanked: 14 times | Joined on Aug 2012 @ Germany
#354
Originally Posted by knobtviker View Post
/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.
 
Posts: 16 | Thanked: 14 times | Joined on Aug 2012 @ Germany
#355
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.



Sorry, screenshot is in German.
 

The Following 4 Users Say Thank You to tenchman For This Useful Post:
Posts: 278 | Thanked: 114 times | Joined on Jan 2010 @ SD, CA
#356
i applied the unstable patch to pr1.3, nothin happened, no traffic or anything in either app.
__________________
Present: 950, N1
Past: 1520, Nexus 7, Lumia 720, 928, ICON AKA 929b, Asus Transformer, Nokia N9, Nokia n97, Nokia N810 Nokia E71 Nokia E62 Nokia 6102 Sanyo Ericsson Sony
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#357
Originally Posted by balisingh View Post
i applied the unstable patch to pr1.3, nothin happened, no traffic or anything in either app.
Then you did it wrong, plain simple

Anyway use N9QTweak Tweak G instead for doing the same thing...Schturman updates his tweak to reflect the latest unstable patch here...
 
Posts: 278 | Thanked: 114 times | Joined on Jan 2010 @ SD, CA
#358
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
__________________
Present: 950, N1
Past: 1520, Nexus 7, Lumia 720, 928, ICON AKA 929b, Asus Transformer, Nokia N9, Nokia n97, Nokia N810 Nokia E71 Nokia E62 Nokia 6102 Sanyo Ericsson Sony

Last edited by balisingh; 2012-10-19 at 20:31.
 
Iryus's Avatar
Posts: 80 | Thanked: 56 times | Joined on Mar 2012 @ France
#359
@tenchman---> Just niiiiiiiiice thanks for your great job
Attached Images
 
 
Iryus's Avatar
Posts: 80 | Thanked: 56 times | Joined on Mar 2012 @ France
#360
Would it be possible to add Nokia Maps weather on the N9/N950 in your opinion? ^^
Attached Images
 
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 12:03.