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

Size: px
Start display at page:

Download "Android Development. http://developer.android.com/develop/ 吳 俊 興 國 立 高 雄 大 學 資 訊 工 程 學 系"

Transcription

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

2 Android 3D 1. Design 2. Develop Training API Guides Reference 3. Distribute 2

3 Development Training Get Started Building Your First App Managing the Activity Lifecycle Building a Dynamic UI with Fragments Saving Data Interacting with Other Apps Advanced Training 3

4 Development - Get Started Learn how to set up the development environment Java SDK, Android SDK, Eclipse, ADT Plugin for Eclipse Learn how to build the first Android app How to create an Android project How to run a debuggable version of the app Learn some fundamentals of Android app design 4

5 Installing the SDK Set up the Android development environment 1. Download the Android SDK Check and install Java SDK if necessary Download the latest SDK tools and platforms using the SDK Manager 2. Install Eclipse 3. Install ADT (Android Developtment Tools) plugin for Eclipse Tip: For easy access to the SDK tools from a command line, add the location of the SDK's tools/ and platform-tools to your PATH environment variable 5

6 Step 1. Download the Android SDK Includes only the core SDK tools (mainly Android SDK Manager) to download the rest of the SDK packages (such as the latest system image) Checks for required tools, such as the proper Java SE Development Kit (JDK) and installs it if necessary To develop an Android app, you also need to download at least one Android platform and the latest SDK Platform-tools For the first time, simply click Install to install the recommended packages Anytime you can launch the Android SDK Manager to download others 6

7 Adding Platforms and Packages SDK Tools (Required) The new SDK installation already has the latest version Make sure to keep this up to date SDK Platform-tools (Required) Must install this package for the first time SDK Platform (Required) Must download at least one platform to compile applications The latest platform version is recommended To get started, download the latest Android version, plus the lowest version planned to support (we recommend Android 2.2 for your lowest version) System Image (Recommended) It's a good practice to download system images for all versions of Android your app supports and test your app running on them with the Android emulator Android Support (Recommended) Includes a static library to use some of the latest Android APIs on devices running a platform version as old as Android 1.6 SDK Samples (Recommended) Include source codes used to learn about Android, load as a project and run, or reuse in your own app 7

8 Step 2. Install Eclipse 1. Download Eclipse from Classic Version recommended, otherwise Java or RCP Version Self-contained executable file (zip) 2. Unzip it to your preferred location, i.e., \Program Files\Eclipse 3. Create a shortcut as you like. Start installation as the first time of running Eclipse Select a default workspace (folder) to store projects 8

9 Step 3. Install the ADT plugin for Eclipse Step 3-1. Download the ADT Plugin 1. Start Eclipse, then select Help->Install New Software 2. Click Add, in the top-right corner In the Add Repository dialog that appears, enter Name: ADT Plugin Location: If having trouble acquiring the plugin, try using "http" instead of "https" 3. In the Available Software dialog, select the checkbox next to Developer Tools and click Next In the next window, you'll see a list of the tools to be downloaded. Click Next Read and accept the license agreements, then click Finish If you get a security warning saying that the authenticity or validity of the software can't be established, click OK 4. When installation completes, restart Eclipse 9

10 Step 3. Install the ADT plugin for Eclipse (Cont.) Step 3-2. Configure the ADT Plugin Once restart, check the location of Android SDK directory Select Window -> Preferences -> Android -> SDK Location If succeeding, Select Window -> Show Toolbar to enable ADT toolbar To update the ADT Plugin, select Help -> Check for Updates 10

11 Building the First App Creating an Android Project Create a Project with Eclipse Create a Project with Command Line Tools Running Your Application Run on a Real Device Run on the Emulator Building a Simple User Interface Starting Another Activity The default project includes a default set of "Hello World" source files that allow you to immediately run the app 11

12 Create a Project with Eclipse 1. Click New Android App Project in the toolbar or New -> Select a Wizard -> Android -> Android Application Project 2. Fill in the form Application Name: My First App Project Name: MyFirstApp Package Name: userid.example.myfirstapp Unique namespace across all packages installed on the Android system Build SDK: default set to the latest version Minimum Required SDK: the lowest version for support your app 12

13 Create a Project with Eclipse (Cont.) 3. Configure the launcher icon May use the default to generate an icon for all screen densities Before publishing app, be sure the icon meets the specifications defined in the Iconography design guide 4. Select an activity template from which to begin building your app For this project, select BlankActivity Leave all the details for the activity in their default state and click Finish It may ask to install dependencies (Android Support Library) 13

14 My First App Created 14

