Copyright© Jeffrey Jongko, Ateneo de Manila University Android.

Slides:



Advertisements
Similar presentations
Android Application Development A Tutorial Driven Course.
Advertisements

Introduction.  Professor  Adam Porter 
Delrieu Marjorie Loiseau Pierre
Android Development Tutorial Yi Huang. Contents 2  What’s Android  Android architecture  Android software development  ‘Hello World’ on Android 
What is Android?.
Android architecture overview
Programming Mobile Applications with Android
Android Platform Overview (1)
Programming with Android: SDK install and initial setup Luca Bedogni Marco Di Felice Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna.
Android Aims to bring Internet-style innovation and openness to mobile phones.
DEPARTMENT OF COMPUTER ENGINEERING
ANDROID OPERATING SYSTEM Guided By,Presented By, Ajay B.N Somashekar B.T Asst Professor MTech 2 nd Sem (CE)Dept of CS & E.
© 2010 MindTree Limited CONFIDENTIAL: For limited circulation only Slide 1 CONFIDENTIAL: For limited circulation only An automaton that is created from.
Mobile Application Development
Google Android as a mobile development platform T Internet Technologies for Mobile Computing Olli Mäkinen.
Android An open handset alliance project Janice Garcia September 18, 2008 MIS 304.
@2011 Mihail L. Sichitiu1 Android Introduction Platform Overview.
Asst.Prof.Dr.Ahmet Ünveren SPRING Computer Engineering Department Asst.Prof.Dr.Ahmet Ünveren SPRING Computer Engineering Department.
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
To be Presented by, T.Sathishkumar [11mw07] 1. Synopsis Introduction Version Features License An Application Development Demo Possibilities Advantages.
Android Programming Day best Android Apps Lzo&feature=fvwrel.
Android Introduction Platform Overview.
Mobile Application Development with ANDROID Tejas Lagvankar UMBC 29 April 2009.
Mobile Application Development with ANDROID. Agenda Mobile Application Development (MAD) Intro to Android platform Platform architecture Application building.
About me Yichuan Wang Android Basics Credit goes to Google and UMBC.
Mobile Application Development using Android
By Mihir Joshi Nikhil Dixit Limaye Pallavi Bhide Payal Godse.
@2011 Mihail L. Sichitiu1 Android Introduction Platform Overview.
Android Programming By Mohsen Biglari Android Programming, Part1: Introduction 1 Part1: Introduction By Mohsen Biglari.
2- Android Overview and Android Development Environment CSNB544 Mobile Application Development Thanks to Utexas Austin.
Smart Phone Laboratory ECEN 489 Srinivas Shakkottai.
Presentation Seminar on “IMAGE SLIDER –AN ANDROID APPLICATION”
ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics.
Android for Java Developers Denver Java Users Group Jan 11, Mike
ANDROID 응용 프로그래밍 과정 – 목차 - 안드로이드란 - 안드로이드가 만들어지게 된배경 - 안드로이드의 철학 - 안드로이드 환경설정 ( SDK download, eclipse plug-in 설정, 간단한 프로그램 실행 ) - 안드로이드 동작원리 - 안드로이드 핵심.
10/10/2015 E.R.Edwards 10/10/2015 Staffordshire University School of Computing Introduction to Android Overview of Android System Android Components Component.
Presented By: Muhammad Tariq Software Engineer Android Training course.
Android Husam Abdel Rahman. Introduction Android Operating system is most popular operating system these days with the advance in voice communications.
Android architecture & setting up. Android operating system comprises of different software components arranges in stack. Different components of android.
ANDROID BY:-AANCHAL MEHTA MNW-880-2K11. Introduction to Android Open software platform for mobile development A complete stack – OS, Middleware, Applications.
Created By. Jainik B Patel Prashant A Goswami Gujarat Vidyapith Computer Department Ahmedabad.
 Installation of Android Development Environment  Creating the App with OpenGL ES API  Running the App on Emulator Android App Development.
