Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: [Tweak] iWidgets
06-13-2012, 03:47 PM #241
oh ok....i get it ...I'll try it one of these days.
By the way, this was a nice work that u guys pulled of, I had installed Dashboard X but it was making my phone too laggy, but with this one its has a lot less lagging....i'm enjoying it very much, when I get some time I'll try to add something to the code so it can have portuguese language
06-13-2012, 07:26 PM #242
This is going to be a little long...
I have a number of friends/colleagues that have Android based phones. IMHO there are only 2 things their phones do better than the iPhone; widgets and maps. The maps app Apple demoed for IO6, while better (arguably) than the current iPhone maps app, leaves a lot to be desired. Widgets, on the other hand, are getting close with all the wonderful work being done by the Jailbreak community. In particular The_Durben, crazyvivek, eldwin, and a host of others. I am really impressed guys (girls?). AWESOME work!! I wish I had the skills you all possess. Unfortunately, for me, I can only (sort of) hack what has already been written by you talented folks.
Which brings me to a request, of sorts. My all time favorite Android widget is the HTC Flipclock Weather widget. Many have come close to reproducing it. In fact, there are so many different versions out there it is very hard to find a version that has all the things the actual widget has. I have taken it upon myself to combine the best of all these widgets into a unified version that, in my mind/taste, comes close to the Android version. I present the following:
I take absolutely no credit for this widget as the original programming came from different individuals; particularly The_Durben for the weather stuff and 2 other individuals (I don't know the names of...sorry) for the date script and the animated clock digits. I would be more than willing to post the widget as long as no one minds the use of their code.
Now for the request...only 2 things...
As you can see from the image, the digits look like crap. They are obviously not high-res images. Is there anyone out there with some skill at Photoshop that can produce better looking images? And, perhaps, share the .psd with the community?
Second...this is directed at The_Durben as his coding examples are very succinct and efficient (not a lot of wasted code)...is it possible to program hot spots on the widget that could launch an app of the user's choosing? For example, a press of either block of digits would launch the 'Clock' app, or a press of the 'Temp' region would launch the 'Weather' app. That would be very cool. Not sure if this is even possible. Please expound if you think it is feasible.
Oh...one more thing. The iCal widget that I guess was originally designed for OSX, doesn't really work all that well in IOS. I have hacked it to resemble Microsoft's Calendar widget (from Windows Vista/7) and got rid of the annoying partial panel that opens on the 2nd press. Now the pane only opens/closes and the current month and year is always displayed in the left pane. Let me know if anyone wants it...
Last edited by dragonjo8; 06-13-2012 at 08:34 PM.
06-14-2012, 10:48 AM #243
Unfortunately you cannot direct link any native app with a touch function.
Something I looked at previously but it just can't work.
06-14-2012, 12:12 PM #244
Do you have experience with coding NC widgets? Is this something you would be interested in doing? DashboardX works a lot like iWidgets, therefore, adding widgets to your springboard should be a snap. Please advise.
06-14-2012, 02:35 PM #245
I can't write any native widgets due to a number of reasons.
I also don't use dashboardx as I don't need widgets from NC center on my SB.
I normally don't even use a widget on my SB. I just make them cause others do.
06-14-2012, 04:04 PM #246
Fair enough. Thanks for the reply!
The Following User Says Thank You to dragonjo8 For This Useful Post:
06-19-2012, 08:58 AM #247
The Following User Says Thank You to iPod For This Useful Post:
06-19-2012, 05:22 PM #248
Be advised Dashboard X and iWidgets are not 100% compatible with each other. Once all the widgets you want are in place everything works fine. It's getting them in place that is a tad cumbersome as both use similar methods for adding widgets. I usually disable iWidgets in mobile substrate (via SBSettings), add all the Dashboard X widgets I'm going to use, then re-enable iWidgets and add the HTML based widgets. It's a bit of a pain but, as I said, everything works fine once it's setup.
I am currently working on better digits for the HTC widget (no Photoshop gurus seemed interested in lending a hand) however, my skills are limited and I'm having issues. Translation...it's gonna take a little more time. In addition, I'm not comfortable releasing it without the blessing of (at least) The_Durben as much of the weather code/GPS stuff is his (with MINOR tweaking on my part to get the high/low temps on 2 lines instead of 1). I would also feel better if I could give credit/get permission from the folks that coded the animated digits and the date, but will release (with apologies) since I don't know who they are. If The_Durben is okay with it I will release it. How about it The_Durben?
06-21-2012, 05:32 PM #249
06-21-2012, 09:25 PM #250
07-07-2012, 01:00 PM #251
Zoo (or maybe Durben?) I know its not an easy/fast request - but any possible way you could make the miClock iWidget into a working, animated flip clock?
07-08-2012, 07:57 PM #252
I have completed the artwork (better digits/different backgrounds) for the flip clock widget. I have also attempted to make the weather icons match the icons used in the stock (Apple - IOS 5 and greater) NC Weather Widget. This will not be an exact match as Apple uses a different naming convention as well as different icons for the phases of the moon, etc. Here is an example of what to expect:
Haven't heard from The_Durben (he hasn't posted here lately...but then again...this thread has been pretty inactive). I did PM him but have yet to receive a reply. Not sure how to take that...does it indicate he doesn't want it released?...or maybe he never got the PM.
After much deliberation, I have decided to release the widget as I feel there are probably a lot of folks out there who want it. To be honest, there have been so many iterations of the thing, I'm not sure who wrote what. Did The_Durben's contribution consist of several lines of code or was it just a few here and there, like my contribution (minus the artwork upgrades) was? Honestly, I don't know. I have taken a hard look at the coding and can come up with the following individuals that should receive credit:
Vivek Thakur (is this crazyvivek?)
eldwin (for the iWidgets tweak)
I do not include myself since, as stated before, I only added a few lines of code here and there to make the 3 distinct entities (the flipping digits animation, the GPS weather stuff, and the date) work together (somewhat...more on that later). Please understand, this version of the widget was taken from three different sources. I did make the digits look better (higher resolution) which did take a bit of work, since I am no Photoshop guru, but really...artwork is (IMHO) a small part of what this widget is. No offense to any digital artists out there.
Ok...a few things you should know. The widget requires iWidgets (obviously) as well as GPS Weather Lockscreen in order to work properly. There is a rather lengthy thread http://modmyi.com/forums/iphone-4-ne...her-theme.html that details how to get/install the tweak. Once you download the files from the link I have posted below, place the FlipClockBlack and FlipClockWhite folders in the iWidgets folder on your phone (/private/var/mobile/Library/iWidgets). If you take a look inside either folder, you will notice there are 4 Widget.html files (Widget.html, WidgetB.html, WidgetF.html, WidgetO.html). These are variations that will allow you to change the background of the widget (as depicted in the images above). The B stands for blank, the F stands for flat, and the O stands for obsidian. The default (Widget.html) can be renamed WidgetG.html, where G stands for glass. Rename any of these (preferably in iFile) to Widget.html in order to display the desired background. I have also included the .psd files for the digits and the background, in case anyone wants to make any changes.
Finally, as I hinted at earlier, the widget is not 100% perfect. I must apologize to my brothers and sisters living outside of the good ol' US of A for the imperfection. The widget does support a couple of languages other than English (specifically, German and Spanish) and degrees centigrade instead of Fahrenheit, but it does not support a 24 hr clock. The coding is there (I think) but I just can't get it to work. Maybe someone else (The_Durben?) can have a look and get it figured out.
Ok...without further ado, here's the link to the file:
You will note this is a dropbox account. In light of all the drama with regard to Megaupload (and others) I decided it would be simpler to just post it there. Since I'm not sure how much traffic this is going to generate (and, to be honest, I'm not sure what Dropbox's policies are) the files will only be available for 1 week. Perhaps someone can upload them to another location (and post a link, obviously) once they grab the files.
Last edited by dragonjo8; 07-08-2012 at 08:22 PM.
07-10-2012, 05:39 PM #253
I'm on 5.1.1 iPhone 4s....can't get this iWidget to work. I don't have many tweaks installed, and tried removing them individually to see if there are any conflicts -none. I hold the empty portion of the SB for 5/10/15 seconds but nothing ever happens. I've deleted and installed this tweak directly from the repo posted in the 1st article (the stable version). For the life of me....I cannot figure out why it's working for everyone else and not for me. Oh, and I have no iWidget.plist in my preferences area.
Any help is appreciated. TIA
07-10-2012, 06:32 PM #254
07-10-2012, 07:09 PM #255
Man can I get a little help where and how can I install iWidget any help I would appreciate it.
07-10-2012, 07:26 PM #256
07-10-2012, 07:50 PM #257
I just took all the widgets that I've had using perpage and copy and pasted iWidgets.plist and pasted it into the files. It works. Awesome. I now can delete perpage sweet. Thanks
07-11-2012, 12:05 PM #258
07-11-2012, 01:25 PM #259
I installed iWidget no problem , then I try to install the my location fix , but it doesn't seem to work .I do everything step by step but when go to set the permission thing it won't stay "on" , anyone else having this problem ?
07-11-2012, 02:32 PM #260