15 File List of <Workspace>\My First App.classpath.project AndroidManifest.xml bin/androidmanifest.xml bin/jarlist.cache bin/classes/wuch/example/my/first/app/ BuildConfig.class MainActivity.class R$attr.class R$drawable.class R$id.class R$layout.class R$menu.class R$string.class R$style.class R.class gen/wuch/example/my/first/app/ BuildConfig.java R.java ic_launcher-web.png libs/android-support-v4.jar Describes the fundamental characteristics and defines each of its components proguard-project.txt project.properties For app resources res/drawable-hdpi/ic_action_search.png res/drawable-hdpi/ic_launcher.png res/drawable-ldpi/ic_launcher.png res/drawable-mdpi/ic_action_search.png res/drawable-mdpi/ic_launcher.png res/drawable-xhdpi/ic_action_search.png res/drawable-xhdpi/ic_launcher.png res/layout/activity_main.xml res/menu/activity_main.xml res/values/strings.xml res/values/styles.xml res/values-v11/styles.xml res/values-v14/styles.xml defining UI Default Activity class loads a layout file that says "Hello World" src/wuch/example/my/first/app/mainactivity.java For app's main source files 15

16 src\com\wuch\my\first\app/mainactivity.java package com.wuch.my.first.app; import android.os.bundle; import android.app.activity; import android.view.menu; public class MainActivity extends Activity public void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); setcontentview(r.layout.activity_main); } public boolean oncreateoptionsmenu(menu menu) { getmenuinflater().inflate(r.menu.activity_main, menu); return true; } 16

17 res\values\strings.xml <resources> <string name="app_name">my First App</string> <string name="hello_world">hello world!</string> <string name="menu_settings">settings</string> <string name="title_activity_main">mainactivity</string> </resources> 17

18 Create a Project with Command Line Tools 1. Make sure to add Android SDK paths set PATH= U:\Data\Android\android-sdk\platformtools\; U:\Data\Android\androidsdk\tools 2. Change directories into the Android SDK s tools/ path U: cd \Data\Android\android-sdk\tools 3. Execute to check settings android list targets 4. Create projects android create project --target <target-id> --name MyFirstApp \ --path <path-to-workspace>/myfirstapp --activity MainActivity \ --package com.example.myfirstapp Replace <target-id> with an id from targets Replace <path-to-workspace> with the location to save the Android projects 18

19 Running the App - Run on a Real Device 1. Plug in your device 2. Ensure that USB debugging is enabled in the device Settings -> Applications -> Development 3a. Run the app from Eclipse Open the project's file and click Run from the toolbar Eclipse installs the app on the connected device and starts it 3b. Run the app from a command line 1.Make sure the Android SDK platform-tools/ directory is included in PATH 2.Change directories to the root of the Android project and execute: ant debug 3.Execute: adb install bin/myfirstapp-debug.apk 4.On the device, locate MyFirstActivity and open it 19

20 Running the App - Run on the Emulator Firstly create an Android Virtual Device (AVD) 1. Launch the Android Virtual Device Manager: In Eclipse, click AVD Manager from the toolbar From the command line, change directories to <sdk>/tools/ and execute: android avd 2. In the AVD Manager panel, click New 3. Fill in the details for the AVD Name: My_Phone Platform target: Android SD card size: 512 MiB Snapshot: Enabled Skin: (HVGA is default) 4. Click Create AVD 5. Select the new AVD and click Start 6. After the emulator boots up, unlock the emulator screen 7. Open the project's files and click Run from the toolbar. Eclipse installs the app and starts it Run the app from the command line 1.Change directories to the root of the Android project and execute: ant debug 2.execute:adb install bin/myfirstapp-debug.apk 3.On the emulator, locate MyFirstActivity 20

21 Default Location of AVD files Android tool always creates an <AVD_name>.ini file for the AVD at the root of the.android/avd/ directory ~/.android/avd/ (on Linux/Mac) C:\Documents and Settings\<user>\.android\ on Windows XP, and C:\Users\<user>\.android\ on Windows 7 and Vista Choice: move.android from your directory to the default ~/.android/avd/ You may need to copy your AVD to.android/avd 21

22 Exercise Exercise: Change message to Hello world! Cool NUKCSIE! 22

23 Installation Case Android SDK ( ): 2.46GB Eclipse: 299MB AVD (512MB SD): 518MB My First App: 1.02MB 23

Android Environment SDK

Android Environment SDK Part 2-a Android Environment SDK Victor Matos Cleveland State University Notes are based on: Android Developers http://developer.android.com/index.html 1 2A. Android Environment: Eclipse & ADT The Android

More information

Hello World. by Elliot Khazon

Hello World. by Elliot Khazon Hello World by Elliot Khazon Prerequisites JAVA SDK 1.5 or 1.6 Windows XP (32-bit) or Vista (32- or 64-bit) 1 + more Gig of memory 1.7 Ghz+ CPU Tools Eclipse IDE 3.4 or 3.5 SDK starter package Installation

