• Save
Android Tutorial-Introduction
Upcoming SlideShare
Loading in...5
×
 

Android Tutorial-Introduction

on

  • 562 views

 

Statistics

Views

Total Views
562
Views on SlideShare
562
Embed Views
0

Actions

Likes
1
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

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
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Android Tutorial-Introduction Android Tutorial-Introduction Presentation Transcript

  • Android Some History Initially developed by Android, Inc. Google backed financially and later bought in 2005 Android was unveiled in 2007 along with the founding of the Open Handset Alliance [ OHA]
  • OPEN HANDSET ALLIANCE Open Handset Alliance is a consortium of hardware , software, and companies devoted to advancing open standards for mobile devices . telecommunication
  • TECHNICAL DEFINITION FOR ANDROID Android is an open source software package for mobile devices It includes operating system , middleware, key application Linux based (2.6 Kernel ) , uses Linux for its device driver, memory management, process management and networking
  • DIFFERENT VERSIONS OF ANDROID Each Android version release is named in alphabetical order after a dessert or sugary treat; for example version cupcake 1.5 was followed by donut 1.6 API level is an integer value that uniquely identifies the framework API revision offered by a version of the android platform The frame work API consist of A core set of packages A set of Xml attributes for declaring a manifest file and accessing resources A set of Intents The set of permissions that applications can request , as enforcements included in the system well as permission
  • ANDROID Android Versions VERSIONS
  • ANDROID VERSIONS WITH API LEVELS
  • ANDROID DISTRIBUTION Data collected: June 2013
  • FEATURES OF ANDROID Storage : Android uses SQLite ,for data storage Connectivity: supports GSM/EDGE,CDMA,UMTS ,Bluetooth , Wi-Fi ,LTE ,WIMAX Messaging : supports SMS,MMS Web Browser: supports chrome , opera and almost all kind of browser with JavaScript Media support: supports almost all kind of media JPEG,MPEG Hardware support: Camera,GPS,Bluetooth,Accelerometer sensor ,proximity sensor and digital compass Multi touch : Supports all most all kinds of multi-touch screens Multi-tasking: Supports all most all kinds of multi – tasking application
  • ANDROID ARCHITECTURE
  • APPLICATIONS Written by JAVA programming language
  • LINUX KERNEL Android is built in Linux kernel It does not include full set of standard Linux utilities
  • LIBRARIES Web Kit Based on open source Web kit browser Full CSS,Javascript,DOM,AJAX support Media Framework Based on packet video open core platform Supports standard video,audio,still-frame formats SQLite Light-weight transactional data store Back end for most platform data storage
  • ANDROID RUNTIME Core Libraries Core APIs for Java language provide a powerful, yet simple and familiar development platform Dalvik Virtual Machine Compile java code to Dalvik Executable(dex format)
  • APPLICATION FRAMEWORK Activity Manager It handles application lifecycle Package Manager It holds the information about applications loaded in the system Windows Manager It handles all the application related windows View system It provides rich and extensible set of views that can be used to build an application
  • APPLICATION FRAMEWORK cont… Resource Manager It provides access to non code resources such as localized strings, graphics, and layout files Content Providers It enables application to access data from other application (such as contacts) or to share their own data Notification Manager It enables all application to display custom alerts in status bar Location Manager It provides location information Telephony Manager It provides telephone related events such as incoming /outgoing call
  • ANDROID DEVICES
  • APP DEVELOPMENT PROCESS
  • APP DEVELOPMENT PROCESS cont…
  • TOOLS REQUIRED FOR APP DEVELOPMENT
  • HOW TO CREATE A NEW PROJECT [APPLICATION] ???
  • STEP 1 : FILE NEW
  • STEP 2 : NEW PROJECT ANDROID APPLICATION
  • STEP 3 : FILL THE APPLICATION NAME & PROJECT NAME
  • STEP 4 : CLICK NEXT
  • STEP STEP 5 : CLICK NEXT 5: Click Next
  • STEP 4 : CLICK NEXT
  • STEP 7: Click Next STEP 7 : CLICK FINISH
  • STEP 8 : PROJECT OUTLOOK
  • HOW TO CREATE AVD ???
  • STEP 1 : DEVICE WINDOW ANDROID VIRTUAL
  • STEP 2 : CLICK STEP 2 : CLICK NEW NEW
  • STEP 3 : DESIGN THE AVD
  • STEP 5 : CLICK LAUNCH STEP 4 :CLICK LAUNCH
  • STEP 5 : WAIT FOR EMULATOR TO LAUNCH
  • STEP 6 : AVD STEP 7 : AVD
  • DEPLOYING OPTIONS Deploying OPTIONS
  • ANDROID APP INTERNALS
  • ACTIVITIES Activities Activities are stacked like deck of cards Only one is visible at a time New activities are placed on top
  • VIEWS Views Views are the basic building blocks of an application It responds to events Described in xml layout
  • INTENTS Intents Android application’s content are describes in the android Mainfest.xml file Intents are used to move from activity to activity Activities register the intents they respond to using “intent filters” Provides run time binding
  • SERVICES Services Services run in the background They don’t interact with the user It runs on the main thread of the process It keeps running as long as Is started Has connections
  • NOTIFICATION Notification Notifies the user about events Sent through notification manager Kinds of Notification Persist Icon Turning led Sound or vibration
  • CONTENT PROVIDERS Content providers Content providers are objects that can Provide data Store data Data is available to all applications Only way to share data across packages Usually backend is SQLite
  • ANDROID MANIFEST FILE Android Manifest file Control file that tells the system what to do and how the top level components are related It actually specifies which intents your activities receive Specifies permissions
  • ANDROID APP ANATOMY
  • ANDROID PROGRAM STRUCTURE