Android (2009.12.30) Frank Ducrest

Similar documents
Introduction to Android SDK Jordi Linares

directory to "d:\myproject\android". Hereafter, I shall denote the android installed directory as

ECWM511 MOBILE APPLICATION DEVELOPMENT Lecture 1: Introduction to Android

MMI 2: Mobile Human- Computer Interaction Android

Chapter 2 Getting Started

Tutorial: Android Object API Application Development. Sybase Unwired Platform 2.1 ESD#1

Android Introduction. Hello Mihail L. Sichitiu 1

How to build your first Android Application in Windows

Mobile Application Development

Frameworks & Android. Programmeertechnieken, Tim Cocx

Hello World. by Elliot Khazon

Advertiser Campaign SDK Your How-to Guide

CSE476 Mobile Application Development. Yard. Doç. Dr. Tacha Serif Department of Computer Engineering Yeditepe University

Android Application Development: Hands- On. Dr. Jogesh K. Muppala

Android Environment SDK

Introduction to Android

Android Environment SDK

Developing Android Apps: Part 1

Packaging and Distributing

Android Development. 吳 俊 興 國 立 高 雄 大 學 資 訊 工 程 學 系

Android Development. Marc Mc Loughlin

Advantages. manage port forwarding, set breakpoints, and view thread and process information directly

ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL I)

Developing In Eclipse, with ADT

Lecture 1 Introduction to Android

OpenCV on Android Platforms

Now that we have the Android SDK, Eclipse and Phones all ready to go we can jump into actual Android development.

Getting Started: Creating a Simple App

Mobile Application Development Android

Tutorial #1. Android Application Development Advanced Hello World App

Android Basics. Xin Yang

Presenting Android Development in the CS Curriculum

INTRODUCTION TO ANDROID CSCI 4448/5448: OBJECT-ORIENTED ANALYSIS & DESIGN LECTURE 11 02/15/2011

Admin. Mobile Software Development Framework: Android Activity, View/ViewGroup, External Resources. Recap: TinyOS. Recap: J2ME Framework

Android Programming. Android App. Høgskolen i Telemark Telemark University College. Cuong Nguyen,

IOIO for Android Beginners Guide Introduction

06 Team Project: Android Development Crash Course; Project Introduction

J A D E T U TO R I A L

Android Programming and Security

Introduction to Android

Introduction to NaviGenie SDK Client API for Android

With a single download, the ADT Bundle includes everything you need to begin developing apps:

GETTING STARTED WITH ANDROID DEVELOPMENT FOR EMBEDDED SYSTEMS

Arduino & Android. A How to on interfacing these two devices. Bryant Tram

Jordan Jozwiak November 13, 2011

ITG Software Engineering

Developing apps for Android OS: Develop an app for interfacing Arduino with Android OS for home automation

Android Development Tutorial. Human-Computer Interaction II (COMP 4020) Winter 2013

App Development for Android. Prabhaker Matet

Android For Java Developers. Marko Gargenta Marakana

RTI Connext DDS. Core Libraries Getting Started Guide Addendum for Android Systems Version 5.2.0

App Development for Smart Devices. Lec #2: Android Tools, Building Applications, and Activities

Basic Android Setup Windows Version

UNIVERSITY AUTHORISED EDUCATION PARTNER (WDP)

KomliMobile Android SDK

Building Your First App

Workshop on Android and Applications Development

An Android-based Instant Message Application

2. Click the download button for your operating system (Windows, Mac, or Linux).

DESIGNING AN M-LEARNING APPLICATION FOR A UBIQUITOUS LEARNING ENVIRONMENT IN THE ANDROID BASED MOBILE DEVICES USING WEB SERVICES

Android-based Java Programming for Mobile Phone LED Control

Introduction to Android Programming (CS5248 Fall 2015)

Hacking your Droid ADITYA GUPTA

How To Develop An Android App On An Android Device

Android Tutorial. Larry Walters OOSE Fall 2011

Smartphone market share

Tutorial: Android Object API Application Development. SAP Mobile Platform 2.3 SP02

Tutorial on Basic Android Setup

Android Apps Development Boot Camp. Ming Chow Lecturer, Tufts University DAC 2011 Monday, June 6, 2011

