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)



Similar documents
Reminders. Lab opens from today. Many students want to use the extra I/O pins on

Università Degli Studi di Parma. Distributed Systems Group. Android Development. Lecture 1 Android SDK & Development Environment. Marco Picone

The "Eclipse Classic" version is recommended. Otherwise, a Java or RCP version of Eclipse is recommended.

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

Islamic University of Gaza. Faculty of Engineering. Computer Engineering Department. Mobile Computing ECOM Eng. Wafaa Audah.

Fahim Uddin 1. Java SDK

An Introduction to Android

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

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

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

Android Development. Lecture AD 0 Android SDK & Development Environment. Università degli Studi di Parma. Mobile Application Development

Getting Started with Android Development

Hello World. by Elliot Khazon

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

Introduction to Android Programming (CS5248 Fall 2015)

How to build your first Android Application in Windows

Android Setup Phase 2

Tutorial on Basic Android Setup

Open Source Telemedicine Android Client Development Introduction

01. Introduction of Android

System Reference 2013

How to Create an Android Application using Eclipse on Windows 7

OpenCV on Android Platforms

How To Run A Hello World On Android (Jdk) On A Microsoft Ds.Io (Windows) Or Android Or Android On A Pc Or Android 4 (

Android Development. Marc Mc Loughlin

Android: How To. Thanks. Aman Nijhawan

How To Develop Android On Your Computer Or Tablet Or Phone

Table of Contents. Adding Build Targets to the SDK 8 The Android Developer Tools (ADT) Plug-in for Eclipse 9

How To Develop An Android App On An Android Device

Android Environment SDK

Getting Started With Android

Android Programming: Installation, Setup, and Getting Started

Android Development Setup [Revision Date: 02/16/11]

Graduate presentation for CSCI By Janakiram Vantipalli ( Janakiram.vantipalli@colorado.edu )

Introduction to Android

CS378 -Mobile Computing. Android Overview and Android Development Environment

Lab 0 (Setting up your Development Environment) Week 1

DEVELOPING MOBILE APPLICATIONS USING ANDROID

The power of root on Android emulators

Building graphic-rich and better performing native applications. Pro. Android C++ with the NDK. Onur Cinar

Running a Program on an AVD

Frameworks & Android. Programmeertechnieken, Tim Cocx

Introduction to Android Development. Jeff Avery CS349, Mar 2013

Installing the Android SDK

Intel Integrated Native Developer Experience (INDE): IDE Integration for Android*

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

Developing In Eclipse, with ADT

Basic Android Setup Windows Version

Android 4.4 App Development Essentials

Develop a Hello World project in Android Studio Capture, process, store, and display an image. Other sensors on Android phones

Android Programming and Security

ADT Plugin for Eclipse

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

Android Tutorial. Larry Walters OOSE Fall 2011

Example Connection between USB Host and Android

CS 528 Mobile and Ubiquitous Computing Lecture 2: Android Introduction and Setup. Emmanuel Agu

Board also Supports MicroBridge

Mobile Application Development

Chapter 2 Getting Started

Introduction to Android

Android Development Exercises Version Hands On Exercises for. Android Development. v

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

Android Development Tools for Eclipse

Android Environment SDK

Android, Bluetooth and MIAC

Setting up Sudoku example on Android Studio

Workshop on Android and Applications Development

Android Application Development

Epidefender Studio Installation notice

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

Jordan Jozwiak November 13, 2011

1) SETUP ANDROID STUDIO

Setting Up Your Android Development Environment. For Mac OS X (10.6.8) v1.0. By GoNorthWest. 3 April 2012

Oracle FLEXCUBE Direct Banking Android Tab Client Installation Guide Release

Tutorial on Basic Android Setup

Android: Setup Hello, World: Android Edition. due by noon ET on Wed 2/22. Ingredients.

Basics. Bruce Crawford Global Solutions Manager

New Technology Introduction: Android Studio with PushBot

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

Android Geek Night. Application framework

Developing NFC Applications on the Android Platform. The Definitive Resource

How to Set Up Your PC for Android Application Development

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

Smartphone market share

Introduction to Android

Технологии Java. Android: Введение. Кузнецов Андрей Николаевич. Санкт-Петербургский Государственный Политехнический Университет

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

Mocean Android SDK Developer Guide

Published: SWD

Android Mobile App Building Tutorial

Understand and Build Android Programming Environment. Presented by: Che-Wei Chang

