开发者

Displaying calendar in android app

开发者 https://www.devze.com 2023-04-12 22:52 出处:网络
I am making an android appin which I need to display calendar.. I have searched a lot but not getting any useful result.

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

Displaying calendar in android app

Displaying calendar in android app

Hope it helps.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号