LinkedInTwitterFacebook

Android calendar application example – part 1.

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

Let’s see the source code for this files:
The result working well. Also you can see in this picture the calendar result …

MainActivity.java



AndroidManifest.xml



activity_main.xml



main.xml



strings.xml



The result working well. Also you can see in this picture the calendar result …


android_calendar_001