Display Calendar in android application
I have one andro开发者_JAVA技巧id application, in which I have to display calendar in one screen. On clicking on a particular date, I have to add or delete my particular items and events. I need some help on this topic please guide me.
You can use this:
AddToCalendar.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
// TODO Auto-generated method stub
Intent calendarIntent = new Intent() ;
calendarIntent.setClassName("com.android.calendar","com.android.calendar.AgendaActivity");
startActivity(calendarIntent);
}
});
精彩评论