jQuery in Action, 3rd edition
The moose likes Android and the fly likes Calendar in Android Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Calendar in Android" Watch "Calendar in Android" New topic

Calendar in Android

La Vish
Ranch Hand

Joined: Apr 17, 2002
Posts: 161
I am an infant developer in Android and a toddler in Java. As luck would have it I have managed to set up the Eclipse, Android SDK and even ADT for Eclipse. What more I have even managed to develop simple projects. So far so good. But I decided to develop in Android because of a specific reason: All I need to develop is a Calendar where in every alternate thursdays in each month is highlighed with a red color, like they do for Saturdays and Sundays. How can I do this?

La Vish
SCJP 1.4, President 60s Club
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42956
Not sure what you mean by "what they do ..." - which calendar does that? On my device, Google Calendar does not color Saturdays and Sundays in any special way.

If you can assume the presence of Google Calendar (which is part of the suite of Google Apps that comes pre-installed on most Android devices), you could use its API to create a new calendar that has all-day events (or add them to one of the existing calendars). I don't know about setting the color, though.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Calendar in Android
jQuery in Action, 3rd edition