More information

Getting Started with Android Development

Getting Started with Android Development Getting Started with Android Development By Steven Castellucci (v1.1, January 2015) You don't always need to be in the PRISM lab to work on your 4443 assignments. Working on your own computer is convenient

More information

Android Setup Phase 2

Android Setup Phase 2 Android Setup Phase 2 Instructor: Trish Cornez CS260 Fall 2012 Phase 2: Install the Android Components In this phase you will add the Android components to the existing Java setup. This phase must be completed

More information

How to build your first Android Application in Windows

How to build your first Android Application in Windows APPLICATION NOTE How to build your first Android Application in Windows 3/30/2012 Created by: Micah Zastrow Abstract This application note is designed to teach the reader how to setup the Android Development

More information

Android Environment SDK

Android Environment SDK Part 2-a Android Environment SDK Victor Matos Cleveland State University Notes are based on: Android Developers http://developer.android.com/index.html 1 Android Environment: Eclipse & ADT The Android

More information

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

ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL I) ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL I) Who am I? Lo Chi Wing, Peter Lecture 1: Introduction to Android Development Email: Peter@Peter-Lo.com Facebook: http://www.facebook.com/peterlo111

More information

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

The Eclipse Classic version is recommended. Otherwise, a Java or RCP version of Eclipse is recommended. Installing the SDK This page describes how to install the Android SDK and set up your development environment for the first time. If you encounter any problems during installation, see the Troubleshooting

More information

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

Android Development Tutorial. Nikhil Yadav CSE40816/60816 - Pervasive Health Fall 2011 Android Development Tutorial Nikhil Yadav CSE40816/60816 - Pervasive Health Fall 2011 Database connections Local SQLite and remote access Outline Setting up the Android Development Environment (Windows)

More information

Installing the Android SDK

Installing the Android SDK Installing the Android SDK To get started with development, we first need to set up and configure our PCs for working with Java, and the Android SDK. We ll be installing and configuring four packages today

More information

Getting Started with Android

Getting Started with Android Mobile Application Development Lecture 02 Imran Ihsan Getting Started with Android Before we can run a simple Hello World App we need to install the programming environment. We will run Hello World on

More information

Developing In Eclipse, with ADT

Developing In Eclipse, with ADT Developing In Eclipse, with ADT Android Developers file://v:\android-sdk-windows\docs\guide\developing\eclipse-adt.html Page 1 of 12 Developing In Eclipse, with ADT The Android Development Tools (ADT)

More information

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

Advantages. manage port forwarding, set breakpoints, and view thread and process information directly Part 2 a Android Environment SDK Victor Matos Cleveland State University Notes are based on: Android Developers http://developer.android.com/index.html 1 Android Environment: Eclipse & ADT The Android

More information

Tutorial on Basic Android Setup

Tutorial on Basic Android Setup Tutorial on Basic Android Setup EE368/CS232 Digital Image Processing, Spring 2015 Windows Version Introduction In this tutorial, we will learn how to set up the Android software development environment

More information

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

Android Development Setup [Revision Date: 02/16/11] Android Development Setup [Revision Date: 02/16/11] 0. Java : Go to the URL below to access the Java SE Download page: http://www.oracle.com/technetwork/java/javase/downloads/index.html Select Java Platform,

More information

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

2. Click the download button for your operating system (Windows, Mac, or Linux). Table of Contents: Using Android Studio 1 Installing Android Studio 1 Installing IntelliJ IDEA Community Edition 3 Downloading My Book's Examples 4 Launching Android Studio and Importing an Android Project

More information

Application Development Setup Guide

Application Development Setup Guide epos-print SDK for Android Application Development Setup Guide M00048500 Rev. A Cautions No part of this document may be reproduced, stored in a retrieval system, or transmitted in any form or by any means,

More information

ADT Plugin for Eclipse

ADT Plugin for Eclipse ADT Plugin for Eclipse 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

More information

How to Create an Android Application using Eclipse on Windows 7

How to Create an Android Application using Eclipse on Windows 7 How to Create an Android Application using Eclipse on Windows 7 Kevin Gleason 11/11/11 This application note is design to teach the reader how to setup an Android Development Environment on a Windows 7

More information

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

Download and Installation Instructions. Android SDK and Android Development Tools (ADT) Microsoft Windows Download and Installation Instructions for Android SDK and Android Development Tools (ADT) on Microsoft Windows Updated May, 2012 This document will describe how to download and install the Android SDK

More information

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

Arduino & Android. A How to on interfacing these two devices. Bryant Tram Arduino & Android A How to on interfacing these two devices Bryant Tram Contents 1 Overview... 2 2 Other Readings... 2 1. Android Debug Bridge -... 2 2. MicroBridge... 2 3. YouTube tutorial video series

More information