1 Android Introduction Platform Overview. 2 What is Android?  Android is a software stack for mobile devices that includes an operating system, middleware.
Mobile Application Development with ANDROID Umang Patel(6537) LDCE.
By, Rutika R. Channawar. Content Introduction Open Handset Alliance Minimum Hardware Requirements Versions Feature Architecture Advantages Disadvantages.
Developed By Ankita P. Shah Applications on Garage Sales Australia Westminster Kingsway College.
1 Android Workshop Platform Overview. 2 What is Android?  Android is a software stack for mobile devices that includes an operating system, middleware.
Android Development For Beginners. What is Android? Android is an open mobile phone platform that was developed by Google and later by Open Handset Alliance.
Android operating system N. Sravani M. Tech(CSE) (09251D5804)
By Adam Reimel. Outline Introduction Platform Architecture Future Conclusion.
ANDROID OS Ravi Soni MTech (CS) III Sem. W HAT IS A NDROID ? Android is a software stack for mobile devices that includes an operating system, middleware.
Android. Android An Open Handset Alliance Project A software platform and operating system for mobile devices Based on the Linux kernel Developed by Google.
Android Training in Chandigarh. What is Android Android is a mobile operating system based on the Linux Kernel. The goal of android project is to create.
1 Introduction to the Android Platform and SDK Jacek Surazski.
Google. Android What is Android ? -Android is Linux Based OS -Designed for use on cell phones, e-readers, tablet PCs. -Android provides easy access to.
The Basics of Android App Development Sankarshan Mridha Satadal Sengupta.
Android Mobile Application Development
Visit for more Learning Resources
Architecture of Android
ANDROID AN OPEN HANDSET ALLIANCE PROJECT
Android.
Contents: Introduction Different Mobile Operating Systems
CMPE419 Mobile Application Development
Application Framework
Application Development A Tutorial Driven Course
Android Introduction Platform Mihail L. Sichitiu.
Korea Software HRD Center
Android Platform, Android App Basic Components
CMPE419 Mobile Application Development
Presentation transcript:

Copyright© Jeffrey Jongko, Ateneo de Manila University Android

Overview  What is Android?  Features  Architecture  Runtime: Dalvik VM  Linux Kernel  Under the Hood  Java, Eclipse, Android SDK Installation  New Project Creation  Project Folder Hierarchy  Very Simple Lab Exercises

What is Android?  software stack for mobile devices  operating system  middleware  key applications  Android SDK Android SDK  contains tools and APIs necessary to begin developing applications on the Android platform using the Java programming language.

Android Features  Application framework enabling reuse and replacement of components  Dalvik virtual machine optimized for mobile devices  Integrated browser based on the open source WebKit engineWebKit  Optimized graphics powered by a custom 2D graphics library; 3D graphics based on the OpenGL ES 1.0 specification (hardware acceleration optional)  SQLite for structured data storage

Android Features  Media support for common audio, video, and still image formats (MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, GIF)  GSM Telephony (hardware dependent)  Bluetooth, EDGE, 3G, and WiFi (hardware dependent)  Camera, GPS, compass, and accelerometer (hardware dependent)  Rich development environment including a device emulator, tools for debugging, memory and performance profiling, and a plugin for the Eclipse IDE

Android Architecture

Android Runtime: Dalvik VM  Android Virtual Machine (VM) = Dalvik  Every Android app runs in its own process, with its own instance of the Dalvik VM.  The “dx” tool (from the Android SDK) translates Java classes compiled by a Java Language compiler into “.dex” (Dalvik Executable) format.  “.dex” files are zipped into a single “.apk” (Android application package) file

Android: Linux Kernel  Uses Linux version 2.6  Core System Services  Security  Memory management  Process management  Network stack  Driver model

Android: Under the Hood

Java, Eclipse, Android SDK Installation  Refer to:  CS119_3InstallationSteps_Nov11,2010.doc 

New Project Creation  In Eclipse, select File > New > Project  Select Android > Android Project

 All the highlighted items must be modified  Note: if you have a lot of available targets you need to scroll down

New Project Creation: Contents

New Project Creation: Build Target Android 2.1-update1 = Android API only Google APIs = Android API + Google API

New Project Creation: Properties Application name = title of application; will appear on Android device Package name = where src will reside; must have at least 2 components (i.e. 1 dot) Create Activity = optional; name of your main Activity class Min SDK Version = minimum API level to run your app; If unsure, use API level in Build Target

Android Project Folder Hierarchy

- contains R.java - auto-generated - short-hand way to refer to res - DO NOT EDIT MANUALLY!

Android Project Folder Hierarchy - contains files (.txt files, etc) that you can’t put in the res folder. * res folder contains images (PNG, JPEG, etc) and XML. -You can only READ data in the asset folder, not overwrite or add stuff during runtime

Android Project Folder Hierarchy - contains images - for multiple screen support - dpi = density-independent pixel - High, Medium, Low

Lots of Different Devices

Multiple Screen Support

Android Project Folder Hierarchy - contains XML files that indicate what your app looks like - each XML file could have TextViews, Buttons, etc

Android Project Folder Hierarchy - may contain XML files (e.g. strings, styles) - putting string values inside string.xml file makes it easier to localize/change to other foreign languages - styles ≈ css

Android Project Folder Hierarchy - contains details about the app (Android version, etc), the Activities used, permissions, etc

Lab Exercises  Create a hello world project (use Android 2.1 Eclair)  Implement * patterns using For Loops * ** **** ***** ****** ***** **** *** ** * Most Android versions are named after food … know them all