I'm pretty new to Android development and I'm looking for a means of including calendar in my Android application, but I'm striking out pretty bad when googling.

1. Is there any way to use a default calendar kind of view in my application? (would be ideal since the UI would be familiar)
2. Failing at a built-in option, are there any good libraries out there with a calendar control that I could use?

I'm not looking to sync and all of that (at least, at this point), just looking to have a calendar view that I can display information to the user.
['https://Stackoverflow.com/questions/3702998', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/446605/']
I tried [android-CalendarView](http://developer.android.com/reference/android/widget/CalendarView.html), Caldroid and later switched to **[android-times-square](https://github.com/square/android-times-square)** which has this improvements:

* Much faster switching to other months due to vertical scrolling (no pagination which responds slow in Caldroid)
* Indicators, highlighted dates (at least in [this fork](https://github.com/HannahMitt/android-times-square) for android)
* iOS version available with the same look and feel
* looks cleaner than the android version because months are clearly separated

![enter image description here](https://i.stack.imgur.com/zloKv.png)

Just like Caldroid it is a part of [a productive app](http://corner.squareup.com/2013/01/times-square.html).
it is possible but not easy.
<http://jimblackler.net/blog/?p=151&cpage=2#comment-52767>

and

```
private void InsertAppointment(String strTitle, String strDescription, String strEventLocation, long StartDateTime, long EndDateTime, boolean bAllDay, boolean bHasAlarm){
    int tAllday;
    int tHasAlarm;
    if (bAllDay = true){
        tAllday = 1;
    }
    else
        tAllday = 0;
    if (bHasAlarm = true){
        tHasAlarm = 1;
    }
    else
        tHasAlarm = 0;

    ContentValues event = new ContentValues();
    // Calendar in which you want to add Evenet
    event.put("calendar_id", CalId);                //CalId                                  
    event.put("title", strTitle);                                                           
    event.put("description", strDescription);                                  
    event.put("eventLocation", strEventLocation);                                                   
    event.put("dtstart", StartDateTime);                                                          
    event.put("dtend", EndDateTime );                  
    event.put("allDay", 0);                     
    event.put("hasAlarm", 0);                                                                  
    Uri eventsUri = Uri.parse("content://com.android.calendar/events");    
    // event is added
    getContentResolver().insert(eventsUri, event);

}

```

a quick search on 
 `content://com.android.calendar/calendars`
will help get you started. but I'm not finished mine yet I just can't get the data out yet. but it is possible