Basic Android Setup. 2014 Windows Version

Basic Android Setup. 2014 Windows Version Basic Android Setup 2014 Windows Version Introduction In this tutorial, we will learn how to set up the Android software development environment and how to implement image processing operations on an Android

More information

Building Your First App

Building Your First App uilding Your First App Android Developers http://developer.android.com/training/basics/firstapp/inde... Building Your First App Welcome to Android application development! This class teaches you how to

More information

Android 4.4 App Development Essentials

Android 4.4 App Development Essentials Android 4.4 App Development Essentials Neil Smyth This book is for sale at http://leanpub.com/android44appdevelopmentessentials This version was published on 2014-02-15 This is a Leanpub book. Leanpub

More information

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

Download and Installation Instructions. Android SDK and Android Development Tools (ADT) Download and Installation Instructions for Android SDK and Android Development Tools (ADT) on Mac OS X Updated October, 2012 This document will describe how to download and install the Android SDK and

More information

Developing NFC Applications on the Android Platform. The Definitive Resource

Developing NFC Applications on the Android Platform. The Definitive Resource Developing NFC Applications on the Android Platform The Definitive Resource Part 1 By Kyle Lampert Introduction This guide will use examples from Mac OS X, but the steps are easily adaptable for modern

More information

Getting Started: Creating a Simple App

Getting Started: Creating a Simple App Getting Started: Creating a Simple App What You will Learn: Setting up your development environment Creating a simple app Personalizing your app Running your app on an emulator The goal of this hour is

More information

Android Application Development: Hands- On. Dr. Jogesh K. Muppala muppala@cse.ust.hk

Android Application Development: Hands- On. Dr. Jogesh K. Muppala muppala@cse.ust.hk Android Application Development: Hands- On Dr. Jogesh K. Muppala muppala@cse.ust.hk Wi-Fi Access Wi-Fi Access Account Name: aadc201312 2 The Android Wave! 3 Hello, Android! Configure the Android SDK SDK

More information

Android Introduction

Android Introduction Android Introduction CSCI 4237 - Software Design For Handheld Devices http://www.atomicrhubarb.com/handheld Lecture 6 Beginning Android Development Android Uses Eclipse + a bunch of plug-ins. Probably

More information

How To Develop An Android App On An Android Device

How To Develop An Android App On An Android Device Lesson 2 Android Development Tools = Eclipse + ADT + SDK Victor Matos Cleveland State University Portions of this page are reproduced from work created and shared by Googleand used according to terms described

More information

Setting up Sudoku example on Android Studio

Setting up Sudoku example on Android Studio Installing Android Studio 1 Setting up Sudoku example on Android Studio Installing Android Studio Android Studio provides everything you need to start developing apps for Android, including the Android

More information

Mobile Application Development

Mobile Application Development Mobile Application Development (Android & ios) Tutorial Emirates Skills 2015 3/26/2015 1 What is Android? An open source Linux-based operating system intended for mobile computing platforms Includes a

More information

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

Home Course Catalog Schedule Pricing & Savings Training Options Resources About Us 1 of 14 12/04/2012 06:46 PM Hello, Jonathan Earl My Account Logout GS-35F-0556S CONTACT US Search TOLL FREE 877-932-8228 Home Course Catalog Schedule Pricing & Savings Training Options Resources About

More information

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

Android Programming. Høgskolen i Telemark Telemark University College. Cuong Nguyen, 2013.06.18 Høgskolen i Telemark Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Cuong Nguyen, 2013.06.18 Faculty of Technology, Postboks 203, Kjølnes ring

More information

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

App Development for Smart Devices. Lec #2: Android Tools, Building Applications, and Activities App Development for Smart Devices CS 495/595 - Fall 2011 Lec #2: Android Tools, Building Applications, and Activities Tamer Nadeem Dept. of Computer Science Objective Understand Android Tools Setup Android

More information

Android Programming: Installation, Setup, and Getting Started

Android Programming: Installation, Setup, and Getting Started 2012 Marty Hall Android Programming: Installation, Setup, and Getting Started Originals of Slides and Source Code for Examples: http://www.coreservlets.com/android-tutorial/ Customized Java EE Training:

More information

Fahim Uddin http://fahim.cooperativecorner.com email@fahim.cooperativecorner.com. 1. Java SDK

Fahim Uddin http://fahim.cooperativecorner.com email@fahim.cooperativecorner.com. 1. Java SDK PREPARING YOUR MACHINES WITH NECESSARY TOOLS FOR ANDROID DEVELOPMENT SEPTEMBER, 2012 Fahim Uddin http://fahim.cooperativecorner.com email@fahim.cooperativecorner.com Android SDK makes use of the Java SE

More information

Android Development. Marc Mc Loughlin

