Wednesday, September 8, 2010
I'm Back
I've been on vacation for Labor Day. I'm back now and I have a list of issues and enhancements I want to make on both widgets. So hopefully there will be some updates soon.
Wednesday, September 1, 2010
Digital Clock
While I was figuring out all of Android's preference framework, I developed a simple digital clock widget. It has a simple background that can be turned off. You can also enter a format string for both the time and date. Here are a few common format strings:
Other format options are available at http://download.oracle.com/javase/1.4.2/docs/api/java/text/SimpleDateFormat.html
- 24 Hour: HH:mm
- 24 Hour (no colon): HHmm
- 12 Hour: hh:mm a
- Date Options:
- E: Numeric day of week
- EEE: Shortened day of week (Wed, Thur, etc.)
- EEEE: Full day of week (Wednesday, Thursday, etc)
- d: Day of month
- M: Numeric month
- MMM: Shortened month (Jan, Feb, etc.)
- MMMM: Full month (January, February, etc.)
Other format options are available at http://download.oracle.com/javase/1.4.2/docs/api/java/text/SimpleDateFormat.html
Subscribe to:
Posts (Atom)