• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Android
 

Android

on

  • 2,314 views

 

Statistics

Views

Total Views
2,314
Views on SlideShare
2,184
Embed Views
130

Actions

Likes
0
Downloads
111
Comments
1

5 Embeds 130

http://gdgsl.blogspot.com 49
http://slgtug.blogspot.com 39
http://www.slgtug.blogspot.com 39
http://www.slideshare.net 2
http://gdgsl.blogspot.de 1

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

11 of 1 previous next

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Android is a software stack for mobile devices that includes an operating system, middleware and key applicationsOpen SourceSmarter phones – uptodate with current technologyJava me
  • Sqlite – structured data storageMedia supportAccelormeterwifi 3g gpsbluetooth camera
  • Talk about kernel – linustorvalds
  • eclipse
  • Content – share data across applicationsActivity – single thing user can do (full screen window , theme, group)
  • Basic building blocksAbsolute layout x,yTalk about orientation
  • Activity stack – ready to be runned - (already started feeling)
  • Linux user id – constant to the devicePermissions – at install time granted by the package installerNo prompting in runtime
  • Intent – forward navigationIntent filter – system picks the activity whose intentfilter best matches intentData –category- action
  • Query data – cursorWork across processesTalk about contact application
  • Compare activity – short livedMp3 player example

Android Android Presentation Transcript

  • What is Android?
  • Application Framework
    Dalvik virtual machine
    Browser based on WebKit
    Optimized graphics (OpenGL ES 1.0)
    SQLite
    Features
  • Android Architecture
  • SDK
    IDE
    Debugger
    Profiler
    Resource Building
    Deployment
    Tools
  • Views
    Content Providers
    Resource Manager
    Notification Manager
    Activity Manager
    Application Framework
  • Layouts
    XML Files
    Can be nested
    Strings
    Colors
    Arrays
    GUI
  • IDs
    Using the @+id/name syntax
    Resource Building - R.java
    XML
    GUI
  • Views
    TextView, Button, EditText, RadioButton, etc.
    Layouts
    LinearLayout
    RelativeLayout
    TableLayout
    Layouts
  • Most Common
    <android:layout_height>
    <android:layout_height>
    Wrap_content, fill_parent …
    Layout Parameters
  • A single thing the user can do
    It can be reused
    Can be invoked by other applications
    It Can be
    Full Screen Window
    Floating Windows
    Embedded
    Activities
  • Activity Lifecycle
  • package com.HelloWorld;
    import android.app.Activity;
    import android.os.Bundle;
    public class About extends Activity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.about);
    }
    }
    A typical Activity
  • Each applications has it own process
    Sandbox
    User IDs and File Access
    Permissions
    Security and Permissions
  • Intent – What you want done
    IntentFilters – What an activity do or IntentReceiver do
    Registered in Android Manifest
    Intent & IntentFilters
  • Enables sata sharing between the applications
    Querying , Modifying, Adding, Deleting
    Hide underlying inplementation
    Represented by URIs
    content://media/internal/images
    content://contacts/people
    Content Providers
  • Runs in background
    MP3 player, weather service, download
    Run in application’s process or another process
    Services
  • Universal Search
    Automated Backups
    Polished Applications
    Better Performance
    Whats Next?
  • http://developer.android.com
    http://www.anddev.org/
    XDA Developers forum for android development
    Where to start?