Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: GPS Based HTML Lockscreen Weather Theme
is a discussion within theiPhone 4|4S New Skins / Themes Launches
forums, a part of theNew Skins / Themes Launches
section;Originally Posted by rasputin007 UPDATE Due to 2 factors coming up again and again I have changed the GPS web server packages. Firstly they include lighttpd and PHP as dependencies,
...-
05-31-2012, 06:16 PM #1581The BatGirl
- Join Date
- Mar 2012
- Location
- @TheMamaJaay
- Posts
- 3,250
- Thanks
- 2,323
- Thanked 9,047 Times in 2,446 Posts
-
The Following 3 Users Say Thank You to MamaJaay For This Useful Post:
hemptation (05-31-2012), James77614 (08-19-2012), KraXik (06-01-2012)
-
05-31-2012, 07:38 PM #1582King Kong ain't got nothing on me!
- Join Date
- Apr 2011
- Location
- USA
- Posts
- 5,087
- Thanks
- 24,683
- Thanked 8,231 Times in 3,201 Posts
MyLocation App update for 5.1.1 - 6.1.2 from bushe! Incase you are having problems, this app is working fine. You may need an updated location.js file. If it has been updated, and still not updating go to settings/general/reset and reset all settings, this will not affect your JB!
Download these Instructions - Instructions!
To install the MyLocation app, just add my repo and install it! - http://cydia.myrepospace.com/kohidevice/
-
The Following 3 Users Say Thank You to King_O_Hill For This Useful Post:
betonblack (09-05-2012), KraXik (06-01-2012), pnunez1310 (06-01-2012)
-
05-31-2012, 09:08 PM #1583
Sure! You will need a Google Latitude account for this!
Login into your Google Latitude account.
Enable Location History in History Settings.
Get your LatitudeID in Application Settings.
var LatitudeID = your Google Latitude ID
function getLocation(){
var JSONfeed = "http://www.google.com/latitude/apps/badge/api?user=" + LatitudeID + "&type=json"
$.getJSON(JSONfeed, function(data){
latitude = data.features[0].geometry.coordinates[0];
longitude = data.features[0].geometry.coordinates[1];
retrieveLocation();
});
}
function retrieveLocation(){
if (prevlatitude != latitude || prevlongitude != longitude){
var url = "http://where.yahooapis.com/geocode?location=" + latitude + "+" + longitude + "&gflags=R&flags=J"
$.getJSON(url, function(data){
woeid = data.ResultSet.Results[0].woeid;
city = data.ResultSet.Results[0].city;
prevlatitude = latitude;
prevlongitude = longitude;
});
}
}
-
The Following 8 Users Say Thank You to gadezu For This Useful Post:
chevymusclecar (06-02-2012), cuzin (06-01-2012), jjk454ss (06-01-2012), King_O_Hill (06-01-2012), KraXik (06-01-2012), metaserph (06-01-2012), rasputin007 (06-01-2012), The_Durben (06-01-2012)
-
06-01-2012, 12:42 AM #1584My iPhone is a Part of Me
- Join Date
- Aug 2009
- Location
- UK
- Posts
- 507
- Thanks
- 251
- Thanked 1,474 Times in 351 Posts
-
The Following 4 Users Say Thank You to rasputin007 For This Useful Post:
chevymusclecar (06-02-2012), King_O_Hill (06-01-2012), KraXik (06-01-2012), The_Durben (06-01-2012)
-
06-01-2012, 03:59 AM #1585Theme Creator
- Join Date
- Nov 2010
- Location
- Tunis, Tunisie
- Posts
- 1,499
- Thanks
- 1,928
- Thanked 5,475 Times in 1,118 Posts
+1 !!! I will try.
Found a location.plist file in Latitude app... Must look if we can open this file easily (i checked : not crypted).
Must work with a symlink in Documents folder... Unfortunatly, need to create it manually. But after that, i think we can use the old way with some minor adjustments.
Crazy, are you planned to update your tweak soon ?
-
The Following 5 Users Say Thank You to Dacal For This Useful Post:
chevymusclecar (06-02-2012), cuzin (06-01-2012), King_O_Hill (06-01-2012), KraXik (06-01-2012), The_Durben (06-01-2012)
-
06-01-2012, 05:29 AM #1586
-
The Following 3 Users Say Thank You to gadezu For This Useful Post:
King_O_Hill (06-01-2012), KraXik (06-01-2012), The_Durben (06-01-2012)
-
06-01-2012, 05:48 AM #1587Theme Creator
- Join Date
- Nov 2010
- Location
- Tunis, Tunisie
- Posts
- 1,499
- Thanks
- 1,928
- Thanked 5,475 Times in 1,118 Posts
-
The Following 4 Users Say Thank You to Dacal For This Useful Post:
cuzin (06-01-2012), King_O_Hill (06-01-2012), KraXik (06-01-2012), The_Durben (06-01-2012)
-
06-01-2012, 06:58 AM #1588
-
The Following 3 Users Say Thank You to gadezu For This Useful Post:
King_O_Hill (06-01-2012), KraXik (06-01-2012), The_Durben (06-01-2012)
-
06-01-2012, 08:58 AM #1589Theme Creator
- Join Date
- Nov 2010
- Location
- Tunis, Tunisie
- Posts
- 1,499
- Thanks
- 1,928
- Thanked 5,475 Times in 1,118 Posts
-
The Following 4 Users Say Thank You to Dacal For This Useful Post:
King_O_Hill (06-01-2012), KraXik (06-01-2012), lostinthemes (06-04-2012), The_Durben (06-01-2012)
-
06-01-2012, 09:16 AM #1590The Mechanic
- Join Date
- Aug 2010
- Location
- Vancouver Canada
- Posts
- 7,466
- Thanks
- 29,888
- Thanked 34,706 Times in 6,594 Posts
You're awesome Dacal
I found that last night after the post with the script.
I was going to message you today that there was a location.plist with the lat/long in it
Google Latitude does use the location service when left on but you can choose to get your location and leave off after. Not sure how much it will affect battery being left on. Have to check it out further.
-
The Following 4 Users Say Thank You to The_Durben For This Useful Post:
cuzin (06-01-2012), Dacal (06-01-2012), King_O_Hill (06-01-2012), KraXik (06-01-2012)
-
06-01-2012, 09:38 AM #1591Theme Creator
- Join Date
- Nov 2010
- Location
- Tunis, Tunisie
- Posts
- 1,499
- Thanks
- 1,928
- Thanked 5,475 Times in 1,118 Posts
-
The Following 6 Users Say Thank You to Dacal For This Useful Post:
cuzin (06-01-2012), King_O_Hill (06-01-2012), KraXik (06-01-2012), lostinthemes (06-04-2012), stratnik (06-01-2012), The_Durben (06-01-2012)
-
06-01-2012, 09:53 AM #1592The Mechanic
- Join Date
- Aug 2010
- Location
- Vancouver Canada
- Posts
- 7,466
- Thanks
- 29,888
- Thanked 34,706 Times in 6,594 Posts
Thanks my man! I'll throw this on a widget and run it today with latitude location turned on and see the performance.
Any way to have it be able to not set a symlink manually?
Only asking because a lot of users would not be able to do this easily.
I can see the PMs now.....lol
Regardless it works no problem.