Android Development. Marc Mc Loughlin Android Development Marc Mc Loughlin Android Development Android Developer Website:h:p://developer.android.com/ Dev Guide Reference Resources Video / Blog SeCng up the SDK h:p://developer.android.com/sdk/

More information

Introduction to Android Development

Introduction to Android Development 2013 Introduction to Android Development Keshav Bahadoor An basic guide to setting up and building native Android applications Science Technology Workshop & Exposition University of Nigeria, Nsukka Keshav

More information

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 What is Android? l Getting Started l The Emulator l Hello World l ADB l Text to Speech l Other APIs (camera, bitmap, etc) 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

More information

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

How To Run A Hello World On Android 4.3.3 (Jdk) On A Microsoft Ds.Io (Windows) Or Android 2.7.3 Or Android 3.5.3 On A Pc Or Android 4 ( Developing Android applications in Windows Below you will find information about the components needed for developing Android applications and other (optional) software needed to connect to the institution

More information

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

Tutorial: Android Object API Application Development. SAP Mobile Platform 2.3 SP02 Tutorial: Android Object API Application Development SAP Mobile Platform 2.3 SP02 DOCUMENT ID: DC01939-01-0232-01 LAST REVISED: May 2013 Copyright 2013 by Sybase, Inc. All rights reserved. This publication

More information

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

directory to d:\myproject\android. Hereafter, I shall denote the android installed directory as 1 of 6 2011-03-01 12:16 AM yet another insignificant programming notes... HOME Android SDK 2.2 How to Install and Get Started Introduction Android is a mobile operating system developed by Google, which

More information

Chapter 2 Getting Started

Chapter 2 Getting Started Welcome to Android Chapter 2 Getting Started Android SDK contains: API Libraries Developer Tools Documentation Sample Code Best development environment is Eclipse with the Android Developer Tool (ADT)

More information

Oracle FLEXCUBE Direct Banking Android Tab Client Installation Guide Release 12.0.3.0.0

Oracle FLEXCUBE Direct Banking Android Tab Client Installation Guide Release 12.0.3.0.0 Oracle FLEXCUBE Direct Banking Android Tab Client Installation Guide Release 12.0.3.0.0 Part No. E52543-01 April 2014 Oracle Financial Services Software Limited Oracle Park Off Western Express Highway

More information

IOIO for Android Beginners Guide Introduction

IOIO for Android Beginners Guide Introduction IOIO for Android Beginners Guide Introduction This is the beginners guide for the IOIO for Android board and is intended for users that have never written an Android app. The goal of this tutorial is to

More information

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

Programming with Android: SDK install and initial setup. Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna Programming with Android: SDK install and initial setup Luca Bedogni Marco Di Felice Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna SDK and initial setup: Outline Ø Today: How

More information

Lab 0 (Setting up your Development Environment) Week 1

Lab 0 (Setting up your Development Environment) Week 1 ECE155: Engineering Design with Embedded Systems Winter 2013 Lab 0 (Setting up your Development Environment) Week 1 Prepared by Kirill Morozov version 1.2 1 Objectives In this lab, you ll familiarize yourself

More information

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

With a single download, the ADT Bundle includes everything you need to begin developing apps: Get the Android SDK The Android SDK provides you the API libraries and developer tools necessary to build, test, and debug apps for Android. The ADT bundle includes the essential Android SDK components

More information

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

Download and Installation Instructions. Android SDK and Android Development Tools (ADT) Microsoft Windows Download and Installation Instructions for Android SDK and Android Development Tools (ADT) on Microsoft Windows Updated September, 2013 This document will describe how to download and install the Android

More information

System Reference 2013

System Reference 2013 System Reference 2013 Content List of graphics...3 List of tables...4 1 Purpose of LynxSight...5 2 Setting up project...6 2.1 Project dependences...6 2.1.1 Operating system...6 2.1.2 Eclipse IDE...6 2.1.3

More information

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

Islamic University of Gaza. Faculty of Engineering. Computer Engineering Department. Mobile Computing ECOM 5341. Eng. Wafaa Audah. Islamic University of Gaza Faculty of Engineering Computer Engineering Department Mobile Computing ECOM 5341 By Eng. Wafaa Audah June 2013 1 Setting Up the Development Environment and Emulator Part 1:

More information

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

Setting Up Your Android Development Environment. For Mac OS X (10.6.8) v1.0. By GoNorthWest. 3 April 2012 Setting Up Your Android Development Environment For Mac OS X (10.6.8) v1.0 By GoNorthWest 3 April 2012 Setting up the Android development environment can be a bit well challenging if you don t have all

More information

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

Building graphic-rich and better performing native applications. Pro. Android C++ with the NDK. Onur Cinar Building graphic-rich and better performing native applications Pro Android C++ with the NDK Onur Cinar For your convenience Apress has placed some of the front matter material after the index. Please

More information

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

Tutorial: Android Object API Application Development. SAP Mobile Platform 2.3 Tutorial: Android Object API Application Development SAP Mobile Platform 2.3 DOCUMENT ID: DC01939-01-0230-01 LAST REVISED: March 2013 Copyright 2013 by Sybase, Inc. All rights reserved. This publication

More information

Tutorial: Android Object API Application Development. Sybase Unwired Platform 2.2 SP02

Tutorial: Android Object API Application Development. Sybase Unwired Platform 2.2 SP02 Tutorial: Android Object API Application Development Sybase Unwired Platform 2.2 SP02 DOCUMENT ID: DC01734-01-0222-01 LAST REVISED: January 2013 Copyright 2013 by Sybase, Inc. All rights reserved. This

More information

MMI 2: Mobile Human- Computer Interaction Android

MMI 2: Mobile Human- Computer Interaction Android MMI 2: Mobile Human- Computer Interaction Android Prof. Dr. michael.rohs@ifi.lmu.de Mobile Interaction Lab, LMU München Android Software Stack Applications Java SDK Activities Views Resources Animation

More information

How to Set Up Your PC for Android Application Development

How to Set Up Your PC for Android Application Development Introduction Application Note How to Set Up Your PC for Android Application Development Supported Environments: Windows 7 (32/64-bit), Windows Vista (32/64-bit), Windows XP * This application note was

More information

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

Programming with Android: SDK install and initial setup. Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna Programming with Android: SDK install and initial setup Luca Bedogni Marco Di Felice Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna SDK and initial setup: Outline Today: How to

More information

ID TECH UniMag Android SDK User Manual

ID TECH UniMag Android SDK User Manual ID TECH UniMag Android SDK User Manual 80110504-001-A 12/03/2010 Revision History Revision Description Date A Initial Release 12/03/2010 2 UniMag Android SDK User Manual Before using the ID TECH UniMag

More information

Android Basics. Xin Yang 2016-05-06

Android Basics. Xin Yang 2016-05-06 Android Basics Xin Yang 2016-05-06 1 Outline of Lectures Lecture 1 (45mins) Android Basics Programming environment Components of an Android app Activity, lifecycle, intent Android anatomy Lecture 2 (45mins)

More information

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

Intel Integrated Native Developer Experience (INDE): IDE Integration for Android* Intel Integrated Native Developer Experience (INDE): IDE Integration for Android* 1.5.8 Overview IDE Integration for Android provides productivity-oriented design, coding, and debugging tools for applications

More information

ECWM511 MOBILE APPLICATION DEVELOPMENT Lecture 1: Introduction to Android

ECWM511 MOBILE APPLICATION DEVELOPMENT Lecture 1: Introduction to Android Why Android? ECWM511 MOBILE APPLICATION DEVELOPMENT Lecture 1: Introduction to Android Dr Dimitris C. Dracopoulos A truly open, free development platform based on Linux and open source A component-based

More information

How to Set Up Your PC for Android Application Development

How to Set Up Your PC for Android Application Development Introduction Application Note How to Set Up Your PC for Android Application Development Supported Environments: Windows 7 (32/64 bit), Windows Vista (32/64 bit), Windows XP * This application note was

More information

Tutorial #1. Android Application Development Advanced Hello World App

Tutorial #1. Android Application Development Advanced Hello World App Tutorial #1 Android Application Development Advanced Hello World App 1. Create a new Android Project 1. Open Eclipse 2. Click the menu File -> New -> Other. 3. Expand the Android folder and select Android

More information

Android Tutorial. Larry Walters OOSE Fall 2011

Android Tutorial. Larry Walters OOSE Fall 2011 Android Tutorial Larry Walters OOSE Fall 2011 References This tutorial is a brief overview of some major concepts Android is much richer and more complex Developer s Guide http://developer.android.com/guide/index.html

More information

Android: How To. Thanks. Aman Nijhawan

Android: How To. Thanks. Aman Nijhawan Android: How To. This is just a collection of useful information and tricks that I used during the time I was developing on the android ADP1. In some cases the information might be a little old and new

More information

Epidefender Studio Installation notice

Epidefender Studio Installation notice Institut de Médecine et de Physiologie Spatiales Epidefender Studio Installation notice MEDES Institut de Médecine et Physiologie Spatiales CHU Rangueil - 1 avenue du Professeur Jean Poulhès - 31403 Toulouse

More information

OpenCV on Android Platforms

OpenCV on Android Platforms OpenCV on Android Platforms Marco Moltisanti Image Processing Lab http://iplab.dmi.unict.it moltisanti@dmi.unict.it http://www.dmi.unict.it/~moltisanti Outline Intro System setup Write and build an Android

More information

Board also Supports MicroBridge

Board also Supports MicroBridge This product is ATmega2560 based Freeduino-Mega with USB Host Interface to Communicate with Android Powered Devices* like Android Phone or Tab using Android Open Accessory API and Development Kit (ADK)

More information

How to use the Eclipse IDE for Java Application Development

How to use the Eclipse IDE for Java Application Development How to use the Eclipse IDE for Java Application Development Java application development is supported by many different tools. One of the most powerful and helpful tool is the free Eclipse IDE (IDE = Integrated

More information

Advertiser Campaign SDK Your How-to Guide

Advertiser Campaign SDK Your How-to Guide Advertiser Campaign SDK Your How-to Guide Using Leadbolt Advertiser Campaign SDK with Android Apps Version: Adv2.03 Copyright 2012 Leadbolt All rights reserved Disclaimer This document is provided as-is.

More information

How To Write A File Station In Android.Com (For Free) On A Microsoft Macbook Or Ipad (For A Limited Time) On An Ubuntu 8.1 (For Ubuntu) On Your Computer Or Ipa (For

How To Write A File Station In Android.Com (For Free) On A Microsoft Macbook Or Ipad (For A Limited Time) On An Ubuntu 8.1 (For Ubuntu) On Your Computer Or Ipa (For QtsHttp Java Sample Code for Android Getting Started Build the develop environment QtsHttp Java Sample Code is developed using ADT Bundle for Windows. The ADT (Android Developer Tools) Bundle includes:

More information

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

About this Release. Introduction. Prerequisites. Installation. Using the Web SDK Packager About this Release This is a 1.2.1 release of the Sony Ericsson WebSDK Packager. Limitations are listed in Release Notes. Introduction Sony Ericsson s WebSDK Packager is based on the open source PhoneGap

More information

Example Connection between USB Host and Android

Example Connection between USB Host and Android Example connection between USB Host and Android Example Connection between USB Host and Android This example illustrates the connection between Board ETMEGA2560-ADK and Android through Port USB Host. In

More information

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

RTI Connext DDS. Core Libraries Getting Started Guide Addendum for Android Systems Version 5.2.0 RTI Connext DDS Core Libraries Getting Started Guide Addendum for Android Systems Version 5.2.0 1 2015 Real-Time Innovations, Inc. All rights reserved. Printed in U.S.A. First printing. June 2015. Trademarks

More information

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

Introduction: The Xcode templates are not available in Cordova-2.0.0 or above, so we'll use the previous version, 1.9.0 for this recipe. Tutorial Learning Objectives: After completing this lab, you should be able to learn about: Learn how to use Xcode with PhoneGap and jquery mobile to develop iphone Cordova applications. Learn how to use

More information

Android Development Tools for Eclipse

Android Development Tools for Eclipse Android Development Tools for Eclipse Sanjay Shah Khirulnizam Abd Rahman Chapter No. 1 "Installing Eclipse, ADT, and SDK" In this package, you will find: A Biography of the author of the book A preview

More information

CSA Software Listing 2016-2017. Table of Contents. Both Windows and Mac platforms are supported.

CSA Software Listing 2016-2017. Table of Contents. Both Windows and Mac platforms are supported. CSA Software Listing 2016-2017 Both Windows and Mac platforms are supported. Table of Contents Student Access and Permissions... 2 Web Browsers... 2 Mozilla Firefox... 2 Internet Explorer... 2 Google Chrome...

More information

SIM900 Eclipse environment install Application Note_V1.00

SIM900 Eclipse environment install Application Note_V1.00 SIM900 Eclipse environment install Application Note_V1.00 Document Title: Note Version: V1.00 Date: 2011-01-11 Status: Document Control ID: Edit SIM900_Eclipse_environment_install_Application_Note _V1.01

More information

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

WA1826 Designing Cloud Computing Solutions. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1 WA1826 Designing Cloud Computing Solutions Classroom Setup Guide Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1 Table of Contents Part 1 - Minimum Hardware Requirements...3 Part 2 - Minimum

More information

Titanium Mobile: How-To

Titanium Mobile: How-To Titanium Mobile: How-To Getting Started With Appcelerator Titanium For Windows Release GSW August 17, 2010 Copyright 2010 Appcelerator, Inc. All rights reserved. Appcelerator, Inc. 444 Castro Street, Suite

More information

Developing for MSI Android Devices

Developing for MSI Android Devices Android Application Development Enterprise Features October 2013 Developing for MSI Android Devices Majority is the same as developing for any Android device Fully compatible with Android SDK We test using

More information

Introduction to Android Programming (CS5248 Fall 2015)

Introduction to Android Programming (CS5248 Fall 2015) Introduction to Android Programming (CS5248 Fall 2015) Aditya Kulkarni (email.aditya.kulkarni@gmail.com) August 26, 2015 *Based on slides from Paresh Mayami (Google Inc.) Contents Introduction Android

More information

How to Install Applications (APK Files) on Your Android Phone

How to Install Applications (APK Files) on Your Android Phone How to Install Applications (APK Files) on Your Android Phone Overview An Android application is stored in an APK file (i.e., a file named by {Application Name}.apk). You must install the APK on your Android

More information

Programmazione di sistemi mobili e tablet

Programmazione di sistemi mobili e tablet Programmazione di sistemi mobili e tablet Android Development Carlo Menapace carlo.menapace@factorymind.com Jonny Fox WHO WE ARE Factory Mind is a young cooperative company formed by a team of engineers

More information

Login with Amazon Getting Started Guide for Android. Version 2.0

Login with Amazon Getting Started Guide for Android. Version 2.0 Getting Started Guide for Android Version 2.0 Login with Amazon: Getting Started Guide for Android Copyright 2016 Amazon.com, Inc., or its affiliates. All rights reserved. Amazon and the Amazon logo are

More information

How to develop your own app

How to develop your own app How to develop your own app It s important that everything on the hardware side and also on the software side of our Android-to-serial converter should be as simple as possible. We have the advantage that

More information

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

Now that we have the Android SDK, Eclipse and Phones all ready to go we can jump into actual Android development. Android Development 101 Now that we have the Android SDK, Eclipse and Phones all ready to go we can jump into actual Android development. Activity In Android, each application (and perhaps each screen

More information

ANDROID APP DEVELOPMENT: AN INTRODUCTION CSCI 5115-9/19/14 HANNAH MILLER

ANDROID APP DEVELOPMENT: AN INTRODUCTION CSCI 5115-9/19/14 HANNAH MILLER ANDROID APP DEVELOPMENT: AN INTRODUCTION CSCI 5115-9/19/14 HANNAH MILLER DISCLAIMER: Main focus should be on USER INTERFACE DESIGN Development and implementation: Weeks 8-11 Begin thinking about targeted

More information

Running a Program on an AVD

Running a Program on an AVD Running a Program on an AVD Now that you have a project that builds an application, and an AVD with a system image compatible with the application s build target and API level requirements, you can run

More information

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

Android: Setup Hello, World: Android Edition. due by noon ET on Wed 2/22. Ingredients. Android: Setup Hello, World: Android Edition due by noon ET on Wed 2/22 Ingredients. Android Development Tools Plugin for Eclipse Android Software Development Kit Eclipse Java Help. Help is available throughout

More information

Getting Started With Android

Getting Started With Android Getting Started With Android Author: Matthew Davis Date: 07/25/2010 Environment: Ubuntu 10.04 Lucid Lynx Eclipse 3.5.2 Android Development Tools(ADT) 0.9.7 HTC Incredible (Android 2.1) Preface This guide

More information

1) SETUP ANDROID STUDIO

1) SETUP ANDROID STUDIO 1) SETUP ANDROID STUDIO This process takes approximately 15-20 Minutes dependent upon internet speed and computer power. We will only be covering the install on Windows. System Requirements Android Studio

More information

UP L18 Enhanced MDM and Updated Email Protection Hands-On Lab

UP L18 Enhanced MDM and Updated Email Protection Hands-On Lab UP L18 Enhanced MDM and Updated Email Protection Hands-On Lab Description The Symantec App Center platform continues to expand it s offering with new enhanced support for native agent based device management

More information

Jordan Jozwiak November 13, 2011

Jordan Jozwiak November 13, 2011 Jordan Jozwiak November 13, 2011 Agenda Why Android? Application framework Getting started UI and widgets Application distribution External libraries Demo Why Android? Why Android? Open source That means

More information

Introduction to Gear VR Development in Unity APPENDIX A: SETUP (WINDOWS 7/8)

Introduction to Gear VR Development in Unity APPENDIX A: SETUP (WINDOWS 7/8) Introduction to Gear VR Development in Unity APPENDIX A: SETUP (WINDOWS 7/8) 3-hour Workshop Version 2015.07.13 Contact us at hello-dev@samsung.com Presented by Samsung Developer Connection and MSCA Engineering

More information

POOSL IDE Installation Manual

POOSL IDE Installation Manual Embedded Systems Innovation by TNO POOSL IDE Installation Manual Tool version 3.4.1 16-7-2015 1 POOSL IDE Installation Manual 1 Installation... 4 1.1 Minimal system requirements... 4 1.2 Installing Eclipse...

More information

Developing Android Apps: Part 1

Developing Android Apps: Part 1 : Part 1 d.schmidt@vanderbilt.edu www.dre.vanderbilt.edu/~schmidt Institute for Software Integrated Systems Vanderbilt University Nashville, Tennessee, USA CS 282 Principles of Operating Systems II Systems

More information