![]() |
Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
-sh: patch: Operation not permitted etc etc in root user
|
Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
I found how to do that thank you for these patches colin.stephane :D
|
Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
Hi all,
Glad to see you have been patient, so, sony123 ask me to give you the most awaited patch to be able to switch from Distance to Time To Destination ... I have tested successfully during mid time to go restaurant, it worked like expected. As usual, I have updated my full patch in section Unstable ... Please report it worked properly on your device then I can remove the Unstable section to keep only one full patch as Stable. Also, don't forget to thanks : - sony123. - nieldk. - Arie. - mbanck. - nailwood. - jd4200. Because nothing can be done without all these guys working on there free time to debug, fix & enhance Nokia Drive application for our precious ... A++ |
Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
Quote:
Or just make a patch that ONLY contains this TTD fix. |
Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
Quote:
He sent me the full tree of '/usr/lib/drive-qml/' then I made a script to automatically track change between his work and the original files, and generate the unified diff file ... So, I have no differential patch to provide. By the way even reviewing the full patch by yourself doesn't require more than 5 minutes ... A++ |
Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
Quote:
i'll be able to test during the weekend long and hard. Thanks at all for the hard and good work. |
Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
Quote:
|
Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
Quote:
|
Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
So about traffic and taking it into account for routing:
in models/RoutingModel.qml, line 44 reads: routeType: RouteOptions.TYPE_FASTEST RouteOptions.TYPE_FASTEST translates to "1" if you print it out on the console. If I change that to routeType: RouteOptions.TYPE_SHORTEST that translates to "2", and I actually get the shortest route (will dismiss highways etc.). Now I bet that the underlying code actually allows for traffic to be taken into account, my old Symbian Ovi Maps routing has an option "optimal", however RouteOptions.TYPE_OPTIMAL or RouteOptions.TYPE_OPTIMIZED does not seem to work (you get an error like "unable to assign [undefined] to int routeType" on the console). However, when I set it to "3" manually via a property, I do not get an error. On the other hand, on some initial tests, traffic jams do not seem to get evaded either, so I am not sure what it means. But if people want to test around, here is a patch: http://paste.debian.net/download/179798 (Setting routeOptionType to 2 instead of 3 clearly selects the shortest route for me) |
Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
I reinstalled drive-qml and applied your full unstable patch.
When I choose automatic for day/night mode, it shows only a blank ui without map data. Was working well with latest full stable patch. http://www.abload.de/img/2012-07-19_17-35-457zktw.png |
All times are GMT. The time now is 07:27. |
vBulletin® Version 3.8.8