Leaving location on I'll see what this does to the battery.Last edited by The_Durben; 06-01-2012 at 10:08 AM.

-
The Following 5 Users Say Thank You to The_Durben For This Useful Post:
cuzin (06-01-2012), King_O_Hill (06-01-2012), KraXik (06-01-2012), rumcajs (06-01-2012), stratnik (06-01-2012)
-
06-01-2012, 10:09 AM #1593Theme Creator
- Join Date
- Nov 2010
- Location
- Tunis, Tunisie
- Posts
- 1,499
- Thanks
- 1,928
- Thanked 5,475 Times in 1,118 Posts
-
The Following 6 Users Say Thank You to Dacal For This Useful Post:
cuzin (06-01-2012), King_O_Hill (06-01-2012), KraXik (06-01-2012), metaserph (06-01-2012), stratnik (06-01-2012), The_Durben (06-01-2012)
-
06-01-2012, 10:19 AM #1594The Mechanic
- Join Date
- Aug 2010
- Location
- Vancouver Canada
- Posts
- 7,466
- Thanks
- 29,888
- Thanked 34,706 Times in 6,594 Posts
Yeah that's going to be different I think for all people who install it.
But it works
Great job Dacal and very nice find/work gadezu!
Amazing thing this tweak by crazy has created.
Between the MyLocation app, rasputins work around, using Google apps we now have multiple ways to grab our weather location easily.
My personal thanks to all who have been involved here from the beginning.
Great work done in this thread
Last edited by The_Durben; 06-01-2012 at 11:09 AM.

