Page 1 of 21 123 11 ... LastLast
Results 1 to 20 of 418

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


Thread: Drifter and MatchStic's Battery Stats iWidget

  1. #1
    Default Drifter and Matchstic's Battery and RAM Stats Widgets
    Matchstic and I would like to present to you a fully functioning Battery and RAM Information tweak we call InfoStats

    Firstly, I would like to Thank Matchstic for his contribution to this widget!
    Without his x-Code knowledge and his ability to hook into IOS's Battery API and associated Libraries this widget would not have been possible!

    ----------------------------------------------------------------------------------------
    To make things real easy to install, Matchstic has uploaded his InfoStats Tweak to the MMI Repo in Cydia, be sure do download it from there

    Please uninstall any previous version of BatteryStats or RAM Stats from within Cydia before installing InfoStats, or you will run into problems.

    After you install this tweak, Please REBOOT your device to correctly activate the Dylib. Without this step, your new InfoStats widgets will not work.

    ----------------------------------------------------------------------------------------

    Matchstic InfoStats Tweak will create 2 Text files at:

    /var/mobile/Library/Stats/BattStats.txt for the Battery Info

    and at

    /var/mobile/Library/Stats/RAMStats.txt for the RAM info.

    Each associated text file will have the devices current Battery level and Charging state in the BattsStats.txt and RAM info in the RamStats.txt

    The refresh rate for the BatteryStats.txt and RamStats.txt's created by the Tweak can be adjusted by changing the RefreshRate in your IOS Settings menu.



    ----------------------------------------------------------------------------------------

    So now here is where I come in,
    I have created the HTML and Java to correctly get the info from the text files and display it in a iWidget form on your springboard.

    Im am posting 2 version of this,

    One is a Static version:




    One is a Flip Tile Version:

    Shows Stats on the first side:



    and a working Battery Image on other side:




    Here are the Download links to each iWidget version:

    Drifters BatteryStats Static version: Drifters Battery Stats iWidget (Static) V2.zip

    Drifters BatteryStats Flip version: Drifters Battery Stats iWidget (Flip) V2.zip


    I have tried to make this as easy as possible to Mod, Use the Static version as a base and use its code to add/remove/re-arange the widget to your liking. I used IOS's naming schema for the Battery Images, So if your running a Winterboard theme, you can just copy all 17 battery images from your Winterboards Bundles/com.apple.springboard folder into the BatteryStats/Images/Battery folder and your new battery image will match your current WinterBoard Theme.

    ----------------------------------------------------------------------------------------

    Here is the associated iWidget for basic RAM statistics:



    Download RAMStats basic iWidget Here: Drifters Ram Stats iWidget.zip

    This iWidget can be used as a template for all possible RAM info Matchstics RAMStats Tweak provided.

    The code can be easily integrated for use as a Winterboard SB widget and as a Winterboard Lockscreen widget

    --------------------------------------------------------------

    Here is a text only Free Memory iWidget:



    Download Drifters Free Memory Only iWidget Here: Drifters Free RAM Only iWidget.zip

    --------------------------------------------------------------

    Here is a basic RAM and Batt Stats Version Template for you to Mod with:



    Download Combined Template iWidget Here: Drifters Mini Static Info Stats Bar V2.zip

    --------------------------------------------------------------

    I've added my iWidget magic and created a Flip Version with a few options too

    Here is the first side:



    and the second side:



    Download Combined Mini Flip Version Here: Drifters Mini Flip Info Stats Bar V2.zip

    --------------------------------------------------------------

    Here are a couple examples of how I integrated the RAM and Battery Stats with a Weather Widget:

    I present to you my Flipping InfoBar iWidget for iPad, displays Time, Calendar, Weather, RAM and Battery info all in one Widget.
    Works best for Landscape Mode

    Front side:



    Back side:



    Download Drifters InfoBar iWidget for iPad Here: Drifters Flip Info Bar iPad.zip

    --------------------------------------------------------------

    Here is a iPhone InfoBars Version:

    Front Side:



    Back Side:



    Download Drifters InfoBar iWidget for iPhone Here: Drifters Flip Info Bar iPhone.zip

    --------------------------------------------------------------

    As with all my posted widget work, I expect and welcome all mods of this, so please feel free to use, mod and repost my code. This code can be used for Lockscreens, Winterboard SB Widgets, or iWidgets so the possibilities are endless

    Matchstic and I hope you enjoy our New InfoStat Tweak and associated iWidgets

    Please feel free to repost any Mods or pieces of code used with these iWidgets, we look forward to seeing your renditions
    Last edited by The.Drifter; 08-15-2013 at 07:04 PM.

  2. The Following 62 Users Say Thank You to The.Drifter For This Useful Post:

    2k1 (06-15-2013), albertazumbi (03-17-2014), Alfroggy (06-16-2013), areske86 (06-15-2013), Attair57 (04-03-2014), AWSUM (06-17-2013), azaleea (06-16-2013), b3be (06-19-2013), BoyBastos (06-16-2013), chevymusclecar (06-16-2013), CosmeKid (06-24-2013), CrazyChester (06-16-2013), Darrenrooster (06-16-2013), Destan (06-16-2013), dubailive (02-24-2014), Evertrying (06-16-2013), GUNNY29 (06-16-2013), Hip5 (06-15-2013), Ian Nicoll (06-15-2013), IrobertI (06-16-2013), It's Mi (06-22-2013), Jato_BZ (06-18-2013), jjk454ss (06-17-2013), KarlDall (06-15-2013), Karoonchai (02-01-2014), Kazuyoshi (06-15-2013), kevin.e.white (07-22-2013), KingRedHot (04-21-2014), King_O_Hill (06-15-2013), Kr0NiK (06-15-2013), kristatos (02-02-2014), lizzy954 (06-16-2013), loopweb (02-06-2014), lostinthemes (07-26-2013), Marty McFly (06-16-2013), Matchstic (06-15-2013), Maverick1925 (06-17-2013), mcooper (08-24-2013), mentop (06-15-2013), meth357 (10-14-2013), mfisherbsu (06-16-2013), MMCat (07-06-2013), nateD (06-16-2013), NewdestinyX (06-16-2013), nik1975 (07-07-2013), nnfdcane (02-03-2014), phil73 (06-15-2013), Phre57 (06-16-2013), Project5 (06-30-2013), rinat86 (06-30-2013), RKO1195 (06-24-2013), Schnedi (06-17-2013), siemprelisto (06-20-2013), stratnik (06-16-2013), TaJr12 (06-17-2013), ThatGuyChris (08-24-2014), The 8th Immortal (06-15-2013), The_Durben (06-15-2013), tito12 (08-28-2014), UNLOCKZ (06-16-2013), VOLTAGExDT (06-16-2013), warwin (06-16-2013)

  3. #2
    Thanks!!!

  4. The Following 2 Users Say Thank You to Zooropalg For This Useful Post:

    Matchstic (06-15-2013), The.Drifter (06-15-2013)

  5. #3
    For anyone who's interested, the source code for my side of this is available at https://github.com/Matchstic/BatteryStats


  6. The Following 16 Users Say Thank You to Matchstic For This Useful Post:

    Alfroggy (06-16-2013), Destan (06-16-2013), Hip5 (06-16-2013), Ian Nicoll (06-15-2013), Jato_BZ (06-18-2013), KarlDall (06-15-2013), King_O_Hill (06-15-2013), Kr0NiK (06-15-2013), lostinthemes (07-26-2013), Marty McFly (06-16-2013), meth357 (10-14-2013), NewdestinyX (06-16-2013), siemprelisto (06-20-2013), stratnik (06-16-2013), The.Drifter (06-15-2013), The_Durben (06-15-2013)

  7. #4
    Modder & Coder Ian Nicoll's Avatar
    Join Date
    Oct 2008
    Location
    From Scotland, live in the Philippines.
    Posts
    5,038
    Thanks
    7,861
    Thanked 19,912 Times in 3,999 Posts

    Thanks Drifter & Matchstic.

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

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

    King_O_Hill (06-15-2013), RKO1195 (06-30-2013), The.Drifter (06-15-2013)

  9. #5
    My iPhone is a Part of Me The 8th Immortal's Avatar
    Join Date
    Jun 2011
    Location
    Anywhere under Heaven is my Home
    Posts
    852
    Thanks
    526
    Thanked 1,418 Times in 450 Posts

    Sweet stuff Matchstic & Drifter. Thanks.





    Ian,

    Can i borrow this....?


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

  10. The Following User Says Thank You to The 8th Immortal For This Useful Post:

    The.Drifter (06-15-2013)

  11. #6
    Sug Luv Super Moderator 2k1's Avatar
    Join Date
    Jan 2011
    Location
    Hammond Louisiana
    Posts
    34,057
    Thanks
    1,815
    Thanked 7,065 Times in 4,206 Posts

    Wow this is cool gonna mess with this one

  12. The Following 2 Users Say Thank You to 2k1 For This Useful Post:

    King_O_Hill (06-15-2013), The.Drifter (06-15-2013)

  13. #7
    Quote Originally Posted by The.Drifter View Post
    Ian, sorry for my Spam Release post, but a lot of my friends are on your thread in one place and I wanted to share it here as well

    Matchstic and I would like to present to you a fully fucntioning Battery Level iWidget

    Firstly, I would like to Thank Matchstic for his contribution to this widget!
    Without his x-Code knowledge and his ability to hook into IOS's Battery API and associated Libraries this widget would not have been possible!

    Matchstic Dylib will create a Text file at:

    /var/mobile/Library/BattStats.txt.

    This txt file will have the devices current Battery level and Charging state.
    The refresh rate for the BatteryStats.txt created by the Dylib can be adjusted by changing the RefreshRate in a plist.

    The location of the BatteryStats-prefs.plist is here:

    /var/mobile/Library/Preferences/

    adjust the <real> value in seconds. By default it is set to 30 seconds.

    Here is the link to Matchstic's BatteryStats.dylib: http://goo.gl/ZYism

    For convenience in installing, Matchstic compiled this into a Deb package to install all the accociated files correctly.

    After you download the deb file, copy it to your device and use iFiles Installer to install the Dylib.
    Now REBOOT your device to correctly activate the Dylib. Without this step, your new battery stats widget will not work.

    So now here is where I come in,
    I have created the HTML and Java to correctly get the info from this BatteryStats.txt file and display it in a iWidget form on your springboard.

    Im am posting 2 version of this,

    One is a Static version:



    One is a Flip Tile Version:

    Shows Stats on the first side:



    and a working Battery Image on other side:



    Here are the Download links to each iWidget version:

    Drifters BatteryStats Static version: Drifters Battery Stats iWidget (Static).zip

    Drifters BatteryStats Flip version: Drifters Battery Stats iWidget (Flip).zip


    As with all my posted widget work, I expect and welcome all mods of this, so please feel free to use, mod and repost my code. This code can be used for Lockscreens, Winterboard SB Widgets, or iWidgets so the possibilities are endless

    I have tried to make this as easy as possible to Mod, Use the Static version as a base and use its code to add/remove/re-arange the widget to your liking. I used IOS's naming schema for the Battery Images, So if your running a Winterboard theme, you can just copy all 17 battery images from your Winterboards Bundles/com.apple.springboard folder into the BatteryStats/Images/Battery folder and your new battery image will match your current WinterBoard Theme.

    MatchStic and I hope you enjoy your new BatteryStats iWidget

    Look forward to some more cool Widgets coming soon from both of us, next inline is a Free Memory Display Widget

    ---------------------------------------------

    Edit: We started a new thread dedicated to this new Tweak, so feel free to drop by and show us your Mods
    Drifter and MatchStic's Battery Stats iWidget
    Thank you! Very nice Idea!



  14. The Following 3 Users Say Thank You to KarlDall For This Useful Post:

    Hip5 (06-16-2013), Matchstic (06-16-2013), The.Drifter (06-15-2013)

  15. #8
    Modder & Coder Ian Nicoll's Avatar
    Join Date
    Oct 2008
    Location
    From Scotland, live in the Philippines.
    Posts
    5,038
    Thanks
    7,861
    Thanked 19,912 Times in 3,999 Posts

    Quote Originally Posted by The 8th Immortal View Post
    Sweet stuff Matchstic & Drifter. Thanks.

    Ian,

    Can i borrow this....?


    "If it's not broken, I'll fix it till it is"
    Of coarse, no problem M8, it's not copyrighted to me.

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

  16. The Following 4 Users Say Thank You to Ian Nicoll For This Useful Post:

    Hip5 (06-16-2013), King_O_Hill (06-15-2013), The 8th Immortal (06-15-2013), The.Drifter (06-15-2013)

  17. #9
    Green Apple
    Join Date
    Mar 2013
    Location
    Hanoi, Vietnam, Vietnam
    Posts
    84
    Thanks
    53
    Thanked 52 Times in 31 Posts

    i got widgets and i use iwidget to show it but it isnt work! someone help me! tks!

  18. The Following User Says Thank You to jitwru For This Useful Post:

    The.Drifter (06-16-2013)

  19. #10
    Quote Originally Posted by jitwru View Post
    i got widgets and i use iwidget to show it but it isnt work! someone help me! tks!
    Did you install the deb file from MatchStic per instructions in the first post and reboot your device before starting the widget?
    Last edited by The.Drifter; 06-15-2013 at 09:48 PM.

  20. The Following 5 Users Say Thank You to The.Drifter For This Useful Post:

    Hip5 (06-16-2013), jitwru (06-15-2013), King_O_Hill (06-15-2013), Project5 (06-30-2013), The_Durben (06-15-2013)

  21. #11
    My iPhone is a Part of Me The 8th Immortal's Avatar
    Join Date
    Jun 2011
    Location
    Anywhere under Heaven is my Home
    Posts
    852
    Thanks
    526
    Thanked 1,418 Times in 450 Posts

    Quote Originally Posted by jitwru View Post
    i got widgets and i use iwidget to show it but it isnt work! someone help me! tks!
    Having the same issue.
    I installed using the deb.
    Reboot.
    Select iwidget.
    Gimme a sec and i'll post a screenie.
    Also the plist isn't in /Preferences


    edit...
    I dunno. I switched out themes for a change of pace and did a reboot (like i like to do after the winterboard respring) and all's good now. Oh well.


    edit 2...
    yep. everything is as it should be.
    Now have the plist in /Preferences.
    Last edited by The 8th Immortal; 06-15-2013 at 09:55 PM.
    SIGPIC SIGPIC

  22. The Following User Says Thank You to The 8th Immortal For This Useful Post:

    The.Drifter (06-15-2013)

  23. #12
    Green Apple
    Join Date
    Mar 2013
    Location
    Hanoi, Vietnam, Vietnam
    Posts
    84
    Thanks
    53
    Thanked 52 Times in 31 Posts

    Quote Originally Posted by The.Drifter View Post
    Did you install the deb file from MatchStic per instructions in the first post and reboot your device before starting the widget?
    wow! i did! ^^ so cool ^^

  24. The Following 2 Users Say Thank You to jitwru For This Useful Post:

    Matchstic (06-16-2013), The.Drifter (06-15-2013)

  25. #13
    Quote Originally Posted by The 8th Immortal View Post
    Having the same issue.
    I installed using the deb.
    Reboot.
    Select iwidget.
    Gimme a sec and i'll post a screenie.
    Also the plist isn't in /Preferences


    edit...
    I dunno. I switched out themes for a change of pace and did a reboot (like i like to do after the winterboard respring) and all's good now. Oh well.


    edit 2...
    yep. everything is as it should be.
    Now have the plist in /Preferences.

    Glad you got it sorted Bro

  26. The Following 3 Users Say Thank You to The.Drifter For This Useful Post:

    King_O_Hill (06-15-2013), Project5 (06-30-2013), The 8th Immortal (06-16-2013)

  27. #14
    Green Apple
    Join Date
    Mar 2013
    Location
    Hanoi, Vietnam, Vietnam
    Posts
    84
    Thanks
    53
    Thanked 52 Times in 31 Posts

    Quote Originally Posted by The.Drifter View Post
    Glad you got it sorted Bro
    im thinking... can u mod time remaining battery when we r charging...? it's so cool ^^

  28. The Following User Says Thank You to jitwru For This Useful Post:

    The.Drifter (06-16-2013)

  29. #15
    Great work on this again dudes
    Simple, clean, easy to style. #win

  30. The Following 5 Users Say Thank You to The_Durben For This Useful Post:

    Hip5 (06-16-2013), King_O_Hill (06-15-2013), Matchstic (06-16-2013), Project5 (06-30-2013), The.Drifter (06-15-2013)

  31. #16
    King Kong ain't got nothing on me! King_O_Hill's Avatar
    Join Date
    Apr 2011
    Location
    USA
    Posts
    9,518
    Thanks
    42,202
    Thanked 17,978 Times in 6,537 Posts

    Nice job guys! It works great and was very easy to integrate into a LS. I hide the stock percentage so I could have this in its place with the font and color that I wanted!

    Last edited by King_O_Hill; 06-15-2013 at 10:15 PM.
    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!

  32. The Following 10 Users Say Thank You to King_O_Hill For This Useful Post:

    Hip5 (06-16-2013), Jato_BZ (06-18-2013), lostinthemes (07-26-2013), Marty McFly (06-16-2013), Matchstic (06-16-2013), Project5 (06-30-2013), stratnik (06-16-2013), TaJr12 (06-17-2013), The.Drifter (06-15-2013), The_Durben (06-15-2013)

  33. #17
    Quote Originally Posted by jitwru View Post
    im thinking... can u mod time remaining battery when we r charging...? it's so cool ^^
    Now that's a interesting suggestion, I like it

    MatchStic will need to look into it to see if that's something he can hook into.

    If he can, then yes, we can add that feature into a future version

    Quote Originally Posted by King_O_Hill View Post
    Nice job guys! It works great and was very easy to integrate into a LS. I hide the stock percentage so I could have this in its place with the font and color that I wanted!

    Looks Great King! Nice to see it being implemented in other ways Thanks for sharing
    Last edited by The.Drifter; 06-15-2013 at 10:19 PM.

  34. The Following 5 Users Say Thank You to The.Drifter For This Useful Post:

    Hip5 (06-16-2013), Ian Nicoll (06-15-2013), King_O_Hill (06-16-2013), Project5 (06-30-2013), The_Durben (06-15-2013)

  35. #18
    Green Apple
    Join Date
    Mar 2013
    Location
    Hanoi, Vietnam, Vietnam
    Posts
    84
    Thanks
    53
    Thanked 52 Times in 31 Posts

    Quote Originally Posted by King_O_Hill View Post
    Nice job guys! It works great and was very easy to integrate into a LS. I hide the stock percentage so I could have this in its place with the font and color that I wanted!

    like elite6 ^^ r u using wtb? ^^ i dont use it because i just have an i4 ^^! so ram isnt enough ^^

  36. The Following User Says Thank You to jitwru For This Useful Post:

    The.Drifter (06-15-2013)

  37. #19
    Quote Originally Posted by jitwru View Post
    im thinking... can u mod time remaining battery when we r charging...? it's so cool ^^
    Yeah, I guess I may be able to, I'll have to look into it

    @King_O_Hill Nice implementation of it there!

  38. The Following 6 Users Say Thank You to Matchstic For This Useful Post:

    jitwru (06-16-2013), King_O_Hill (06-16-2013), Marty McFly (06-16-2013), Project5 (06-30-2013), The.Drifter (06-16-2013), The_Durben (06-16-2013)

  39. #20
    Thanks drifter and matchstic for the awesome widget ! I tried to make sth. out of it ! ChalkboardBattery Widget !
    Overlay and battery images are handmade by me
    The text above the battery image also changes with the battery levels !

    Another battery : Circular style!!
    this widget is very Fun actually
    Attached Thumbnails Attached Thumbnails -img_1100.png  
    Attached Files Attached Files
    Last edited by Shinchan.Nohara; 06-16-2013 at 04:44 AM.

  40. The Following 16 Users Say Thank You to Shinchan.Nohara For This Useful Post:

    azaleea (06-16-2013), chevymusclecar (07-13-2013), Hip5 (06-16-2013), IrobertI (06-16-2013), jitwru (06-16-2013), kristatos (02-02-2014), Marty McFly (06-16-2013), Matchstic (06-16-2013), phil73 (06-16-2013), Phre57 (06-16-2013), Project5 (06-30-2013), Runt (06-20-2013), siemprelisto (06-20-2013), The 8th Immortal (06-16-2013), The.Drifter (06-16-2013), The_Durben (06-16-2013)

Page 1 of 21 123 11 ... LastLast
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •