开发者

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); 
            } 
        });
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