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



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

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

Fahim Uddin 1. Java SDK

Getting Started with Android Development

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

Android Environment SDK

Android Environment Emulator

Introduction to Android

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

DEVELOPING MOBILE APPLICATIONS USING ANDROID

Lab 0 (Setting up your Development Environment) Week 1

CS378 -Mobile Computing. Android Overview and Android Development Environment

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)

1) SETUP ANDROID STUDIO

ADT Plugin for Eclipse

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

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

How to build your first Android Application in Windows

Download and Installation Instructions. Android SDK and Android Development Tools (ADT) Microsoft Windows

Installing the Android SDK

Tutorial on Basic Android Setup

01. Introduction of Android

Basic Android Setup Windows Version

Hello World. by Elliot Khazon

Lecture 1 Introduction to Android

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

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

Application Development Setup Guide

Running a Program on an AVD

Introduction to Android Development. Jeff Avery CS349, Mar 2013

Introduction to Android Development

How To Develop An Android App On An Android Device

Introduction to Android

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

Android 4.4 App Development Essentials

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

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

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

Android Environment SDK

Download and Installation Instructions. Android SDK and Android Development Tools (ADT)

Workshop on Android and Applications Development

System Reference 2013

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

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

Android Setup Phase 2

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

Praktikum Entwicklung Mediensysteme (für Master)

Oracle FLEXCUBE Direct Banking Android Tab Client Installation Guide Release

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

Android: How To. Thanks. Aman Nijhawan

How to Create an Android Application using Eclipse on Windows 7

ANDROID OPERATING SYSTEM

OpenCV on Android Platforms

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

Epidefender Studio Installation notice

Android Mobile App Building Tutorial

WA1826 Designing Cloud Computing Solutions. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

Android Programming: Installation, Setup, and Getting Started

