14

i am designing an app for iPhone and android app. When the app gets launched for the first time it hits an api and gets back a large database which is common for a year(365 days of events that get scheduled). In my app when the user hits a button the calendar gets opened to the current date showing the dates in a grid view. If the dates have any schedule they use to look in a green color and if no events it looks in other color. Likewise i have some other operations. in my iPhone app all the calendar view, dates color and events scheduling are done by a library.

In the same way is there any library for android apps, so that it will reduce my work a lot. Is there anything available like that. Please give me a suggestion..

Guru
  • 179
  • 1
  • 1
  • 4

2 Answers2

28

Since this question is quite some time ago, probably you have found your solution. I share my solution here so maybe other can find it useful.

I wrote Caldroid library (https://github.com/roomorama/Caldroid) that supports rich features:

  • Embedded as a fragment or shown as dialog
  • Set min/max date. The date outside min/max range is marked as disabled
  • Set disabled dates
  • Select dates fromDate to toDate
  • Client can listen to various events when user interacts with Calendar
  • Customize look and feel
thomasdao
  • 2,927
  • 1
  • 28
  • 24
  • but how i add some holydays in your calendar..is it possible?? – Ranjit Nov 25 '13 at 14:13
  • You can checkout documentation https://github.com/roomorama/Caldroid#custom-backgrounds-and-text-colors-for-different-dates and https://github.com/roomorama/Caldroid#client-can-customize-look-and-feel-of-almost-all-views – thomasdao Nov 26 '13 at 02:42
  • you have asked to do " If you see JAR mismatched error, replace your android-support-v4.jar to the jar inside Caldroid." what's the change on that libary. I'm using the Support-v4 for my app..Is this version is available in maven Repo? and how can i change the height and width of the Calender..can i make it smaller? – Sam Feb 13 '14 at 06:20
  • @Raghunandan please open an issue on github and add some code – thomasdao Nov 25 '14 at 09:23
  • @thomasdao the library looks promising but it is not maintained. And I tried to import in Android Studio. It is NOT RUNNING the sample application. – AkshayT Jun 16 '19 at 03:04
26
Community
  • 1
  • 1
CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491