Android 多 核 心 嵌 入 式 多 媒 體 系 統 設 計 與 實 作

How to Create an Android Application using Eclipse on Windows 7

Developing an Android App. CSC207 Fall 2014

Introduction to Android: Hello, Android! 26 Mar 2010 CMPT166 Dr. Sean Ho Trinity Western University

Programming with Android: SDK install and initial setup. Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna

Android Programming. Høgskolen i Telemark Telemark University College. Cuong Nguyen,

Android Development Tutorial. Nikhil Yadav CSE40816/ Pervasive Health Fall 2011

Using Extensions or Cordova Plugins in your RhoMobile Application Darryn

An Introduction to Android. Huang Xuguang Database Lab. Inha University

Android Programming Basics

Getting started with Android and App Engine

Getting Started With Android

Specialized Android APP Development Program with Java (SAADPJ) Duration 2 months

An Introduction to Android

Android Java Live and In Action

l What is Android? l Getting Started l The Emulator l Hello World l ADB l Text to Speech l Other APIs (camera, bitmap, etc)

Transcription:

Android (2009.12.30) Frank Ducrest

Android 2 Android mobile operating system based on a monolithic Linux kernel (all OS operations take place in the kernel space) suited to Java apps by design (Dalvik Virtual Machine); developers write code in the Java language using Googledeveloped Java libraries open source history: started by Android Inc., which was purchased by Google, then later by the Open Handset Alliance current stable version (as of this writing): 2.0.1, Release 1 / 2009 12 03 http://www.android.com/

Android 3 Android (continued) Motorola Droid first device supporting v2.0, November 6, 2009 28 current devices support Android with 15 announced in works (as of this writing) industry predictions include Android consumer devices knocking iproducts out of second place within two years (based on cost and expected availability of unlocked phones) Eclipse 3.2 or later is the official IDE (uses the Android Development Tools (ADT) Plugin) http://www.android.com/

Android 4 Android Intent provide a framework for your app so that your app does not interfere with other system functions; i. e. doesn't crash the phone allow programming to take place in a manner similar to programming for traditional devices common capabilities of Android devices include access to local storage full range of network connectivity play and record audio and video GPS phone services

Android 5 Android Concepts project application under development application android; app; finished executable product activity building block of user interface content provider abstraction level to provide access to data stored on the device service process mean to be continuously run intent system messages for notification (information, event occurrence)

Android 6 Distribution APK archive of all necessary files and a manifest file (AndroidManifest.xml)

Android 7 Example AndroidManifest.xml File <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="himom.bozo" android:versioncode="1" android:versionname="1.0"> <application android:icon="@drawable/icon" android:label="@string/app_name"> <activity android:name=".himom" android:label="@string/app_name"> <intent-filter> <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" /> </intent-filter> </activity> </application> <uses-sdk android:minsdkversion="6" /> </manifest>

Android 8 Android Eclipse Project project directory AndroidManifest.xml default.properties assets directory for static files bin directory for binaries; includes APK gen directory for auto generated code libs directory for 3 rd party JARS scr Java source code res directory for various resources; holds icons, layouts tests directory for a separate project used for testing the enclosing project

Android 9 Android Ant Project same as Eclipse project, but includes build.xml ant script file local.properties

Android 10 Example Android Project Java Code package himom.bozo; import android.app.activity; import android.os.bundle; import android.widget.textview; public class himom extends Activity { /** Called when the activity is first created. */ @Override public void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); TextView tv = new TextView(this); tv.settext("hello, Mom!"); setcontentview(tv); } }

Android 11 Example Android Project File Structure himom3 -- AndroidManifest.xml -- assets -- bin -- classes.dex -- himom `-- bozo -- R$attr.class -- R$drawable.class -- R$layout.class -- R$string.class -- R.class `-- himom.class -- himom3.apk `-- resources.ap_ -- default.properties -- gen `-- himom `-- bozo `-- R.java

Android 12 Example Android Project File Structure (continued) -- res -- drawable-hdpi `-- icon.png -- drawable-ldpi `-- icon.png -- drawable-mdpi `-- icon.png -- layout `-- main.xml `-- values `-- strings.xml `-- src `-- himom `-- bozo `-- himom.java

Android 13 Example App Run in Emulator