> I have referred the article (at http://www.developer.com/article.php/3850276
> ) for implementing the native calendar control, but i would like to
> display calendar also on the screen and also User can able to select
> date, and after selecting date user can also be able to event on that
> selected date.

Depends on what "display calendar" really means to you. If you just
want to call installed calendar app and make it show month view then
be aware that in general this is possible, but there's no standard API
nor intent for this which means you cannot just tell OS "hey, make the
calendar app (whatever it is) show month view". Also there's a lot of
various calendar apps (i.e. HTC uses their own, Google their own  and
user can install and use any of existing calendar replacement apps).
So you have to cope with all the calendars by hand calling them the
way they like. My experience is that most of calendar apps export at
least month view activity and agenda activty so there's hope :) Some
3rd party may export more, some exports none (but as these are 3rd
party apps, I simply ask their devs to export these if users of my app
asks me to support certain calendar app). The another question is
"after selecting date" part - I do not need to display month view for
other month that current, so I cannot assisit here. Maybe it would be
a better approach for you, depending on what you really need to do, to
just add calendar display code to your app. For google calendar app
(and apps that sync with it) such code could be taken from android
sources repo.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to