Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

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

    Reply
    Page 2 of 43 | Prev |   1   2   3     4   12 | Next | Last
    rash.m2k | # 11 | 2012-07-09, 09:51 | Report

    Originally Posted by aShtk View Post
    models/AppSettingsModel.qml: 3 lines, line 23/165/180

    You uncomment true and you comment false ?
    This is not clear.
    Nope they are ALL set to false, he is setting to true, if yours are true then you must have changed it.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    aShtk | # 12 | 2012-07-09, 09:59 | Report

    That's what I said, read again xD

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to aShtk For This Useful Post:
    colin.stephane

     
    colin.stephane | # 13 | 2012-07-09, 10:09 | Report

    Originally Posted by aShtk View Post
    models/AppSettingsModel.qml: 3 lines, line 23/165/180

    You uncomment true and you comment false ?
    This is not clear.
    Thanks you to pointing out the modifications explanations are not clear at all ...

    A++

    Edit | Forward | Quote | Quick Reply | Thanks

     
    rash.m2k | # 14 | 2012-07-09, 10:13 | Report

    ALRIGHT brilliant!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!

    This is definitely the BEST surprise I have had since owning the Nokia N9.

    Thank you so much!

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by rash.m2k; 2012-07-09 at 10:15.

     
    nieldk | # 15 | 2012-07-09, 10:14 | Report

    modified the files (pr1.3) - a few differences from OP.
    Seems traffic is working, but navigation stopped working (stuck after choosing destination)

    EDIT: my mistake, works absolutely great on pr1.3

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by nieldk; 2012-07-09 at 10:42.

     
    nieldk | # 16 | 2012-07-09, 10:16 | Report

    on pr1.3 as root in terminal

    apt-get update
    apt-get install --reinstall nokia-drive-qml

    will restore app, in case you f... up

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to For This Useful Post:
    jah25, jhwan, mtomaska

     
    aShtk | # 17 | 2012-07-09, 10:17 | Report

    If you have never coded anything in your life, it can be tricky to know how to uncomment lines.


    A comment line begins by //
    But you can comment several line of codes using /* then */ or something like that.


    Example : models/AppSettingsModel.qml: 3 lines, line 23/165/180

    Line 23 :

    traffic: true

    Line 166 :
    trafficOn = get('traffic');

    Line 180 :
    trafficOn = get('allowConnections') && get('mapSensor') && get('traffic') && device.online;



    Example 2 : views/settings/settingsPage.qml: line 72, un-comment the whole ButtomItem {}.


    /** TODO: uncomment when management makes up their minds
    ButtonItem {
    id: traffic
    itemId: "traffic"
    title: qsTrId("qtn_drive_traffic_settings_item")
    subtitle: trafficSettingsSubtitle();
    iconUrl: "../../resources/traffic/list_item/traffic_on.png"
    }
    */

    HAS TO BECOME :

    ButtonItem {
    id: traffic
    itemId: "traffic"
    title: qsTrId("qtn_drive_traffic_settings_item")
    subtitle: trafficSettingsSubtitle();
    iconUrl: "../../resources/traffic/list_item/traffic_on.png"
    }

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 6 Users Say Thank You to aShtk For This Useful Post:
    colin.stephane, Iryus, pedroesteban, shanttu, sony123, Transcend

     
    Arie | # 18 | 2012-07-09, 10:23 | Report

    Retested again... Works on PR1.2

    I'll upload this for anyone that's using PR1.2 and PR1.3

    drop this in MyDocs
    devel-su
    rootme
    cp -R drive-qml /usr/lib/

    https://www.dropbox.com/s/27zgzbxyqqyktpf/drive-qml.zip

    File edited to include automatic night/day setting

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Arie; 2012-07-10 at 20:43.
    The Following 14 Users Say Thank You to Arie For This Useful Post:
    abuli, aShtk, baem90, Iryus, jhwan, Jordi, Kozzi, solstice88, sony123, superjunior, thedead1440, Transcend, venomcortx1, wout.martens

     
    colin.stephane | # 19 | 2012-07-09, 10:38 | Report

    I continue thinking a unified diff patch file was the best to keep modifications safe with easy possibility to reverse ...

    A++

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to colin.stephane For This Useful Post:
    sony123

     
    Arie | # 20 | 2012-07-09, 10:39 | Report

    Originally Posted by colin.stephane View Post
    I continue thinking a unified diff patch file was the best to keep modifications safe with easy possibility to reverse ...

    A++
    It couldn't be easier than this...

    Use my file to modify it, and to revert back to stock in terminal:
    apt-get --reinstall install nokia-drive-qml

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Arie For This Useful Post:
    thedead1440

     
    Page 2 of 43 | Prev |   1   2   3     4   12 | Next | Last
vBulletin® Version 3.8.8
Normal Logout