[MOD] Toggle Am/Pm in status bar clock *2/18/2011*
Hey again everyone,
Well, after several days of pulling my hair out, and many, MANY private messages to Untermensch for smali syntax help and debugging, I've finally finished adding a user-selectable option to toggle the AM/PM flag in the status bar clock!
Unlike the other various mods floating around, this will also not affect those that use 24-hour time, and does not matter if you use a custom font either.
Here's some screenshots of the toggle working:
UPDATE 2/17/2011 5:47pm
: Source posted. If you plan on adding this to the 5/6 lockscreen mod, then you'll likely have to change the resource id's for the new strings in settings.apk from the id's I used.
UPDATE 2/18/2011 9:25am
: I found a bug last night that would prevent auto-time from disabling. I've already fixed it, and have attached the newest, fixed, DateTimeSettings.smali file (in zip format.) I'll be out of the house for most of the day, but will generate a new diff file once I get home. In the meantime, please download the new zip in addition to the old source zip.
Anyway, I hope everyone enjoys this, and huge thanks to untermensch for his help!
P.S. I've never been one to ask for donations, I don't think they should ever be necessary for people to contribute and give back to the community. But I finally added the paypal "donate" button under my username for anyone that wants to donate to say thanks.
P.P.S. Next mod on the agenda (assuming it doesn't drive me completely crazy) accurate battery % via code, no more ~100+ png images added to framework-res.apk =)
fork me on github
Apparently posting personal signatures outside of this little block is too offensive for some.