Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
iPhone 4|4S New Skins / Themes Launchesforums, a part of the
New Skins / Themes Launchessection;
Originally Posted by rasputin007 I do the same as I do not need constant gps update. A "gps-update on demand" is enough for me. I have rewritten the web server...
05-05-2012, 09:39 AM #1381
05-05-2012, 10:57 AM #1382
The old index.html called the go.php which created the test.xml file. Delete all 3 files from /var/www!
copy the new index.html and the run.php, that will give you the myLocation.txt file now.
05-05-2012, 04:32 PM #1383
This does not work at all for me using MyGPS Weather theme. It does create the myLocation.txt file but I'm guessing the MyGPS theme doesn't use it .... Will have to try it with themes...unless I'm doing something wrong..
05-06-2012, 05:59 AM #1384
Eh ... yes, the "old" My GPS Weather theme that came with the original web server idea (the test.xml file) is still looking for for that file. The code has not change in that theme and does not take any notice of the myLocation.txt file. Dump that "My GPS Weather" theme and try any other of the GPS based lockscreen/widgets that require the MyLocation app. Those should work (maybe not perfect on 4.2.1, they do not work on 3.1.3).
The Following User Says Thank You to rasputin007 For This Useful Post:
05-06-2012, 12:23 PM #1385
rasputin007 i have an question for you, how kan i instal (use) your server aplication
05-06-2012, 04:13 PM #1386
Open Cydia and search for
1.) lighttpd ( a very small, but very powerful web server that does not need much resources)
2.) php (a very powerful addition to html)
3.) Lighttpd SBSetting Toggle (this gives you a turn on/off switch for lighttpd, as well as a configuration file for lighttpd, no further setup/configuration needed! Works right out of the box).
4.) GPS for web server from MMUS repo (apt.mmus.us) will install the index.html and run.php into the iPhone web server at /var/www.
Install them, open SBSettings, open "Set Windows Toggles" and switch Lighttpd to ON, I have done the same for Location, but don't know if that is needed.
When you close SBSetting it resprings, but reboot as well to make sure lighttpd is running.
Now open Safari (make sure you allow Location Service for Safari!) on the iPhone and enter this url address "http://127.0.0.1/index.html". You get a pop-up window asking if you want to allow "http://127.0.0.1/index.html access to your location", say OK. You should now see the latitude and longitude on the screen. To be on the safe side reload that page (tap that little curly arrow at the right hand side in the address bar).
Now you should have a myLocation.txt file with those coordinates in /var/mobile/Documents.
Select your GPS based lockscreen/widget, respring and enjoy.
Hint for MyLocation app users:
Turn "Sig. Change" OFF, or myLocation.txt file gets overwritten by MyLocation app.
Last edited by rasputin007; 05-24-2012 at 03:17 PM.
The Following 18 Users Say Thank You to rasputin007 For This Useful Post:
bcscustom (05-31-2012), dakkota (05-25-2012), eason318 (11-27-2012), folch28 (05-26-2012), GUNNY29 (05-25-2012), jjk454ss (05-27-2012), King_O_Hill (05-07-2012), KraXik (05-23-2012), loopweb (05-26-2012), Max_Pa1n (05-27-2012), metaserph (05-28-2012), muted_mind (05-27-2012), RKO1195 (05-10-2012), SciPunk (05-27-2012), stratnik (05-26-2012), TV-Junkie (06-08-2012), yamakasi73 (06-05-2012), ZFrost (05-27-2012)
05-09-2012, 04:14 AM #1387
I really love the fact that my weather widgets now work with GPS because I live in small city and my zip code doesn't work. Now with GPS I've got my city weather, the only problem is:
I use a Max_Pa1n LS that's work perfect
And for the SB I use a Schnedi creation the fact is that city is a bigger city 20 km from here (Osimo) how is this possible?
Can someone please help me
The Following User Says Thank You to CrazyChester For This Useful Post:
05-09-2012, 01:49 PM #1388
The name for the location is set by Yahoo Weather (mostly), but Yahoo is rather tight with distinction in location names.
I live in a small village and I always get the name of the next village as this is the biggest settlement around.
I have started to use Google maps for the location name which is much more spot on and I now got my village name on the display.
It all comes down to the fact that Yahoo is simply too sloppy with names, certainly when it comes to settlements below a certain size, they get ignored and the next biggest settlement name is displayed
05-09-2012, 06:04 PM #1389
Thanks man! I was thinking about that but I don't know how to change it. Is there a way to change it or it's better if I change widget?
05-10-2012, 08:03 AM #1390
What up peeps!!*
It's your cyberworld homie chevymusclecar!!
Finally at a point of release for this bad boy!!
Credits and Thanks to*Dacal, Ian Nicoll, crazyvivek, Subywrex, Schnedi, my homies Durben, Pinoy and barsoverbeats. Thank them all they are good peeps with great talent!
*Hope you all enjoy this as much as I do...I present to you...
"it's all in the config.js"
CMC_GPS_LS_ ULTIMATE - YouTube
Required: GPS Weather Lockscreen *by crazyvivek, Available in cydia.
Conflict: Lockinfo; disables touch forecast
Please hit thanks it took me a while to get this all sorted for this community!
The Following 33 Users Say Thank You to chevymusclecar For This Useful Post:
ag92 (06-03-2012), Beastlee (05-14-2012), Belgmeister (05-11-2012), BOGMAT (05-20-2012), boywonder34 (05-24-2013), cassio299 (05-27-2012), cdrwinston (05-10-2012), Chuck1969 (05-13-2012), D1LL1NG3R (05-13-2012), Darrenrooster (05-10-2012), eskco (08-31-2012), GUNNY29 (05-27-2012), Hosko817 (05-29-2012), It's Mi (05-11-2012), King_O_Hill (05-10-2012), kruzzit (05-13-2012), latpeuw (05-11-2012), lostinthemes (05-10-2012), marco29 (08-31-2012), metaserph (05-28-2012), mikelikesanime (05-25-2012), Mokabaer (05-13-2012), nik1975 (05-11-2012), poofster1 (05-12-2012), Ramses2 (05-10-2012), rasputin007 (05-10-2012), RippedThemer (05-10-2012), RKO1195 (05-10-2012), Shad0wM0nk3y (05-26-2012), SHARON1O (12-16-2012), sickchris714 (05-10-2012), The_Durben (05-11-2012), _CAZZ_ (05-13-2012)
05-10-2012, 03:42 PM #1391
So you have to edit code.
However if you enter the url in the browser you get the xml or json response file.
Try them, add your latitude and longitude and see if the response file has the right name for your location. You find them in first results in JSON, second results in xml->second address_components->second long_names
I am currently still using a Google Map with a size of 0px x 0px, as that is so far the only way I can get the correct location name.
As I often work in lots of little villages I tried it and it has been spot on each time, whereas Yahoo gave wrong location name (next biggest settlement nearby instead) in almost all cases.
Last edited by rasputin007; 05-10-2012 at 03:56 PM.
05-10-2012, 04:18 PM #1392
You the man Chevy! Great job bud witch you always amaze me with your talent!!WidgetWeather Thread
The Following User Says Thank You to RKO1195 For This Useful Post:
05-10-2012, 10:36 PM #1393
So I have an idea. Maybe its not feasible on the website end of the idea, but here goes.
So many weather widgets; native, gps etc. but what makes the widget work is the weather images. So many great images, but in the end it's still just seeing the same image most of the time. Then you see another widget with really sweet images and so on and so on.
Also the images takes up precious capacity.
So, why not have the images pulled from a website? I know gunny has a site of weather images. They can be sorted by conditions and maybe randomized.
Then widgets can all be a uniform naming structure, partly_cloudy etc etc. then when partly_cloudy happens, the image location is on the website and will show whatever is the current one for that condition.
You never know what you'll get.
Variety, fresh and saving space on your device. Not to mention the time saved in creating weather widgets.
05-11-2012, 01:40 AM #1394
So anything that can reduce downloading something is a big help for me, that's why I always will have the images on the iPhone.
05-11-2012, 03:12 AM #1395
Actually the image names are uniform coming out of Yahoo, 1-47 & 3200. These are typically used for icon images. If you use them for screen images also, then they are usually converted to about a dozen named images that typically everyone uses with the UniAW naming convention, rain, sleet, thunderstorm etc.
Still not a bad idea, just not real practical atm
The Following User Says Thank You to King_O_Hill For This Useful Post:
05-11-2012, 09:43 AM #1396
Hey guys, i had this a month ago then I had to restore my phone, went into Cydia and dl'd it, but this time, I get no MyLocation app after the download. Does anyone know what I can do to fix this?
05-11-2012, 12:24 PM #1397
05-12-2012, 05:31 AM #1398
You need a reboot to see the MyLocation App icon, for anything else read my post #1379 on page 69!
Alternative read my post #1386 this page, same thing without MyLocation app, in case you are absolute unable to run MyLocation app.
Last edited by rasputin007; 05-12-2012 at 05:37 AM.
05-12-2012, 09:27 PM #1399
Originally Posted by rasputin007
This is not exactly GPS based weather widget, but because it is based on crazy's tweak, I thought I post it here.
It is a PerPage+ widget for all those that always get lost. It still needs some fine tuning, but here is a preview
Based on your GPS location (crazy's tweak), you can find yourself quite literally "on the map" with the current address on the top.
Tidied up the code a bit more and arranged everything a little bit neater (kind off )
deb file download
unrar, copy deb file onto iPhone and install with iFile, nothing else.
Now select widget in PerPage+ and respring (happens automatically) and enjoy.
The map is not touch sensitive, so switching from Satellite view to Roadmap view is not possible via touch (through code very easy!).
GPS accuracy is not brilliant yet, maybe when the next generation of GPS satellites are out in a few years time.
Refresh time is set to 5 minutes.
The address is from a google map response file, so no influence about content. I tried it with house number, street name, city, region and country, which worked, but took too much space.
So, what is left of the GPS based weather code, well, almost nothing, apart from the latitude and longitude extraction from the myLocation.txt and the display. Of course you still need crazy's MyLocation app for it to work as it relies on the myLocation.txt file.
Otherwise it is really small, 3 jquery js files, one Widget.html file and one background png file, that's all! Against all my usual way of work the code is quite simple and easy to read/understand.
Enjoy and have fun playing around with it.
Two questions for you very smart people here, is there anyway to add a weather widget to this? I'm using it as a lockscreen and would like a small weather widget with it somewhere. And second I have a lockscreen that shows my " neighborhood" but it's off. Can I change it to my city instead? I think i've read that somewhere but not sure. Thanks in advance
Last edited by poofster1; 05-12-2012 at 10:45 PM.
05-13-2012, 02:14 PM #1400
MyLocation the tweak does not work on IOS 5.1 please help me