Mobile Client SDK for Android Developer's Guide

About this Release. Introduction. Prerequisites. Installation. Using the Web SDK Packager

Lecture 1 Introduction to Android

ECE 455/555 Embedded System Design. Android Programming. Wei Gao. Fall

MMI 2: Mobile Human- Computer Interaction Android

Kindle Fire App Development Essentials

Application Development Setup Guide

How to Set Up Your PC for Android Application Development

Transcription:

today 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) l Other: Signing Apps, SVN l Discussion and Questions introduction to android l mobile operating system running on the Linux kernel l Java language l Google-developed Java libraries l Open source introduction to android l Android applications don't have a single entry point for everything in the application (no main() function, for example) l Rather, they have essential components that the system can instantiate and run as needed. l A task is a stack of activities 1

components sensors l Activities (activated by Intents) l Presents a visual user interface for one focused endeavor the user can undertake l Services l No visual UI but runs in background for an indefinite period of time l Broadcast Receivers l Compass l Accelerometer l Camera l GPS l Microphone l Receives and reacts to broadcast announcements l Content Providers l Makes a specific set of an application's data available to other applications l Every application must have an AndroidManifest.xml file l Where components are declared l Set capabilities and permissions l Include libraries manifest file l Name Java package (unique identifier) l Supported Operating Systems l Windows XP or Vista l Mac OS 10.4.8 or later l Linux l Hardware Requirements l > 900 MB what you'll need 2

l Eclipse IDE development environments l Eclipse 3.4 (Ganymede) or 3.5 (Galileo) Recommended Packages: Eclipse IDE for Java EE Developers, Eclipse IDE for Java Developers, Eclipse for RCP/Plugin-Developers, or Eclipse Classic (3.5.1+) Eclipse JDT Plugin (incl. in most Eclipse IDE packages) l JDK 5 or JDK 6 (JRE not enough) l Android Development Tools Plugin l Not compatible with Gnu Compiler for Java (gcj) development environments ii l Apache Ant l 1.6.5+ for Linux, Mac; 1.7+ Windows l JDK 5 or JDK 6 using lab computers l install adt plugin l set android preferences sdk path l create android virtual device l creating own run config native development l Way to build performance-critical portions of your apps in native code l Android 1.6 NDK, Release 1 l Must already have Android SDK l Android runs in Davlik VM. This allows development in C, C++ l Increases app complexity, so make sure you need it! l Self-contained, CPU-contained operations l e.g., signal processing, physics simulations, vision 3

l You now have the Android SDK get started tutorial l If using Eclipse, make sure you have the ADT plugin (Android Development Tools) l Add Android platforms to your SDK (1.6, 2.0) l so you can build your app on lowest version you want to support, and test on higher versions l Get the latest documentation l SDK Add-Ons l Virtual mobile device l Supports Android Virtual Device (AVD) configurations l Debug capabilities emulator l Window > Android SDK and AVD Manager l Show Example hello world l Note: Project 'Tester' is missing required source folder: 'gen' (restart-- or refresh) apache ant android create project \ --target <target_id> \ --name <your_project_name> \ --path /path/to/your/project \ --activity <your_activity_name> \ --package <your_package_namespace> 4

use adb with command line l with real device l adb devices l adb logcat l collecting and viewing system debug output l can be filtered l adb install l initialize l private TTS mytts; l add to last line of oncreate() android.speech.tts l mytts = new TTS(this, ttsinitlistener, true); l after oncreate() l private TTS.InitListener ttsinitlistener = new TTS.InitListener() {public void oninit(int version) {mytts.speak("hello world", 0, null);}}; l Eyes-free l http://code.google.com/p/eyes-free/ l Remember to set camera permissions! l After picture taken- need callback camera api l public void onpicturetaken(byte[] data, Camera camera) l get bitmap from byte[] data (needs decoding) l then access pixels (be aware of pixel format!) l finally access R,G,B values of pixels l do some processing l Debug mode, done automatically signing applications l When your application is ready for release, you must compile in release mode and then sign the.apk with your private key 5

l http://subclipse.tigris.org/ l Subversion within Eclipse IDE svn l You can use your own method but be aware of versioning and changes! android developer challenge l Android Developer Challenge 2 (over) l Real-world users help review and score applications and the overall winner will take away $250,000 l Probably next deadline August 2010 homework 1 l simple color application l due Tuesday January 12 l send in.apk file and class files 6