Android Tutorial - Learn to create Android Apps - PowerPoint PPT Presentation

View by Category
About This Presentation
Title:

Android Tutorial - Learn to create Android Apps

Description:

1. What Is Android ? 2. Why Android ? 3. Evolution Of Android? 4. Core Components Of Android 5. Sample Application 6. Future Prospect 7. Android Job in Market What is Android? Android is a linux-based operating system designed primarily for touch-screen mobile devices such as smartphones and tablets computers. Initially developed by Android Inc.,whom Google financially backed and later purchased in 2005. Application Development in Java. Open Source under apache 2 licence. – PowerPoint PPT presentation

Number of Views:261

less

Write a Comment
User Comments (0)
Transcript and Presenter's Notes

Title: Android Tutorial - Learn to create Android Apps


1
Android Demo
2
Agenda
  • What Is Smartphone?
  • Group of Smartphone Companies
  • What Is Android ?
  • Why Android ?
  • Evolution Of Android?
  • Core Components Of Android
  • Sample Application
  • Clean Street Project Use Case
  • Future Prospect
  • Job in Market

3
What Is Smartphone
  • A mobile phone that performs many of the
    functions of a computer,typically having a
    touchscreen interface,internet access,and an
    operating system capable of running download
    apps.

3
4
Group Of Companies(OHA)
  • Open Handset Alliances
  • Its consortium of several smartphone companies.
  • This group of companies are allowed to use
    source code of Android and develop applications

5
What is Android ???
  • Android is a linux-based operating system
    designed primarily for
  • touch-screen mobile devices such as smartphones
    and tablets computers.
  • Initially developed by Android Inc.,whom Google
    financially backed
  • and later purchased in 2005.
  • Application Development in Java.
  • Open Source under apache 2 licence.

6
Why Android
  • A simple and powerful SDK
  • No licensing, distribution, or development fees
  • Development over many platform Linux, Mac OS,
    windows
  • Excellent documentation
  • MultiTasking
  • Ease of notifications
  • Ease access to thousands of application via the
    Google Android App
  • Market

7
Evolution Of Android
  • 2009
  • SDK 1.5 (Cupcake)
  • New soft keyboard with auto complete feature
  • SDK 1.6 (Donut)
  • Support Wide VGA
  • SDK 2.0/2.0.1/2.1 (Eclair)
  • Revamped UI, browser
  • 2010
  • SDK 2.2 (Froyo)
  • Flash support, tethering
  • SDK 2.3 (Gingerbread)
  • UI update, system-wide copy-paste

7
8
Evolution Of Android(Cont.)
  • 2011
  • SDK 3.0/3.1/3.2 (Honeycomb) for tablets only
  • New UI for tablets, support multi-core processors
  • SDK 4.0/4.0.1/4.0.2/4.0.3 (Ice Cream Sandwich)
  • Changes to the UI, Voice input, NFC
  • 2012
  • SDK 4.1/4.1.1/4.2(Jelly Bean)
  • Performance optimization, refined UI

Ice cream Sandwich Android 4.0
Jelly Bean 4.1
8
8
9
Evolution Of Android(Cont)
  • 2013
  • SDK 4.4/4.4.1/4.4.2/ 4.4.3/4.4.4 (Kitkat)
  • initial name ,Key Lime Pie)
  • New UI for UI Transitions.
  • 2014 (22/07/2014)
  • SDK 4.4w (Kitkat)
  • Same as Android 4.4 KitKat, but with wearable
    extensions
  • added.

9
9
10
Core Components -Activity
  • Represents a single screen of UI.
  • Most apps continue multiple of activities.
  • When new activity starts, it is pushed on the
    backstack.
  • Activity lifespan can be monitored using any of
    the callback methods such OnCreate() and
    OnPause(),etc.
  • You can responsed to these methods using event
    handling

10
11
Core Components -Services
  • Perform long running background operations.
  • Doesnt contain any UI.
  • Useful for operation like playing music,
    network operation etc.
  • Independent of the component that created it.
  • Can be bound to, by other application
    components,it allows.

12
Core Components -Content Providers
  • Used to store and recieve data and make it
    accessible to all application.
  • Are the only way to share data access
    application.
  • Exposes a public URI that uniquely identifies its
    data set.
  • Data is exposed as a simple table on database
    model.
  • Android contains many content provider for things
    like media, contact,etc.

13
Core Components -Broadcast Receiver
  • Components that responds to system under
    broadcast announcements .
  • Examples like screen turns off, battery life,etc.
  • Applications can initiate their own broadcast.
  • Broadcast reciever no UI.
  • However they can create status bar notification

14
Sample Application
  • Create your android application project in
    IDE(Eclipse or Android Studio).
  • Java file will automatically created which
    extends Activity.
  • XML file will also create while creation of
    project.
  • AVD which stands for Android Virtual Device which
    also called a emulator
  • Which is use for testing your Applcation.
  • Android manifest.xml will consists of all of your
    application details.
  • R.Java is auto generated file which consists
    detail of view,layout and widgets.
  • (Do Not Modify)

15
First App
16
Seeing the output on Emulator
Emulator which is required for test your
application.
17
Sample Code -Java file
18
Sample Code - Layout.xml
19
Sample code - AndroidManifest.xml
20
Sample Code - R.java
21
Clean Street Project Use Case
OverView
  • We see that our surroundings and our streets
    filled with Garbage(Wet and Dry waste) and other
    non degradable materials like plastics. This
    poses a threat not only to the environment but
    the entire ecosystem including a threat to the
    wildlife in case of Forests and Sea shores.
  • A simple gamification based mobile app, that
    allows citizens to identify dirty spots on Sea
    shore and invite the others to clean it in a
    group. Also , citizens can volunteer to visit a
    place of their choice and clean the spot. At the
    backend the local municipal corporation will get
    an auto generated mail which will help them to
    clear bureaucratic hurdles.

22
Problems
676 species in INDIA are considered to be at
risk. One of the primary reasons or threat to
them is pollution which is caused by humans and
amount of waste they litter 267 sea animals
species affected worldwide 13,000 pieces of
plastic per square KM in Canada 80 of the
plastic waste can be collected and recycled .
23
Solution
  • Create a citizen participation platform i.e. a
    mobile app
  • Our mobile app which enables citizens to
    identify spots on the shores where debris is
    dumped and invite their friends and local
    community members to participate in cleaning the
    area/shore
  • The App provides 2 options to each registered
    user
  • Create an event , where the citizen identifies a
    spot , clicks a pic and geo tags it . After which
    he can invite his friends and other interested
    members
  • Also, tourists and Other individuals can see in
    their close proximity a spot fix and join the
    group
  • In the backend, an auto triggered mail of the
    same will be delivered to the local municipal
    corporation keeping them in the loop

24
Future Prospect
In the future, dont be surprised if your car
dashboard runs Android. This allows your car to
run the same apps as your hand-carried phone.
Android in a car allows you make phone calls,
play music, GPS navigation, traffic updates, car
diagnostic with parts replacement suggestions,
parts price comparison, and service center
closest to you. The possibilities are endless.
Your kitchen refrigerator could also have a
potential of running Android for instant recipe,
phone calls, clock, appointment calendar,
reminders, weather, and local traffic up.
25
THANK YOU
About PowerShow.com