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



Similar documents
CS378 -Mobile Computing. Android Overview and Android Development Environment

Workshop on Android and Applications Development

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

Introduction to Android

01. Introduction of Android

Android 5.0: Lollipop OS

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

Android Mobile App Building Tutorial

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

Basic Android Setup Windows Version

DEVELOPING MOBILE APPLICATIONS USING ANDROID

Getting Started with Android Development

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

Introduction to Android

Tutorial on Basic Android Setup

Android Environment SDK

Fahim Uddin 1. Java SDK

Module Title: Software Development A: Mobile Application Development

All About Android WHAT IS ANDROID?

Android Setup Phase 2

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

Android Programming: Installation, Setup, and Getting Started

Running a Program on an AVD

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

Getting Started with Android Programming (5 days) with Android 4.3 Jelly Bean

ANDROID INTRODUCTION TO ANDROID

«compl*tc IDIOT'S GUIDE. Android App. Development. by Christopher Froehlich ALPHA. A member of Penguin Group (USA) Inc.

How To Develop An Android App On An Android Device

How to Create an Android Application using Eclipse on Windows 7

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

Introduction to Android Development. Jeff Avery CS349, Mar 2013

Android Architecture. Alexandra Harrison & Jake Saxton

Example Connection between USB Host and Android

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

Hello World. by Elliot Khazon

Challenges in Android Application Development: A Case Study

Issues in Android on Mobile Platform and Their Resolution

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

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

Developing Applications for ios

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

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

Overview of CS 282 & Android

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)

What is Android? originally purchased from Android, Inc. in 2005

Getting Started with Tizen SDK : How to develop a Web app. Hong Gyungpyo 洪 競 杓 Samsung Electronics Co., Ltd

Next Gen Platform: Team & Mentor Guide

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

ANDROID OPERATING SYSTEM

Mobile App Design and Development

An Introduction to Android

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

Lecture 1 Introduction to Android

UNIVERSITY AUTHORISED EDUCATION PARTNER (WDP)

More details >>> HERE <<<

Full version is >>> HERE <<<

Board also Supports MicroBridge

Installing the Android SDK

Full version is >>> HERE <<<

Learning Material Design

Introduction to Android Programming (CS5248 Fall 2015)

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

1) SETUP ANDROID STUDIO

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

Additional details >>> HERE <<<

Manufactured under license from Dolby laboratories. Dolby and the double-d symbol are trademarks of Dolby Laboratories.

Here to take you beyond Mobile Application development using Android Course details

Android Development. Marc Mc Loughlin

ADT Plugin for Eclipse

IOIO for Android Beginners Guide Introduction

5 reasons to choose Streamezzo SDK over Android SDK Page 2

Developing Android Applications Introduction to Software Engineering Fall Updated 7 October 2015

Android Environment SDK

Setting up Sudoku example on Android Studio

Lecture 3 Mobile App Development (Android, ios, BlackBerry, Windows Mobile) <lecturer, date>

Point of View Mobii Android 4.2 Tablet PC. General notices for use... 2 Disclaimer... 2 Box Contents... 2

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

Desi g n Document. Life Monitor. Group Members: Kenny Yee Xiangxiong Shi Emmanuel Panaligan

Getting Started: Creating a Simple App

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

Development. SriSeshaa Technologies. Table of Contents

Android Tablet Basics Class Handouts

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

Oracle FLEXCUBE Direct Banking Android Tab Client Installation Guide Release

Android (Basic + Advance) Application Development

