开发者

how to make a custom calendar in android application?

开发者 https://www.devze.com 2023-02-26 09:43 出处:网络
I have to make an application with a calendar control built in for android 2.1-2.3. I have tried to search for a inbuilt & external libr开发者_运维问答ary to achieve this but have not been able to

I have to make an application with a calendar control built in for android 2.1-2.3. I have tried to search for a inbuilt & external libr开发者_运维问答ary to achieve this but have not been able to. Hence now i have decide to code the calendar myself. i was thinking of doing it via GridView. How do i go about this.

If there is a code available then do produce it over here. It would really be very helpful.


May I recommend you take a look at the Google Calendar source. You may in fact just use their implementation. Using a GridView is also not bad. Android seems to also have a CalendarView. I would recommend looking at that, although I am not sure if its what you need. It would be helpful to know exactly what you need the calendar to do though. The question is very broad.


You can find It is already completed, but when I was last use I added february 29 feature myself but it is good http://w2davids.wordpress.com/android-simple-calendar/


Ancal is very good open source calendar to integrate and use in your code. Code to this calendar can be check out from here: https://code.google.com/p/ancal/source/checkout


you can use calendar API which is available from android 4.

http://developer.android.com/guide/topics/providers/calendar-provider.html

if your application has to be in android 2.0,you can add the android 4 library in your project.

i think its the easiest way to make your own custom calendar.


I think this is good Custom Calender Example for SO user.

I am using this calender in my many project.

If you have query then put comment otherwise accept answer.


Hi bro If your working on android web application means you can use jquery that will help you to make calender effectively or else you can look at this link may help you

http://developer.android.com/guide/topics/providers/calendar-provider.html#intents

0

精彩评论

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

关注公众号