Example of Standard API

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 (

Practical Android Projects Lucas Jordan Pieter Greyling

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

Android Operating System

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

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

Android Programming and Security

Mobile Phones Operating Systems

Open Source Telemedicine Android Client Development Introduction

Software Development Environment. Installation Guide

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

Developing Applications for ios

Development. SriSeshaa Technologies. Table of Contents

Board also Supports MicroBridge

Introduction to Android

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

Module Title: Software Development A: Mobile Application Development

What else can you do with Android? Inside Android. Chris Simmonds. Embedded Linux Conference Europe Copyright 2010, 2net Limited.

Download and Installation Instructions. Android SDK and Android Development Tools (ADT) Microsoft Windows

IOTIVITY AND EMBEDDED LINUX SUPPORT. Kishen Maloor Intel Open Source Technology Center

Android Development Tools for Eclipse

Overview of CS 282 & Android

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

Home Course Catalog Schedule Pricing & Savings Training Options Resources About Us

Introduction to Android Programming (CS5248 Fall 2015)

SeeTec ExpansionPackage

Mobile Application Development 2014

Introduction: The Xcode templates are not available in Cordova or above, so we'll use the previous version, for this recipe.

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

Installing the Android SDK for Intel Application Development

An Introduction to Android Application Development. Serdar Akın, Haluk Tüfekçi

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

ANDROID APPLICATION FOR FILE STORAGE AND RETRIEVAL OVER SECURED AND DISTRIBUTED FILE SERVERS SOWMYA KUKKADAPU B.E., OSMANIA UNIVERSITY, 2010 A REPORT

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

How To Develop Android On Your Computer Or Tablet Or Phone

Example Connection between USB Host and Android

New Technology Introduction: Android Studio with PushBot

How to Set Up Your PC for Android Application Development

ANDROID INTRODUCTION TO ANDROID

Transcription:

Android Development Lecture 1 Android SDK & Development Environment

Università Degli Studi di Parma Lecture Summary - 2 The Android Platform Android Environment Setup SDK Eclipse & ADT SDK Manager Android Emulator ADT Additional Tools First Android Application

The Android Platform - Android is a software stack for mobile devices that includes an operating system, middleware and key applications. The Android SDK provides the tools and APIs necessary to begin developing applications on the Android platform using the Java programming language. - It is a Linux-based operating system for mobile devices such as smartphones and tablet computers. It is developed by the Open Handset Alliance led by Google. - The Linux 2.6 kernel handles core system services and acts as hardware abstraction layer (HAL) between the physical hardware and the Android Software Stack. - Kernel handles: Application permissions and security Low-level energy management Process management and Threading Networking Display, keypad input, camera, Flash memory, audio and binder (IPC) driver access 3 Source: Wikipedia, AWA, http://developer.android.com/guide/developing/tools/aidl.html

Android SDK http://developer.android.com/sdk/index.html The Android SDK has the tools, sample code, and docs needed to create Android Application. Platform Windows Package Android SDK r16 Mac Os X (Intel) Android SDK r16 Linux (i386) Android SDK r16 4

Prepare Your Development Computer - Android SDK Supported OS: Windows XP (32-bit), Vista (32- or 64-bit), or Windows 7 (32- or 64- bit) Mac OS X 10.5.8 or later (x86 only) Linux (tested on Ubuntu Linux, Lucid Lynx) - Java Development Kit (JDK 5-6) Not compatible with Gnu Compiler for Java (gcj) - Eclipse IDE (3.6 Helios o greater) part of the Eclipse Platform, it is a multi-language software development environment based on extensible plug-in system. - Android Development Tools (ADT) is a plugin for the Eclipse IDE 5

Eclipse IDE Project and File File Editor Explorer Console and additional Views 6 Source: http://www.eclipse.org/

Android Developer Toolkit - ADT - Android Development Tools (ADT) is a plugin for the Eclipse IDE that is designed to give you a powerful, integrated environment in which to build Android applications. - ADT extends the capabilities of Eclipse to let you: quickly set up new Android projects create an application UI add components based on the Android Framework API create Android emulator with multiple options and available configurations test applications on real or emulated devices debug your applications using the Android SDK tools export signed (or unsigned).apk files in order to distribute your application. 7

ADT Installation - Start Eclipse, then select Help > Install New Software... - - Click Add, in the top-right corner. In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location:https://dl-ssl.google.com/android/ eclipse/ - Select and install Developer Tools packages 8

ADT Configuration Eclipse -> Preferences -> Set SDK Location to SDK folder previously downloaded 9

Android SDK Manager - Before you can build an Android application, or even create a project you must install one ore more building target. - By clicking on Android SDK Manager Button you can select platforms components that you would like to install on you development machine. - There are several packages related to different API levels. - In our course we will use API level 4.x and 2.3.x in order to see latest platform release and compile developed application for available real devices. 10

Android Emulator - The Android SDK includes a virtual mobile device emulator that runs on your computer. The emulator lets you prototype, develop, and test Android applications without using a physical device. - The Android emulator emulates all of the hardware and software features of a typical mobile device, except that it cannot place actual phone calls. It provides a variety of navigation and control keys, which you can "press" using your mouse or keyboard to generate events for your application. It also provides a screen in which your application is displayed, together with any other Android applications running. - To let you model and test your application more easily, the emulator utilizes Android Virtual Device (AVD) configurations. AVDs let you define certain hardware aspects of your emulated phone and allow you to create many configurations to test many Android platforms and hardware permutations. Once your application is running on the emulator, it can use the services of the Android platform to invoke other applications, access the network, play audio and video, store and retrieve data, notify the user, and render graphical transitions and themes. - The emulator also includes a variety of debug capabilities, such as a console from which you can log kernel output, simulate application interrupts (such as arriving SMS messages or phone calls), and simulate latency effects and dropouts on the data channel. 11 Source: http://developer.android.com/guide/developing/devices/emulator.html

Android Emulator - Android emulator supports many hardware features likely to be found on mobile devices, including: An ARMv5 CPU and the corresponding memorymanagement unit (MMU) A 16-bit LCD display One or more keyboards (a Qwerty-based keyboard and associated Dpad/Phone buttons) A sound chip with output and input capabilities Flash memory partitions (emulated through disk image files on the development machine) A GSM modem, including a simulated SIM Card The sections below provide more information about the emulator and how to use it for developing Android applications. 12 Source: http://developer.android.com/guide/developing/devices/emulator.html

ADT Additional Tools - ADT Plugin provides several useful tools to develop, control and profile Android applications, emulators and real devices - Relevant ADT Views are: Devices LogCat Emulator Control Resource Explorer Threads 13

Università Degli Studi di Parma Coming Up - Next Lecture - 14 Android Platform Homework Install Android SDK & ADT Create First Android Project Create a Virtual Device Run the Application on a real or Virtual Device