[android-developers] Re: How can I get Date/Time info from API level 21, when Date(), Calendar(), and SimpleDateFormat() all require API level 23.)

2016-07-12 Thread Tommy Paul
Ok I actually figured out the answer, after TWO DAYS of experimenting and getting ideas from Google searches. This is what works to get the date, and put it in a string I can use: In the XML file, I added this line to the TextClock definition: android:format12Hour="dd " of

[android-developers] Re: How can I get Date/Time info from API level 21, when Date(), Calendar(), and SimpleDateFormat() all require API level 23.)

2016-07-12 Thread Tommy Paul
The TextClock Widget displays a string wtih the data I need; but then, how can I access that string's content? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an

[android-developers] How can I get Date/Time info from API level 21, when Date(), Calendar(), and SimpleDateFormat() all require API level 23.)

2016-07-12 Thread Tommy Paul
The title says it all. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email