Display day of week

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

Display day of week

Postby Cereal Killer » Fri Mar 09, 2012 10:26 pm

Hello,

I'm trying to develop an application for Android, and one of the things I need to get done is display which day of the week it is. I've gotten it to display the current time by using the following code:

Code: Select all
java.text.DateFormat format = SimpleDateFormat.getTimeInstance(
            SimpleDateFormat.DATE_FIELD, Locale.getDefault());


and implementing this in a textView. I figured displaying the day of the week would work similarly, but I can't figure it out and I'm having trouble finding any information on the internet. Maybe some of you guys know how I would do this?
User avatar
Cereal Killer
Freshman
Freshman
 
Posts: 4
Joined: Sun Mar 04, 2012 3:38 pm

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 7 guests