Download presentation
Presentation is loading. Please wait.
Published byRoy Johns Modified over 9 years ago
1
Android architecture & setting up
3
Android operating system comprises of different software components arranges in stack. Different components of android operating system are:- Linux kernel libraries Android Run time Application framework Applications
4
Linux kernal Provides the basic system functionality such as process management,memory management & device management Provide array of divice drivers to interface the android with peripheral devices.
5
Libraries On the top of linux kernel. Provide different libraries useful for well functioning of android platform. LibrariesExplanation SQLiteIt is used to access data published by content providers & includes SQLite database management classes. SSLIt is used to provide internet security. OpenGLIt is used to provide java interface to the openGL/ES 3D graphics rendering API. Media frameworkIt is used to provide different media codecs which allow the recording & playback of different media formats. WebKitIt is the browser engine used to display internet content or HTML content.
6
Android Runtime 3 rd component.placed in 2 nd layer from bottom. It contain DVM. DVM is similar to JVM;difference is it is designed & optimized for Android. DVM uses core functions of Linux such as memory management and multithreading & enables each android app to run its own process.
7
Application Framework 2 nd topmost component in android operating system stack. Android application directly interact with application framework. It manages the basic functions of android device such as resource management,voice call management etc
8
Important blocks of Application framework are BlockExplanation Activity managerBlock is used to manage complete activity lifecycle of applications Content providersBlock is used to manage the data sharing between two applications Telephony ManagerBlock is used to manages all voice calls Location ManagerBlock is used to manage the location obtained using GPS or cell tower Resource ManagerBlock is used to manage the different types of resources used in android app
9
Applications Applications created by third party users or developer will be installed on application layer.
10
Setting up local environment to create android application We can start android application development in Microsoft Windows XP & higher versions of windows.
11
System Requirements Windows Microsoft® Windows® 8/7/Vista/2003 (32 or 64-bit) 2 GB RAM minimum, 4 GB RAM recommended 400 MB hard disk space At least 1 GB for Android SDK, emulator system images, and caches 1280 x 800 minimum screen resolution Java Development Kit (JDK) 7 Optional for accelerated emulator: Intel® processor with support for Intel® VT-x, Intel® EM64T (Intel® 64), and Execute Disable (XD) Bit functionality
12
Then… Android SDK Eclipse IDE for java Developers Android Development tools(ADT)Eclipse Plugin
13
Steps 1:- Download android SDK from the android developer website. Step 2:-After downloading the complete package extract the zip file. You need to open the eclipse from eclipse->eclipse.exe. Once you open the eclipse you will able to see SDK icon on top of eclipse IDE. Step 3:-After clicking on the icon you will be prompted to download all the necessary packages. Step 4:-After downloading all the packages you will able to develop android application for any version. Downloaded stuff will go into sdk->platform folder.
14
Create android virtual device(AVD) AVD provide you virtual emulator to test your android app.
15
SDK Manager
16
AVD
17
ADT Plugin (1) In Eclipse, go to Help -> Install New Software Click ‘Add’ in top right Enter: Name: ADT Plugin Location: https://dl-ssl.google.com/android/eclipse/ Click OK, then select ‘Developer Tools’, click Next Click Next and then Finish Afterwards, restart Eclipse Specify SDK location (next 3 slides) Must do this every time start a new project in a new location (at least in Windows)
18
ADT Plugin (2)
19
ADT Plugin (3)
20
ADT Plugin (4)
21
Android Studio Setup Guide for Windows CONTENTS (Est. Total Time Required: 60 min) Install Java (5 min) Set Your JAVA_HOME (5 min) Install Android Studio (15 min) Install Android System Images and Tools (30 min) Create an Android Virtual Device (AVD) (5 min)
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.