Display calendar inside Android app
I'm currently developing an Android app, which loads events from a server using JSON and stores the event data into a local SQLite database.

I want to display the calendar events from within the app. If the device is in portrait mode, the calendar should be displayed in month view and if the device is in landscape mode it should be displayed in week view. Of course the events should be clickable.

Could anyone point me in the right direction by showing me an example of something similar? The whole thing should be possible for Android 1.6 onwards.

Any help is very much appreciated!
Display calendar inside Android app
===

I'm currently developing an Android app, which loads events from a server using JSON and stores the event data into a local SQLite database.

I want to display the calendar events from within the app. If the device is in portrait mode, the calendar should be displayed in month view and if the device is in landscape mode it should be displayed in week view. Of course the events should be clickable.

Could anyone point me in the right direction by showing me an example of something similar? The whole thing should be possible for Android 1.6 onwards.

Any help is very much appreciated!