What is Android?
Why Android?
Where Android?
@pareshmayani
Slide 4
Slide 4 text
Why Android?
1.5 Million
Android Device Activations Per Day
@pareshmayani
Slide 5
Slide 5 text
Why Android?
900 Million
Total Android device Activated http://goo.gl/EcszCg
@pareshmayani
Slide 6
Slide 6 text
Why Android?
48 billion
Total android app installs
@pareshmayani
Slide 7
Slide 7 text
Why Android?
• We love and trust Google
@pareshmayani
Slide 8
Slide 8 text
Why Android?
• We love and trust Google
• Open Source
@pareshmayani
Slide 9
Slide 9 text
Why Android?
• We love and trust Google
• Open Source
• Larger screen size (iPhone is Fixed
size :D )
@pareshmayani
Slide 10
Slide 10 text
Why Android?
• We love and trust Google
• Open Source
• Larger screen size (iPhone is Fixed
size :D )
• Google Play Store
@pareshmayani
Slide 11
Slide 11 text
Why Android?
• We love and trust Google
• Fastest growing OS
• Open Source
• Larger screen size (iPhone is Fixed
size :D )
• Google Play Store
• Various Manufacturers
@pareshmayani
Slide 12
Slide 12 text
No content
Slide 13
Slide 13 text
Where Android?
@pareshmayani
Slide 14
Slide 14 text
Where Android?
@pareshmayani
Slide 15
Slide 15 text
Where Android?
@pareshmayani
Slide 16
Slide 16 text
Where Android?
http://goo.gl/s98Du
Project Glass:
@pareshmayani
Slide 17
Slide 17 text
Where Android? :D
@pareshmayani
Slide 18
Slide 18 text
How to start with Android
Development?
http://goo.gl/iGkEF
@pareshmayani
Slide 19
Slide 19 text
Building blocks of Android App
Activities
Views
Services
Content Providers
Notifications
Intents
@pareshmayani
Slide 20
Slide 20 text
Building blocks of Android App
Activities
Views
Services
Content Providers
Notifications
Intents
@pareshmayani
Slide 21
Slide 21 text
Activities
• Fundamental object of
android app with lifecycle
• Having UI
• Interact with the user
• One app can have Multiple
activities
• Must have 1 Main Activity
@pareshmayani
Slide 22
Slide 22 text
Building blocks of Android App
Activities
Views
Services
Content Providers
Notifications
Intents
@pareshmayani
Slide 23
Slide 23 text
Views
• Basic building block for UI
components
• Draws itself to the screen
• Respond to Events
@pareshmayani
Slide 24
Slide 24 text
Building blocks of Android App
Activities
Views
Services
Content Providers
Notifications
Intents
@pareshmayani
Slide 25
Slide 25 text
Intents
• A simple message object that represents
an "intention" to do something
• Most significant use => launching of
activities, where it can be thought of as
the glue between activities.
@pareshmayani
Slide 26
Slide 26 text
@pareshmayani
Slide 27
Slide 27 text
Building blocks of Android App
Activities
Views
Services
Content Providers
Notifications
Intents
@pareshmayani
Slide 28
Slide 28 text
Services
• can perform long-running
operations in the
background
• Doesn’t Provide User
Interface (UI)
• Another application
component can start a
service and it will continue to
run in the background even if
the user switches to another
application.
@pareshmayani
Slide 29
Slide 29 text
Building blocks of Android App
Activities
Views
Services
Content Providers
Notifications
Intents
@pareshmayani
Slide 30
Slide 30 text
Content Providers
• presents data to external applications
• provide a level of abstraction for any data
stored on the device that is accessible by
multiple applications.
@pareshmayani
Building blocks of Android App
Activities
Views
Services
Content Providers
Notifications
Intents
@pareshmayani
Slide 33
Slide 33 text
Notifications
• A Notification is a small
icon that appears in the
status bar.
• Users can interact with this
icon to receive information
• For example: New SMS
message, Missed call, New
Mail
@pareshmayani
Slide 34
Slide 34 text
Let’s setup Android IDE
@pareshmayani
Slide 35
Slide 35 text
Which IDE to choose for development?
@pareshmayani
Slide 36
Slide 36 text
Android ADT Bundle
Download the SDK
ADT Bundle for Windows
• ADT (Android Developer
Tools) Bundle
• With a single download, the
ADT Bundle includes
everything you need to begin
developing apps:
– Eclipse + ADT plug-in
– Android SDK Tools
– Android Platform-tools
– The latest Android platform
– The latest Android system
image for the emulator
@pareshmayani
Slide 37
Slide 37 text
Android Development Environment
@pareshmayani
Slide 38
Slide 38 text
Eclipse IDE
Package
Structure of
your Android app
Source Code
Problems/Erros and Console messages
Program
Elements
@pareshmayani
Slide 39
Slide 39 text
Eclipse UI Editor
UI Elements
UI View area
@pareshmayani
Slide 40
Slide 40 text
Where to execute Android programs?
- Emulator or Real Device
@pareshmayani