-
The Following 8 Users Say Thank You to The_Durben For This Useful Post:
cuzin (06-01-2012), Dacal (06-01-2012), King_O_Hill (06-01-2012), KraXik (06-01-2012), lostinthemes (06-04-2012), metaserph (06-01-2012), rasputin007 (06-01-2012), stratnik (06-01-2012)
-
06-01-2012, 12:46 PM #1595My iPhone is a Part of Me
- Join Date
- Aug 2009
- Location
- UK
- Posts
- 507
- Thanks
- 251
- Thanked 1,474 Times in 351 Posts
As the saying goes: "There is more then one way to skin a cat!"

Symlinks ....hmmmm!
Usually those app folder all have a UUID, but iFile has the option to display the App name instead of the UUID. Would be nice if that would work for a symlink as well.
Anyway it is not too hard to create symlinks with iFile, even for novices, it is the same procedure as copying a file, only last step is "create link" instead of "paste".Last edited by rasputin007; 06-01-2012 at 12:58 PM.
-
The Following 5 Users Say Thank You to rasputin007 For This Useful Post:
Dacal (06-01-2012), King_O_Hill (06-01-2012), KraXik (06-01-2012), metaserph (06-01-2012), stratnik (06-01-2012)
-
06-01-2012, 01:05 PM #1596The Mechanic
- Join Date
- Aug 2010
- Location
- Vancouver Canada
- Posts
- 7,466
- Thanks
- 29,888
- Thanked 34,706 Times in 6,594 Posts
That's the truth
Symlinks are easy. At least for people who read. App info would also help them out
But as we see, people still ask if the MyLocation is working lol.
By the way I tested with direct link to the plist in the app using the app name as I have AppInfo and I'd does not work. Needs to be the app uuid
** Just to note, leaving the Google app running does impact battery
Not really a concern for me as I used MyLocation app in the off state and updated as I moved.
Same with using rasputins way at present as well basically.
I'd use this but only open the app to get a new location and turn it off after.
Still a great alternative at this point until crazy gets his app compatible.Last edited by The_Durben; 06-01-2012 at 01:47 PM.

-
The Following 7 Users Say Thank You to The_Durben For This Useful Post:
bombmom (06-01-2012), chevymusclecar (06-02-2012), cuzin (06-01-2012), King_O_Hill (06-01-2012), KraXik (06-01-2012), metaserph (06-01-2012), stratnik (06-01-2012)
-
06-01-2012, 01:51 PM #1597Theme Creator
- Join Date
- Nov 2010
- Location
- Tunis, Tunisie
- Posts
- 1,499
- Thanks
- 1,928
- Thanked 5,475 Times in 1,118 Posts
-
The Following 9 Users Say Thank You to Dacal For This Useful Post:
bombmom (06-01-2012), chevymusclecar (06-02-2012), cuzin (06-01-2012), King_O_Hill (06-01-2012), KraXik (06-01-2012), lostinthemes (06-04-2012), metaserph (06-01-2012), stratnik (06-01-2012), The_Durben (06-01-2012)
-
06-01-2012, 02:14 PM #1598The Mechanic
- Join Date
- Aug 2010
- Location
- Vancouver Canada
- Posts
- 7,466
- Thanks
- 29,888
- Thanked 34,706 Times in 6,594 Posts
Definitely need an update from him

But wow, huge difference in the battery with this compared to MyLocation app
Google obviously doesn't use the Significant Change option.... 5 hours running with nominal use of other apps on the phone and down 70% approximately. Keep in mind this is on a 4S which isn't the greatest on battery in the first place
Bad Google!Last edited by The_Durben; 06-01-2012 at 02:16 PM.

-
The Following 6 Users Say Thank You to The_Durben For This Useful Post:
chevymusclecar (06-02-2012), cuzin (06-01-2012), King_O_Hill (06-01-2012), KraXik (06-01-2012), metaserph (06-01-2012), stratnik (06-01-2012)
-
06-01-2012, 02:55 PM #1599
Off topic alittle...I'm no coder but with all the great people here have gotten my ipod touch 2g ios 4.2.1 to do pretty much everything used in this thread..for me the lighttpd setup works the best..now for my question...is there a simple code that can be written and then just added to any existing lockscreen (using zipcode) to make the lockscreen use gps instead of the zipcode without a lot of hassle? Just wondering. Thanks...
-
06-01-2012, 03:23 PM #1600
LinkBacks (?)
-
Curry's little Repo
Refback This thread04-12-2013, 02:27 PM -
overview for bushe
Refback This thread03-15-2013, 10:09 AM -
08-11-2012, 12:06 AM
-
Elite Pro HD - Seite 40
Refback This thread03-03-2012, 12:38 PM




LinkBack URL
About LinkBacks

Reply With Quote