Point of View ProTab 3XXL IPS - Android 4.0 Tablet PC. Contents... 1 General notices for use... 2 Disclaimer... 2 Box Contents...

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 (

Lenovo Miix 2 8. User Guide. Read the safety notices and important tips in the included manuals before using your computer.

This guide describes features that are common to most models. Some features may not be available on your tablet.

Introduction to Android Development

Introduction to Tizen SDK Alpha. Taiho Choi Samsung Electronics

Mobile Phones Operating Systems

Introduction to Android

Specifications. What s Inside The box

Android Development Tools for Eclipse

Building an Android client. Rohit Nayak Talentica Software

Android Programming and Security

Transcription:

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

What is Android? Android is world s leading mobile operating system Google: Owns Android, maintains it, extends it Distributes Android OS, developer tools, free to use Runs Android app market

Android is Multi Platform In-car console Smartwatch Android runs on all these devices Smartphone Tablet Television This Class: Focuses Mostly on Smartphones!

Android Growth June 2014, 1 billion active Android users 1.25 million apps on the Android app market Games, organizers, banking, entertainment, etc

Other Types of Android Hardware (Apart from Smartphones)

Android Wearables: Smartwatches Minimal UI, at a glance Mostly notifications, Not full functionality Voice Commands, phone calls Directions, texts, run apps Heart Rate monitor Count Steps Wireless charging

Android Wearables: Google Glass Head mounted display, displays information, touch free Example application: Records babies life steps Features: Touchpad (on side), camera for photoes video, display, voice commands Google recently announced discontinuing Google Glass

Android Hardware: TV programming Smart, interactive TV platform (Android 5.0) featuring: Viewing recommendations based on watching habits Media apps downloadable from Google Play. E.g. Netflix streaming app Games Voice Search to answer questions. E.g. which movies were nominated for academy awards

Android Hardware: in Car Entertainment and Navigation System Example: Honda Connect system Integrated audio, phone, navigation, information system Runs Android 4.0.4 Android Auto announced by automotive alliance in Jan 2014

Android Versions Most recent Android version is Android L (5.0) or Lollipop Distribution as at Dec 1, 2014

Android Software Framework Android OS has Linux kernel, drivers Android Applications: Programmed in Java Android Libraries: OpenGL ES (graphics), SQLite (database), etc

Old Developer Android Environment Eclipse IDE: type code in, compile, not Android specific Android Dev Tools (ADT): Eclipse plugin, adds Android functionality Android Software Dev Kit (SDK): Tools to build, test and run apps Packages: Enables developing for various Android versions

New Developer Android Environment Google developed it s own IDE called Android Studio Combines tools in old development environment into 1 Cleaner interface specifically for Android Development (e.g. drag and drop app design) In December 2014, Google announced it will stop supporting Eclipse IDE Android Studio

Installing Android Studio Step 1: Install Java (at least version 1.7) Note: You may already have Java installed. Check first Step 2: Set JAVA_HOME system variable This variable tells applications that need Java where it is installed Step 3: Install Android Studio (version 1.1 is the latest) Bucky Roberts (thenewboston): nice youtube Android tutorials Tutorial 1: Install Java [ Watch it ] Tutorial 2: Install Android Studio [ Watch it ]

Where to Run Android App Android app can run on: Real phone (or device) Emulator (software version of phone) Emulated phone in Android Studio

Running Android App on Real Phone Need USB cord to copy app over from development PC to phone

Emulator Pros and Cons Pros: Conveniently test app on basic hardware by clicking in software Easy to test app on various devices (phones, tablets, TVs, etc), various screen sizes Cons: Some hardware missing, especially hardware for sensing environment E.g. GPS, camera, video recording, etc

Emulator Limitations No support for placing or receiving actual phone calls Simulate phone calls (placed and received) through the emulator console No support for USB connections No support for camera/video capture (input) No support for device attached headphones No support for determining connected state No support for determining battery charge level and AC charging state No support for determining SD card insert/eject No support for Bluetooth No support for simulating the accelerometer Use OpenIntents s Sensor Simulator Slow!!!

Setting up your Project After installing Android Studio, need to set up your project Tutorial: Android App Development for Beginners 3 Setting up your project by Bucky Roberts (thenewboston) https://www.youtube.com/watch?v=r4oiez0sfvy Main steps to set up Android Project Start a new Android Project Configure new Android Project (select app name, domain name, etc) Set platform and minimum SDK Add an Activity

Start a new Android Project

Add an Activity (Blank Activity is Simplest)

Running a Simple App Tutorial 4: Android App Development for Beginners 4 Running a Simple App [10:48 mins] by Bucky Roberts https://www.youtube.com/watch?v=qkrwc3q8wrw Main steps Run Android Studio Fix any remaining issues Run AVD, select virtual device Run App on selected virtual device

Open Android Studio

Run AVD Manager

How to Run the App? Click here to run the app

Run App on Virtual Device (Phone)

Tour of Android Studio Interface Tutorial 5: Tour of Android Studio Interface [6:01 mins] https://www.youtube.com/watch?v= pdtqbq2tfq Quick overview of main sections of Android Studio Windows menu bar Android tool bar Project window Editor Window Palette for Drag and Drop Design of Android buttons More detailed coverage of specific UI aspects later

Typical Windows Menu Bar (File, edit, etc)

Tool Bar: Shortcuts to Frequently used Android-specific Functions (E.g. One-click access to SDK manager)

Path to Current File in IDE Window (Clickable)

Editor Window (Allows editting of current file we are working on)

Clicking on Editor Window Tabs switches between Java code and Visual Interface

Project Window (Allows between project files, packages, etc)

Palette of Drag-and-Drop Elements for Designing Interface (Layout, widgets, etc)

Parameters of Drag-and-Drop Elements for Designing Interface (e.g. colors, dimensions of widgets, etc)

Importing Existing Code Can also import existing code The text comes with lots of free code you can learn from, use in projects as starting point Can import from github repository See tutorial #2 of busy coders book

Android Versions/API Levels

References Ask A Dev, Android Wear: What Developers Need to Know, https://www.youtube.com/watch?v=zts2nzplyqg Ask A Dev, Mobile Minute: What to (Android) Wear, https://www.youtube.com/watch?v=n5yjzn3b_aq Busy Coder s guide to Android version 4.4 CS 65/165 slides, Dartmouth College, Spring 2014 CS 371M slides, U of Texas Austin, Spring 2014