+ Reply
Page 847 of 879 FirstFirst ... 347 747 797 837845846847848849 857 ... LastLast
Results 16,921 to 16,940 of 17566

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


Thread: UniAW6.0 for iph4 & iph5

is a discussion within the

iPhone 4|4S New Skins / Themes Launches

forums, a part of the

New Skins / Themes Launches

section;
Originally Posted by June'sIphone Might want to ask in the WW thread Nah I like it here. And they know already
...
  1. #16921
    Superbad Modder-ator Simon's Avatar
    Join Date
    Nov 2007
    Location
    Bermuda
    Posts
    46,501
    Thanks
    6,794
    Thanked 15,198 Times in 6,978 Posts

    Quote Originally Posted by June'sIphone View Post
    Might want to ask in the WW thread
    Nah I like it here. And they know already

  2. The Following User Says Thank You to Simon For This Useful Post:

    Krima (07-29-2014)

  3. #16922
    Master Theme Creator June'sIphone's Avatar
    Join Date
    Feb 2010
    Location
    DaytonaBeach, FL
    Posts
    6,745
    Thanks
    5,223
    Thanked 10,007 Times in 3,663 Posts

    Quote Originally Posted by Simon View Post
    Nah I like it here. And they know already
    It pulls [[[WeatherPreferences sharedPreferences] localWeatherCity]woeid]; and saves to a xml file or txt. One of them, dunno if they changed from breaking Forecast or not.

  4. #16923
    King Kong ain't got nothing on me! King_O_Hill's Avatar
    Join Date
    Apr 2011
    Location
    USA
    Posts
    9,340
    Thanks
    41,377
    Thanked 17,482 Times in 6,391 Posts

    Default UniAW6.0 for iph4 & iph5
    We break forecast by design.

    Most know why!

    woeID is not pulling anything. It is there for you to enter it and generate an XML file based on any location that you want.
    Widget-Weather App Now Available! Also with MyLocation Support!
    Check out the thread here - Widget-Weather
    To install the Widget-Weather app, just go to Cydia and install. This will also remove MyLocation, as it is built in!
    Want to protect your JailBreak! Add this repo http://cydia.myrepospace.com/iLEXiNFO/ & Install "iLEX R.A.T."
    It will allow you to bring your phone back to a fresh jailbroken state!

  5. #16924
    Master Theme Creator June'sIphone's Avatar
    Join Date
    Feb 2010
    Location
    DaytonaBeach, FL
    Posts
    6,745
    Thanks
    5,223
    Thanked 10,007 Times in 3,663 Posts

    Quote Originally Posted by King_O_Hill View Post
    We break forecast by design.

    Most know why!
    Sounds like a mature way to make a tweak.

  6. #16925
    King Kong ain't got nothing on me! King_O_Hill's Avatar
    Join Date
    Apr 2011
    Location
    USA
    Posts
    9,340
    Thanks
    41,377
    Thanked 17,482 Times in 6,391 Posts

    Considering that Forecast was flat out stolen from me, I don't really care to support it. Nothing to do with being mature.
    Widget-Weather App Now Available! Also with MyLocation Support!
    Check out the thread here - Widget-Weather
    To install the Widget-Weather app, just go to Cydia and install. This will also remove MyLocation, as it is built in!
    Want to protect your JailBreak! Add this repo http://cydia.myrepospace.com/iLEXiNFO/ & Install "iLEX R.A.T."
    It will allow you to bring your phone back to a fresh jailbroken state!

  7. The Following 3 Users Say Thank You to King_O_Hill For This Useful Post:

    Ian Nicoll (07-29-2014), NeilJClements (07-29-2014), NewdestinyX (07-29-2014)

  8. #16926
    Master Theme Creator June'sIphone's Avatar
    Join Date
    Feb 2010
    Location
    DaytonaBeach, FL
    Posts
    6,745
    Thanks
    5,223
    Thanked 10,007 Times in 3,663 Posts

    Quote Originally Posted by King_O_Hill View Post
    Considering that Forecast was flat out stolen from me, I don't really care to support it. Nothing to do with being mature.
    Not supporting it, and breaking by design are totally different.

    I get why your upset though. Thats why you learn to write tweaks, instead of asking someone for help I guess.
    Last edited by June'sIphone; 07-29-2014 at 09:53 PM.

  9. #16927
    Full Moon Krima's Avatar
    Join Date
    Jul 2011
    Location
    Nashville, Tn
    Posts
    3,095
    Thanks
    3,970
    Thanked 7,708 Times in 2,416 Posts

    June and King, take it to the widget weather thread. I am policing this thread now. Obey my wishes.


    Sent from my iPhone using ModMyi

  10. The Following 4 Users Say Thank You to Krima For This Useful Post:

    bliken (07-29-2014), King_O_Hill (07-29-2014), NewdestinyX (07-29-2014), Simon (07-29-2014)

  11. #16928
    King Kong ain't got nothing on me! King_O_Hill's Avatar
    Join Date
    Apr 2011
    Location
    USA
    Posts
    9,340
    Thanks
    41,377
    Thanked 17,482 Times in 6,391 Posts

    Default UniAW6.0 for iph4 & iph5
    Let me expand a little. When we first discover that WW did not play we'll with Forecast, we chose to leave it as is because it would require help from the dev of Forecast and I'm not interested in working with him!

    You are correct Krima, but I think I'm done anyway. I've already gotten more involved than I wanted too.
    Widget-Weather App Now Available! Also with MyLocation Support!
    Check out the thread here - Widget-Weather
    To install the Widget-Weather app, just go to Cydia and install. This will also remove MyLocation, as it is built in!
    Want to protect your JailBreak! Add this repo http://cydia.myrepospace.com/iLEXiNFO/ & Install "iLEX R.A.T."
    It will allow you to bring your phone back to a fresh jailbroken state!

  12. #16929
    Power User chevymusclecar's Avatar
    Join Date
    Aug 2010
    Location
    Seattle, WA
    Posts
    5,887
    Thanks
    18,046
    Thanked 19,198 Times in 4,219 Posts

    Can you please June that would be nice! I'd surely try something out.


    Sent from my iPhone using ModMyi

  13. The Following 3 Users Say Thank You to chevymusclecar For This Useful Post:

    bombmom (07-29-2014), BootsBrown (07-30-2014), mcooper (07-30-2014)

  14. #16930
    Master Theme Creator June'sIphone's Avatar
    Join Date
    Feb 2010
    Location
    DaytonaBeach, FL
    Posts
    6,745
    Thanks
    5,223
    Thanked 10,007 Times in 3,663 Posts

    Quote Originally Posted by chevymusclecar View Post
    Can you please June that would be nice! I'd surely try something out.


    Sent from my iPhone using ModMyi
    Sure thing.

  15. The Following 3 Users Say Thank You to June'sIphone For This Useful Post:

    BootsBrown (07-30-2014), chevymusclecar (07-30-2014), mcooper (07-30-2014)

  16. #16931
    Full Moon Krima's Avatar
    Join Date
    Jul 2011
    Location
    Nashville, Tn
    Posts
    3,095
    Thanks
    3,970
    Thanked 7,708 Times in 2,416 Posts

    Default UniAW6.0 for iph4 & iph5
    I'm glad u r done King because u were about to suffer my wrath. For those that don't know what that would look like, it's mostly just a lot of whining, reporting posts that may or may not be thought of as offensive, generalizing individuals by referring to them as cliques or mindless groups, suggesting codes of conduct I myself do not follow, etc.

    If u want that King, keep it up buddy.


    Sent from my iPhone using ModMyi
    Last edited by Krima; 07-29-2014 at 10:26 PM.

  17. The Following 5 Users Say Thank You to Krima For This Useful Post:

    BootsBrown (07-30-2014), King_O_Hill (07-29-2014), NeilJClements (07-29-2014), RKO1195 (07-29-2014), TaJr12 (07-30-2014)

  18. #16932
    Modder & Coder Ian Nicoll's Avatar
    Join Date
    Oct 2008
    Location
    From Scotland, live in the Philippines.
    Posts
    4,955
    Thanks
    7,608
    Thanked 19,219 Times in 3,920 Posts

    Quote Originally Posted by June'sIphone View Post
    I find it funny how you say people who use var local will get left behind.

    Here is a video of how to implement a preference file. As well as the wiki. Think of it as option.plist for iWidget, but in the settings.app.

    https://www.youtube.com/watch?v=FZscRYEpLfY

    PreferenceLoader - iPhone Development Wiki
    Hi June,

    When I said "people who use var local will get left behind" I meant with the UniAW as future versions won't have it, but I thought that was obvious!

    Thanks for the links, quite interested in this.

    "If it's not broken, I'll fix it till it is"

  19. The Following 3 Users Say Thank You to Ian Nicoll For This Useful Post:

    chevymusclecar (07-29-2014), King_O_Hill (07-29-2014), Krima (07-29-2014)

  20. #16933
    My iPhone is a Part of Me NeilJClements's Avatar
    Join Date
    May 2014
    Posts
    667
    Thanks
    271
    Thanked 937 Times in 349 Posts

    Quote Originally Posted by Krima View Post
    I'm glad u r done King because u were about to suffer my wrath. For those that don't know what that would look like, it's mostly just a lot of whining, reporting posts that may or may not be thought of as offensive, generalizing individuals by referring to them as clicks or mindless groups, suggesting codes of conduct I myself do not follow, etc.

    If u want that King, keep it up buddy.


    Sent from my iPhone using ModMyi
    Do you throw in the odd foot stamp and Jerry Springer-esque finger wag? That could be scary mate and I, for one, would be scared!


    Sent from my iPhone using ModMyi

  21. The Following 3 Users Say Thank You to NeilJClements For This Useful Post:

    EricB78 (07-30-2014), King_O_Hill (07-29-2014), Krima (07-29-2014)

  22. #16934
    ----NewD 2.0---- NewdestinyX's Avatar
    Join Date
    Jan 2012
    Posts
    9,893
    Thanks
    4,218
    Thanked 9,026 Times in 4,531 Posts

    Quote Originally Posted by Krima View Post
    ... by referring to them as clicks ...
    or .. cliques...
    Here to help if I can. If I can't I know someone who can!

  23. The Following 4 Users Say Thank You to NewdestinyX For This Useful Post:

    BootsBrown (07-30-2014), King_O_Hill (07-29-2014), Krima (07-29-2014), TaJr12 (07-30-2014)

  24. #16935
    Full Moon Krima's Avatar
    Join Date
    Jul 2011
    Location
    Nashville, Tn
    Posts
    3,095
    Thanks
    3,970
    Thanked 7,708 Times in 2,416 Posts

    Quote Originally Posted by NewdestinyX View Post
    or .. cliques...
    Haha. That's what I meant to say. You see what happens when my wrath is taking over.


    Sent from my iPhone using ModMyi

  25. The Following 4 Users Say Thank You to Krima For This Useful Post:

    BootsBrown (07-30-2014), EricB78 (07-30-2014), NewdestinyX (07-29-2014), TaJr12 (07-30-2014)

  26. #16936
    Master Theme Creator June'sIphone's Avatar
    Join Date
    Feb 2010
    Location
    DaytonaBeach, FL
    Posts
    6,745
    Thanks
    5,223
    Thanked 10,007 Times in 3,663 Posts

    Put the WeatherSettings.plist and [email protected] in Library/PreferenceLoader/Preferences
    Put Weather Settings in Library/GroovyLock

    Enable in GroovyLock. While in settings scroll down, and you will see Weather Settings icon.

    Must have Cycript installed! Toggles will show whats selected on the LS. Celsius is the only thing hooked to weather.
    WeatherLS Prefs

    ImageUploadedByModMyi1406695257.554487.jpgImageUploadedByModMyi1406695267.599497.jpgImageUploadedByModMyi1406695279.396570.jpg

    What you should look like.
    Last edited by June'sIphone; 07-29-2014 at 10:41 PM.

  27. The Following 4 Users Say Thank You to June'sIphone For This Useful Post:

    BootsBrown (07-30-2014), chevymusclecar (07-29-2014), Ian Nicoll (07-30-2014), TaJr12 (07-30-2014)

  28. #16937
    Power User chevymusclecar's Avatar
    Join Date
    Aug 2010
    Location
    Seattle, WA
    Posts
    5,887
    Thanks
    18,046
    Thanked 19,198 Times in 4,219 Posts

    Thanks June 👌 I'll give it a go for sure!


    Sent from my iPhone using ModMyi

  29. The Following 3 Users Say Thank You to chevymusclecar For This Useful Post:

    BootsBrown (07-30-2014), June'sIphone (07-29-2014), TaJr12 (07-30-2014)

  30. #16938
    Master Theme Creator June'sIphone's Avatar
    Join Date
    Feb 2010
    Location
    DaytonaBeach, FL
    Posts
    6,745
    Thanks
    5,223
    Thanked 10,007 Times in 3,663 Posts

    How it works. First we create the .plist that holds the options. This is almost like the iWidgets Options.plist, just follows Apple's rules. Inside the plist we tell it to save to a certain plist. In this case com.JunesiPhone.WeatherSettings. This saved plist is in var/mobile/Library/Preferences. It is encoded and is not readable. This is Apple's compressed plist. If it wasn't compressed we could pull it with jQuery.get, but it is so this is where cycript comes in.

    In the html you will see.
    Code:
    var settings = [NSDictionary dictionaryWithContentsOfFile: @"/var/mobile/Library/Preferences/com.JunesiPhone.WeatherSettings.plist"];
    This is pulling the plist that is in /var/mobile/Library/Preferences/com.JunesiPhone.WeatherSettings.plist we can now treat it like an object pulling each key we need.

    First key is settings.locale you can run alert(settings.locale); and it will alert what is set for locale. You can then pass it to a variable such as.

    Code:
    if(settings.locale){var locale = settings.locale;}
    	      else{var locale="38671";}
    Then in the end use it for anything that is needed.

    On/Off switches set 0 or 1 in the plist, but true and false can also be used as they are in the template.

    I didn't add the drop down menu, but it can be added to the plist like so.

    Code:
    	<dict>
    			<key>cell</key>
    			<string>PSGroupCell</string>
    			<key>label</key>
    			<string>Language</string>
    		</dict>
    		<dict>
    			<key>cell</key>
    			<string>PSLinkListCell</string>
    			<key>default</key>
    			<string>en</string>
    			<key>defaults</key>
    			<string>com.JunesiPhone.WeatherSettings</string>
    			<key>detail</key>
    			<string>PSListItemsController</string>
    			<key>key</key>
    			<string>languages</string>
    			<key>label</key>
    			<string>Languages</string>
    			<key>validTitles</key>
    		<array>
    			<string>English</string>
    			<string>Italian</string>
    			<string>Spanish</string>
    			<string>Deutch</string>
    			<string>French</string>
    		</array>
    			<key>validValues</key>
    		<array>
    			<string>en</string>
    			<string>it</string>
    			<string>sp</string>
    			<string>de</string>
    			<string>fr</string>
    		</array>
    		</dict>
    It will return the values en,it,sp,de,fr to the saved plist. I wrap this in a try/catch just incase something goes wrong. Usually if this alerts then the plist is not found, or you have something wrong inside. I notice when LockBuilder is ran through Convergance it will cause an error here. Sure it has to do with cycript implementation.

    I know it looks repetitive here with two else statements. The one on the variable itself is set if the button has never been touched. If it hasn't been touched then it saves nothing to the plist. We need some value to give the variable.

    The else statement at the bottom is if no plist is found. This is when the user first installs. At this time there is no plist saved. You can then alert them that settings are in the settings.app, or set defaults for the variables needed.
    Last edited by June'sIphone; 07-29-2014 at 11:04 PM.

  31. The Following 4 Users Say Thank You to June'sIphone For This Useful Post:

    bliken (07-30-2014), BootsBrown (07-30-2014), chevymusclecar (07-29-2014), Ian Nicoll (07-30-2014)

  32. #16939
    Full Moon Krima's Avatar
    Join Date
    Jul 2011
    Location
    Nashville, Tn
    Posts
    3,095
    Thanks
    3,970
    Thanked 7,708 Times in 2,416 Posts

    Quote Originally Posted by June'sIphone View Post
    It will return the values en,it,sp,de,fr to the saved plist. I wrap this in a try/catch just incase something goes wrong. Usually if this alerts then the plist is not found, or you have something wrong inside. I notice when LockBuilder is ran through Convergance it will cause an error here. Sure it has to do with cycript implementation.
    Did you ever bring this to Matts attention? I'm sure he would love to know if something is broken with his tweak. Can't fix what never gets reported.



    Sent from my iPhone using ModMyi

  33. #16940
    Master Theme Creator June'sIphone's Avatar
    Join Date
    Feb 2010
    Location
    DaytonaBeach, FL
    Posts
    6,745
    Thanks
    5,223
    Thanked 10,007 Times in 3,663 Posts

    Quote Originally Posted by Ian Nicoll View Post
    Hi June,

    When I said "people who use var local will get left behind" I meant with the UniAW as future versions won't have it, but I thought that was obvious!

    Thanks for the links, quite interested in this.
    No wasn't obvious as it was worded with "I think in time to come" although you had made the decision about uniAW. So instead of me thinking you were talking about uniAW, thought you were talking in general. Enjoy the links

    Quote Originally Posted by Krima View Post
    Did you ever bring this to Matts attention? I'm sure he would love to know if something is broken with his tweak. Can't fix what never gets reported.



    Sent from my iPhone using ModMyi
    He said he would look into it months ago. I am not worried about it. I used it as an "example" of an error for why I used a try/catch nothing else.

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts