I am making an android app in which I need to display calendar.. I have searched a lot but not getting any useful result. I have also downloaded project of calendar from following link:
http://code.google.com/p/android-calendar-view/downloads/list
But it is also not working infact giving exception. CAn anyone help me how to display calendar. Any help will be much appriciated. Looking forward for solution. 开发者_运维百科Thanks
DatePicker its standart widget i dont think that it is really problem
<DatePicker
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
...
// Required Java init code:
DatePicker dp =
(DatePicker)this.findViewById(R.id.widget27);
// for example init to 1/27/2008, no callback
dp.init(2008, 0, 27, Calendar.SUNDAY, null);
see this it can be helpful for you.
If you need a custom calendar for your app you can use below library.
https://github.com/ik024/CalendarLibrary
Hope it helps.
精彩评论