This is a simple example about using widget calendar under Andoid OS.
Can be easy to do it if you know the basic of the programming.
First you need to make one application ( I use Android Studio – version 0.5.1).
Let’s see my example:
My application use:
the class is :
public class MainActivity extends ActionBarActivity
the project is set with this :
com.example.calendar.app
the widget is : CalendarView
I make this changes into this source files :

  • MainActivity,java
  • AndroidManifest.xml
  • activity_main.xml
  • main.xml
  • strings.xml

The source code for this files come with default source code and change is CalendarView :
The result working well. Also you can see in this picture the calendar result :

android_calendar_001

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.