File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 42965
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.
I agree. Here's the link:
subject: Calendar in Android
It's not a secret anymore!