Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: miLock This changes everything
02-08-2013, 04:26 PM #241
02-08-2013, 04:28 PM #242
You guys rock, keep up the good work!
The Following User Says Thank You to Jmills87 For This Useful Post:
02-08-2013, 04:52 PM #243
02-08-2013, 05:41 PM #244
But after further messing around with it it doesn't create a file there, or anywhere that I could find, when running an HTML file through the lockscreen.
So that looks like a dead end to me
I'm gonna check out Rasputin's database suggestion and see if it can read/write a database file.
02-08-2013, 06:01 PM #245
I have downloaded the SS Setup. It is a deb so couldnt see much. But it did install a theme in winterboard, and a database in the webkit folder. I still havent been able to get the SS to work.
also only location I see is /var/mobile/Documents/jpg.txt
There is nothing in this directory though.
I do see it update SlideshowSetup.html just not able to find that actual file.
Is there a thread on the SS?
ok it is a webclick. Duh... Now to get this working so I can pick it apart.
02-09-2013, 12:54 AM #246
02-09-2013, 03:19 AM #247
02-09-2013, 04:01 AM #248
It is funny as both, Winterboard's LockBackground.html and your WebClip html page, are using the same iOS component, UIWebBrowser or something called like this, it has nothing to do with Safari at all. But yet they both behave differently. If opened on the Springboard you can create and edit databases and using <OPTION values. Doing the same on the Lockscreen does not work, but yet iOS uses the same component to open and display the html page. The only difference is that this component is under iOS's control on the Springboard and under Winterboard's control on the Lockscreen.
I have not tried it, but will do this to check this.
A long time ago I spoke to Saurik about this, but he said that the "Location enabled" feature for Winterboard is not a priority.
I definitely know that LockBackground.html can use database, but had not tried to use LockBackground.html to create them. Maybe Winterboard does not allows this.
It is needed to create the txt files, if "grep" is missing then the shell script will stop.
"grep" is usually installed already, but that might be because I always install Mobile Terminal which comes with a huge bunch of shell script commands.
This script will NOT work in LockBackground.html.
So, this means Winterboard does limit the functionality of html pages!
Last edited by rasputin007; 02-09-2013 at 04:30 AM.
02-09-2013, 04:41 AM #249
Yes Ive found out. Facing other issues atm. With webclip and theme, my 4s works great. writes to the database.
On the i5 every since it stopped earlier I only get an error.
Here is what ive done if you would like to see.
Its simple, just changes the background two colors. Tests fine in mac Safari and iOS 5.1. Issues with i5 6.1. But works in ifile on the i5. haha
Im gonna sleep on it.
I did end up getting the sideshow to work after installing off the repo
02-09-2013, 08:25 AM #250
I have tried the miLock Data.zip on my PC. Safari struggled at first, but after using jquery 1.8.2 it worked better and faster, also Chrome worked really well.
Safari creates 2 databases at "CUsers\USERNAME\AppData\Local\Apple Computer\Safari\Databases\file__0" with identical content.
Regarding the use of iFile. Yes they work and create databases when opened in iFile, but those databases are not in the same location as the databases when opened with icon on springboard. "iFile" databases are in /root/Library/WebKit folder and can not be read by LockBackground.html.
iOS 6.1 has changed the way databases are being handled, as I tried to explain in the last chapter of that guide, Graphical Setup Part-3.
Even if you can create a database with a WebClip html (aka icon on springboard), the LockBackground.html can not read that database!
That's why the slideshow worked when being installed from the repo.
If it turns out that it is not possible to change database values through LockBackground.html, then the option to use a database for miLock-Theme can be dismissed.
Last edited by rasputin007; 02-09-2013 at 08:31 AM.
02-09-2013, 08:32 AM #251
I was able to get the database method to work in several regards.
But as ras stated it doesn't seem to work setting anything from the lockscreen.
Seems like it's a lot of effort to put into "fixing" something that isn't really broken IMO
It is interesting and fun to mess around with though.
It seems if we can get the script to SAVE from the lockscreen then we're golden, but it doesn't seem to, at least not for me.
EDIT: I sure seemed to use the word seem a lot in this post.
Last edited by vikemosabe; 02-09-2013 at 08:34 AM.
02-09-2013, 09:11 AM #252
Yes it seemed that you used seem a lot
02-09-2013, 09:14 AM #253
This discussion has a lot of seams.
Oh wait, that's something different
The Following User Says Thank You to King_O_Hill For This Useful Post:
02-09-2013, 12:45 PM #254
02-09-2013, 03:04 PM #255
02-09-2013, 04:46 PM #256
I bought this and tried adding a wallpaper to the folder you said but it won't show up?
02-09-2013, 05:08 PM #257
Did you name it correctly?
02-09-2013, 05:20 PM #258
ah I got it now. This is pretty cool and all but I don't really like that every time it goes to sleep when I wake it up it goes back to the grey milock screen for a second before it fades to what I have set up.
02-09-2013, 05:29 PM #259
Reason it was changed because people complained about the weather loading. So instead you have a loading screen. It is one image. Replace it with a pic you like.
This didn't work for miLock as it is now. Since I understand databases and some SQL now, I will be able to change miLock all together.
It will no longer work as this miLock does. But this miLock will still exist.
Maybe a miLock Pro version in the future.
02-09-2013, 05:42 PM #260
You guys gave it a hell of a go!