Page 14 of 875 FirstFirst ... 41213141516 24 64 114 514 ... LastLast
Results 261 to 280 of 17494

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: UniAW6.0 for iph4 & iph5

  1. #261
    So how many of us are just sitting looking at this page refreshing it every minute hoping for an answer LOL

    If Dacal's green light goes off I'm gonna die!

  2. The Following 8 Users Say Thank You to <Ian Nicoll/> For This Useful Post:

    cuzin (04-03-2013), Dacal (04-03-2013), Hip5 (04-03-2013), iamaqtpa2t (04-03-2013), Korazu (04-03-2013), kristatos (04-03-2013), mrsmickey (04-21-2013), SHARON1O (04-04-2013)

  3. #262
    Don't use the location.zip i have given (i'm late, must go to work). Just replace the lines i quoted in yours.


    My themes : Jade HD, Silex HD, BaSalt HD,ToPaz
    All are on Cydia and/or Theme It.

  4. The Following 6 Users Say Thank You to Dacal For This Useful Post:

    <Ian Nicoll/> (04-03-2013), Cloud2Ground (04-03-2013), cuzin (04-03-2013), Hip5 (04-03-2013), King_O_Hill (04-03-2013), mrsmickey (04-21-2013)

  5. #263
    My iPhone is a Part of Me cuzin's Avatar
    Join Date
    Aug 2011
    Location
    The Desert
    Posts
    520
    Thanks
    1,501
    Thanked 1,344 Times in 379 Posts

    Quote Originally Posted by ian nicoll View Post
    so how many of us are just sitting looking at this page refreshing it every minute hoping for an answer lol :d

    if dacal's green light goes off i'm gonna die!
    lmao!!

  6. The Following 3 Users Say Thank You to cuzin For This Useful Post:

    <Ian Nicoll/> (04-03-2013), Hip5 (04-03-2013), King_O_Hill (04-03-2013)

  7. #264
    Quote Originally Posted by Dacal View Post
    Don't use the location.zip i have given (i'm late, must go to work). Just replace the lines i quoted in yours.
    Tried that already M8

    I think there is something up with the single quotes and double quotes!
    Last edited by <Ian Nicoll/>; 04-03-2013 at 01:50 AM.

  8. The Following 4 Users Say Thank You to <Ian Nicoll/> For This Useful Post:

    cuzin (04-03-2013), Hip5 (04-03-2013), King_O_Hill (04-03-2013), mrsmickey (04-21-2013)

  9. #265
    My iPhone is a Part of Me lostinthemes's Avatar
    Join Date
    Dec 2010
    Location
    Istanbul, Turkey
    Posts
    575
    Thanks
    6,766
    Thanked 457 Times in 219 Posts

    Congratulations Dacal
    Its working perfectly....
    You saved the community again...

  10. The Following 3 Users Say Thank You to lostinthemes For This Useful Post:

    cuzin (04-03-2013), Hip5 (04-03-2013), King_O_Hill (04-03-2013)

  11. #266
    My iPhone is a Part of Me cuzin's Avatar
    Join Date
    Aug 2011
    Location
    The Desert
    Posts
    520
    Thanks
    1,501
    Thanked 1,344 Times in 379 Posts

    Quote Originally Posted by Dacal View Post
    Don't use the location.zip i have given (i'm late, must go to work). Just replace the lines i quoted in yours.
    I did, now I'm back to Internet?!

    This is what I have now...

    // GET WOEID FOR THE NEW LOCATION
    var url = 'http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20geo.placefinder%20where% 20text%3D"'+latitude+'%2C'+longitude+'"%20and%20gf lags%3D"R"&format=json&callback='
    $.getJSON(url, function(data) {
    found = data.query.count; // Check if coordinates return a valid localization.
    if ( found == 1) {
    // clearInterval(refreshWeatherTimer);
    var woeid = data.query.results.Result.woeid;
    city = data.query.results.Result.city;
    neighborhood = data.query.results.Result.neighborhood;
    state = data.query.results.Result.state;

    // GET OLD LOCALE FROM WOEID



    We can figure it later Dacal, thanks for the help!

    Quote Originally Posted by lostinthemes View Post
    Congratulations Dacal
    Its working perfectly....
    You saved the community again...
    What did you do?

    Hmmm, must look closer.

  12. The Following 3 Users Say Thank You to cuzin For This Useful Post:

    <Ian Nicoll/> (04-03-2013), Hip5 (04-03-2013), King_O_Hill (04-03-2013)

  13. #267
    Quote Originally Posted by lostinthemes View Post
    Congratulations Dacal
    Its working perfectly....
    You saved the community again...
    Really?

  14. The Following 4 Users Say Thank You to <Ian Nicoll/> For This Useful Post:

    cuzin (04-03-2013), Hip5 (04-03-2013), King_O_Hill (04-03-2013), mrsmickey (04-21-2013)

  15. #268
    My iPhone is a Part of Me lostinthemes's Avatar
    Join Date
    Dec 2010
    Location
    Istanbul, Turkey
    Posts
    575
    Thanks
    6,766
    Thanked 457 Times in 219 Posts

    Quote Originally Posted by Ian Nicoll View Post
    Really?
    Yes man I have my location on UniAW6
    Not the coordinates yet but it cause of my place, I use neighborhood

  16. The Following 2 Users Say Thank You to lostinthemes For This Useful Post:

    Hip5 (04-03-2013), King_O_Hill (04-03-2013)

  17. #269
    My iPhone is a Part of Me cuzin's Avatar
    Join Date
    Aug 2011
    Location
    The Desert
    Posts
    520
    Thanks
    1,501
    Thanked 1,344 Times in 379 Posts

    Quote Originally Posted by lostinthemes View Post
    Yes man I have my location on UniAW6
    Not the coordinates yet but it cause of my place, I use neighborhood
    Can you post your location.js?

  18. The Following 2 Users Say Thank You to cuzin For This Useful Post:

    Hip5 (04-03-2013), King_O_Hill (04-03-2013)

  19. #270
    Quote Originally Posted by lostinthemes View Post
    Yes man I have my location on UniAW6
    Not the coordinates yet but it cause of my place, I use neighborhood
    You should still get coordinates, I think you on woeid code.

  20. The Following 3 Users Say Thank You to <Ian Nicoll/> For This Useful Post:

    Hip5 (04-03-2013), King_O_Hill (04-03-2013), mrsmickey (04-21-2013)

  21. #271
    My iPhone is a Part of Me lostinthemes's Avatar
    Join Date
    Dec 2010
    Location
    Istanbul, Turkey
    Posts
    575
    Thanks
    6,766
    Thanked 457 Times in 219 Posts

    -img_0766.png

    No gps is true and sisli is the district Iam in

  22. The Following 3 Users Say Thank You to lostinthemes For This Useful Post:

    Hip5 (04-03-2013), It's Mi (04-18-2013), King_O_Hill (04-03-2013)

  23. #272
    Quote Originally Posted by lostinthemes View Post
    -img_0766.png

    No gps is true and sisli is the district Iam in
    Please post your location.js so we can test.

  24. The Following 3 Users Say Thank You to <Ian Nicoll/> For This Useful Post:

    Hip5 (04-03-2013), King_O_Hill (04-03-2013), mrsmickey (04-21-2013)

  25. #273
    My iPhone is a Part of Me lostinthemes's Avatar
    Join Date
    Dec 2010
    Location
    Istanbul, Turkey
    Posts
    575
    Thanks
    6,766
    Thanked 457 Times in 219 Posts

    //-----------------------------------------------------------------------------------------------------------
    //-----------------------------------------------------------------------------------------------------------
    // Author : Vivek Thakur
    // Date : 25 Feb 2012
    //-----------------------------------------------------------------------------------------------------------
    //-----------------------------------------------------------------------------------------------------------
    // Modified by Dacal.
    //-----------------------------------------------------------------------------------------------------------
    //-----------------------------------------------------------------------------------------------------------

    var prevlatitude = "";
    var prevlongitude = "";
    var city = "";
    var textLat;
    var textLong;

    function UpdateLocation() {
    refreshLocationTimer = setTimeout(UpdateLocation, 20*1000);
    jQuery.get('file:///private/var/mobile/Documents/myLocation.txt', function(appdata) {
    //jQuery.get('myLocation.txt', function(appdata) {
    var myvar = appdata;
    var substr = appdata.split('\n');
    var templatitude=(substr[0]).split('=');
    var templongitude=(substr[1]).split('=');
    var latitude = $.trim(templatitude[1]);
    var longitude = $.trim(templongitude[1]);

    if ((prevlatitude != latitude) || (prevlongitude != longitude)) {
    if (latitude < 0) { textLat = Math.round(latitude*100)/100 + "\u00B0" + "S"; }
    else if (latitude > 0){ textLat = Math.round(latitude*100)/100 + "\u00B0" + "N"; }
    else { textLat = Math.round(latitude*100)/100 + "\u00B0"; }
    if (longitude < 0) { textLong = Math.round(longitude*100)/100 + "\u00B0" + "W"; }
    else if (longitude > 0) { textLong = Math.round(longitude*100)/100 + "\u00B0" + "E"; }
    else { textLong = Math.round(longitude*100)/100 + "\u00B0"; }
    prevlatitude = latitude;
    prevlongitude = longitude;

    // GET WOEID FOR THE NEW LOCATION
    // var url = "http://where.yahooapis.com/geocode?location=" + latitude + "+" + longitude + "&gflags=R&flags=J";
    var url = 'http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20geo.placefinder%20where% 20text%3D"'+latitude+'%2C'+longitude+'"%20and%20gf lags%3D"R"&format=json&callback='
    $.getJSON(url, function(data) {
    found = data.query.count; // Check if coordinates return a valid localization.
    if ( found == 1) {
    var woeid = data.query.results.Result.woeid;
    city = data.query.results.Result.city;
    neighborhood = data.query.results.Result.neighborhood;
    state = data.query.results.Result.state;

    if ((UseNeighborhood == true) && (neighborhood != "")) { city = neighborhood; }
    else if (UseNeighborhood == true) { city = state; }

    // GET OLD LOCALE FROM WOEID
    var url = "http://weather.yahooapis.com/forecastrss?w="+woeid+"&u=f";
    $.get(url, function(data) {
    title = $(data).find('title').text(); // Check if a city is found.
    if (title != "Yahoo! Weather - ErrorCity not found") {
    gps = true;
    zip = $(data).find('guid').text().split('_')[0];
    if ((UseCityGPS == false) && (UseNeighborhood == false)) { city = $(data).find('location').attr('city'); }
    TextColor = "TextColorGrey";
    weatherRefresherTemp(zip); // Refresh weather as specified in Config.js.
    } else {
    if ( xmldata == false ) { // Back to locale, but keep the 20s refresh for GPS localization.
    gps = false;
    TextColor = "TextColorGrey";
    validateWeatherLocation(escape(locale).replace(/^%u/g, "%"), setPostal);
    } else {
    gps = true;
    TextColor = "TextColorRed";
    weatherRefresherTemp(zip); // Keep the latest valid zip to update the weather.
    }
    }
    }).error(function() {
    if (xmldata == false) {
    dealWithWeather ({error:true});
    } else {
    document.getElementById("coordinates").className = "TextColorRed";
    document.getElementById("coordinates").innerHTML = "[Offline]";
    }
    });
    } else {
    if ( xmldata == false) { // No data. Keep weather or back to locale, maintain the 20s refresh for GPS localization.
    gps = false;
    TextColor = "TextColorGrey";
    validateWeatherLocation(escape(locale).replace(/^%u/g, "%"), setPostal);
    } else {
    document.getElementById("coordinates").className = "TextColorRed";
    document.getElementById("coordinates").innerHTML = "[Offline]";
    }
    }
    }).error(function() {
    if (xmldata == false) {
    dealWithWeather ({error:true});
    } else {
    document.getElementById("coordinates").className = "TextColorRed";
    document.getElementById("coordinates").innerHTML = "[Offline]";
    }
    });
    }
    }).error(function() {
    clearTimeout(refreshLocationTimer); // No myLocation.txt file, stop GPS mode.
    gps = false;
    TextColor = "TextColorGrey";
    validateWeatherLocation(escape(locale).replace(/^%u/g, "%"), setPostal);
    });
    }

  26. The Following 5 Users Say Thank You to lostinthemes For This Useful Post:

    <Ian Nicoll/> (04-03-2013), Hip5 (04-03-2013), King_O_Hill (04-03-2013), kristatos (04-03-2013), Mr.Coffee (04-24-2013)

  27. #274
    Thanks for posting it but it's not working.

  28. The Following 4 Users Say Thank You to <Ian Nicoll/> For This Useful Post:

    cuzin (04-03-2013), Hip5 (04-03-2013), King_O_Hill (04-03-2013), mrsmickey (04-21-2013)

  29. #275
    My iPhone is a Part of Me cuzin's Avatar
    Join Date
    Aug 2011
    Location
    The Desert
    Posts
    520
    Thanks
    1,501
    Thanked 1,344 Times in 379 Posts

    Quote Originally Posted by lostinthemes View Post
    CODE
    I just replaced my location.js with that complete code, copy/paste...no different for me. Still doesn't work.

  30. The Following 2 Users Say Thank You to cuzin For This Useful Post:

    Hip5 (04-03-2013), King_O_Hill (04-03-2013)

  31. #276
    Quote Originally Posted by NewdestinyX View Post
    I nominate Raz to 'lead us out of the wilderness into new lands unknown'.. Are you willing Raz????
    I honestly think that Dacal is the person to show you the path.
    First of all, Dacal is an upmost coder, he is coding in a much cleaner style then I do (I am messy and often use the crowbar ).
    Secondly, nobody else knows your codes as good as Dacal.
    If Dacal thinks that WWO might be a serious alternative to Yahoo I am sure he would use it.
    I rather concentrate on getting the ideas my brain cooks up into working code LOL
    Nothing is impossible only miracles take a bit longer!

  32. The Following 7 Users Say Thank You to rasputin007 For This Useful Post:

    <Ian Nicoll/> (04-03-2013), Cloud2Ground (04-03-2013), cuzin (04-03-2013), Dacal (04-03-2013), Hip5 (04-03-2013), King_O_Hill (04-03-2013), The_Durben (04-03-2013)

  33. #277
    Quote Originally Posted by cuzin View Post
    I just replaced my location.js with that complete code, copy/paste...no different for me. Still doesn't work.
    Guys, send me your coordinates.


    My themes : Jade HD, Silex HD, BaSalt HD,ToPaz
    All are on Cydia and/or Theme It.

  34. The Following 5 Users Say Thank You to Dacal For This Useful Post:

    Cloud2Ground (04-03-2013), cuzin (04-03-2013), Hip5 (04-03-2013), King_O_Hill (04-03-2013), mrsmickey (04-21-2013)

  35. #278
    My iPhone is a Part of Me cuzin's Avatar
    Join Date
    Aug 2011
    Location
    The Desert
    Posts
    520
    Thanks
    1,501
    Thanked 1,344 Times in 379 Posts

    Though it does work with that code if I turn GPS off & use WOEID, same as before.

  36. The Following 2 Users Say Thank You to cuzin For This Useful Post:

    Hip5 (04-03-2013), King_O_Hill (04-03-2013)

  37. #279

  38. #280
    Hi, someone can try with this location.js in Uniaw 6.0 ?

    https://www.dropbox.com/s/ittml020n0whul1/location.zip


    My themes : Jade HD, Silex HD, BaSalt HD,ToPaz
    All are on Cydia and/or Theme It.

  39. The Following 11 Users Say Thank You to Dacal For This Useful Post:

    Cloud2Ground (04-03-2013), cuzin (04-03-2013), ferlop15 (04-05-2013), GUNNY29 (04-03-2013), Hip5 (04-03-2013), It's Mi (04-04-2013), King_O_Hill (04-03-2013), mrsmickey (04-21-2013), NewD (04-03-2013), rasputin007 (04-03-2013), The_Durben (04-03-2013)

Page 14 of 875 FirstFirst ... 41213141516 24 64 114 514 ... LastLast
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •