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 10 of 43 | Prev |   8     9   10   11     12   20 | Next | Last
    thedead1440 | # 91 | 2012-07-11, 08:14 | Report

    its currently 4pm here and also in night mode after switching to automatic...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    godofwar424 | # 92 | 2012-07-11, 12:08 | Report

    Yeah mine stays in Night Mode and its 1:08PM here :s

    Edit | Forward | Quote | Quick Reply | Thanks

     
    slarti | # 93 | 2012-07-11, 12:11 | Report

    Could it measure ambient light, not time?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    mbanck | # 94 | 2012-07-11, 12:16 | Report

    The calculation of sunrise and sunset seems to be wrong.

    If I start drive with "drive-qml -output-level debug" on the console, I get:


    Sunset:1.4444082226241228
    Sunrise:22.555591777375877
    NOW: 14.2

    NOW is correct (2PM here), but I am in Munich, so Sunset, Sunrise are way off.

    I don't have time to debug this further for now.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to mbanck For This Useful Post:
    jd4200, MaddogG, nokiac, thedead1440

     
    Schturman | # 95 | 2012-07-11, 12:44 | Report

    i also already added this tweak to N9QT, to the next version..

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 6 Users Say Thank You to Schturman For This Useful Post:
    Hacker, jd4200, jhwan, MaddogG, smoothc, solstice88

     
    kb61 | # 96 | 2012-07-11, 12:56 | Report

    Originally Posted by jd4200 View Post
    Thanks sony123, a real nice find.
    Here's an automated method (completely safe and reversable) to take away the tedious work.

    Download this shell script, rename it to maps.sh
    Download one, or both, of these patches:
    traffic patch, rename it to traffic.patch
    day patch, rename it to day.patch

    Place maps.sh and both/either of the patches into the same directory on the N9 and, as root, cd to where you copied them and run
    Code:
    sh ./maps.sh
    If you are told a patch has already been applied and asked about a reversal, just anser "n" (no) to all the questions.

    If you want to restore the original files then, as root, run:
    Code:
    rm -rf /usr/lib/drive-qml
    apt-get install --reinstall nokia-drive-qml
    doesnt work for me, it says "line 1: syntax error: unexpected new line"

    Edit | Forward | Quote | Quick Reply | Thanks

     
    thedead1440 | # 97 | 2012-07-11, 14:21 | Report

    did you modify the file after downloading it? it could be you've pressed the enter key on the first line of the file hence the error...this is what is my knowledge...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    jd4200 | # 98 | 2012-07-11, 14:42 | Report

    Confirmed that day/night does not seem to be automatically switching; the changes for the patch where taken directly from what Nieldk and Arie discovered, so unless I've made a mistake with the patch, I'll need to wait for either of them to re-confirm it is working for them.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    solstice88 | # 99 | 2012-07-11, 15:33 | Report

    Originally Posted by mbanck View Post
    The calculation of sunrise and sunset seems to be wrong.

    If I start drive with "drive-qml -output-level debug" on the console, I get:
    The numbers i seem to be getting in TX, US

    Sunrise = 7.5236543734
    Sunset = 16.4763456265
    NOW 10.4

    looks to be really close. quite possibly an hr or two off. NOW is about 10am

    Edit | Forward | Quote | Quick Reply | Thanks

     
    mbanck | # 100 | 2012-07-11, 15:37 | Report

    Huh, the sun is setting at 4PM in Texas right now??

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

     
    Page 10 of 43 | Prev |   8     9   10   11     12   20 | Next | Last
vBulletin® Version 3.8.8
Normal Logout