What is Android
- Open Source and Linux-based
Operating System for Mobile Devices
- Was developed by Open Handset Alliance , led by Google and several other companies
- The first Beta version of Android was released in 2007 by Google.
Android Versions
Android Features
- Beautiful UI => beautiful and intuitive
- Connectivity => WIFI, bluetooth
- Storage => SQLite is used
- Media Support => png,jpg,gif
- Messaging => sms, mms
- Web browser
- Multi-task
- Multi- language
- Resizable widgets
Android Application Components
- Complete Android application development is dependent on 4 components
- Activity
- A single screen in the application with UI components - User is going to interact with the device through the Activity - Activity is a java file and an xml file
- Service
- Broadcast Receiver
- Registered for system announcements
Eg: when headset is plugged in it is detected, charger connected, charger disconnected,
Eg: when headset is plugged in it is detected, charger connected, charger disconnected,
power button pressed
- Broadcast announcements are sent to the application with the help of broadcast receivers
- Content Provider
- Enable to share the data between two applications
Eg: WhatsApp can read the Contacts data, since Contacts provide content providers
Eg: WhatsApp can read the Contacts data, since Contacts provide content providers
Android Environment Setup
- Java JDK5 or later version with its environment variables set
- One of the Android IDE
- Android Studio
- Eclipse