Introduction to OpenCV for Android devices

Size: px
Start display at page:

Download "Introduction to OpenCV for Android devices"

Transcription

1 AT : Selected Topic: Cloud Robotics July 12, 2012 Asian Institute of Technology Computer Science and Information Management Handout: Introduction to OpenCV for Android devices Instructor: Karn Yongsiriwit Introduction to OpenCV for Android devices Instructions: In this tutorial, we will get started with the OpenCV for Android development tools. After that, we will create a simple HelloWorld application running on your Android device. Therefore, we will get some Android applications using OpenCV up and running. A. What we need before we start the tutorial 1. Ubuntu desktop running on your computer, version is recommended 2. Android device with Android version 2.2 or above, including USB cable 3. Download all needed files for this tutorial from: B. Install Oracle Java SDK To install Oracle Java SDK, simply run the following commands: $ chmod u+x jdk-6u33-linux-i586.bin $./jdk-6u33-linux-i586.bin $ sudo mv jdk1.6.0 f33/ /usr/lib/jvm/ $ sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk /bin/java" 1 Note: OpenJDK is not usable for Android development because Android SDK supports only Oracle SDK You can check whether your java is installed properly by running the following command to see the result: $ java -version java version " " Java(TM) SE Runtime Environment (build b03) Java HotSpot(TM) Server VM (build 20.8-b03, mixed mode) Credit: 1

2 C. Install Eclipse IDE Eclipse IDE is our main tool for this tutorial. Simply extract eclipse tar file to your home directory using the command bellow. In my case, the extracted eclipse directory will be /home/karn/eclipse $ tar -C ~ -zxvf eclipse-sdk-4.2-linux-gtk.tar.gz D. Install ADT Plugin 1. Start Eclipse, then select Help > Install New Software Click Add, in the top-right corner. 3. In the Add Repository dialog, enter ADT Plugin for the Name and the following URL for the Location: or if you encounter some problems with the first one. 4. In the Available Software dialog, select the checkbox next to Developer Tools and click Next. Follow the instruction until the installation completes, restart Eclipse. E. Configure Android SDK 1. Extract downloaded android-sdks.tar.gz to your home directory using the following command. In my case, the extracted Android SDK directory will be /home/karn/android-sdks $ tar -C ~ -zxvf android-sdks.tar.gz 2. When Eclipse is restarted after the installation of ADT Plugin, you will be asked to configure Android SDK, I recommend you to select Use existing SDKs and browse your Android SDK directory. For example, my Android SDK directory is /home/karn/android-sdks 3. The given Andorid SDK contains only version 2.2, 2.3.3, 3.0, 3.2 and 4.1. If your device is using different version, you may install it manually in Eclipse by selecting Window > Android SDK Manager Note: You may check the version of Android on your device by selecting Settings > About device > Firmware version. For example, my Android version is F. Turn on USB Debugging on your Android device On the device, go to Settings > Applications > Development and enable USB debugging (on an Android 4.0 device, the setting is located in Settings > Developer options) 2

3 G. Set up your system to detect your Android device 1. create /etc/udev/rules.d/51-android.rules file: $ sudo gedit /etc/udev/rules.d/51-android.rules 2. Add the following line into the file: SUBSYSTEM=="usb", ATTRidVendor=="<ID>", MODE="0666", GROUP="plugdev" Where <ID> is replaced by your USB vendor ID. For instance, Samsung is 04e8, Acer is 0502 and HTC is 0bb4. For example, my device is Samsung so it will be: SUBSYSTEM=="usb", ATTRidVendor=="04e8", MODE="0666", GROUP="plugdev" For more information regarding the USB vendor ID, please visit: H1. Create and run Android application on your device 1. In Eclipse, select File > New > Project. The resulting dialog should have a directory labelled Android. 2. Open the Android directory, select Android Project and click Next. 3. Enter a project name (such as MyFirstApp ). 4. Select a build target depending on your Android device. This is the platform version against which you will compile your application. Click Next and then Next. 5. In Create Activity, select BlankActivity and then click Next, then click Finish. 6. Right-click on your project in the left panel, select Run As > Run Configurations Select Target tab, then select Always prompt to pick device, click Apply and then Close. 8. Run your project by selecting Run > Run. 9. Make sure that your Android device is connected via USB and the status is online as shown in the device status, then click OK. 10. Your application will be installed on your device and executed. If you see Hello world! in middle of your screen, that means it works!! Credit: 3

4 H2. Create a simple user interface 1. Open the activity main.xml file from the res/layout/ directory, select activity main.xml tab. 2. Change the layout to LinearLayout which is a view group that lays out child views in either a vertical or horizontal orientation, add a text field and a button by replacing the existing code with the following code: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android=" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="horizontal"> <EditText android:id="@+id/edit_message" android:layout_weight="1" android:layout_width="0dp" android:layout_height="wrap_content" android:hint="@string/edit_message" /> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/button_send" /> </LinearLayout> 3. Add String resources by opening res/values/strings.xml, then add the code bellow: <string name="edit_message">enter a message</string> <string name="button_send">send</string> 4. Run this application on your device, you will see one text field and one button on your screen. Credit: H3. Start another activity 1. Open res/layout/main.xml, modify the button element as bellow: <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/button_send" android:onclick="sendmessage" /> 2. Open src/<package-name>/mainactivity.java, then add one line as the first line of the class as shown bellow. Note that <package-name> need to be change to your package name. public class MyFirstActivity extends Activity { public final static String EXTRA_MESSAGE = "<package-name>.message";... } For instance, mine is: public final static String EXTRA_MESSAGE = "com.example.myfirstandroidapp.message"; 4

5 Therefore, add the following code inside the class: /** Called when the user selects the Send button */ public void sendmessage(view view) { // Do something in response to button Intent intent = new Intent(this, DisplayMessageActivity.class); EditText edittext = (EditText) findviewbyid(r.id.edit_message); String message = edittext.gettext().tostring(); intent.putextra(extra_message, message); startactivity(intent); } After that, select Source > Organize Imports after finish modification 3. Create new activity by right-clicking the package name under the src/ directory and select New > Class. Enter DisplayMessageActivity for the name and android.app.activity for the superclass. After that add oncreate() callback method into the class as public void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); // Get the message from the intent Intent intent = getintent(); String message = intent.getstringextra(mainactivity.extra_message); // Create the text view TextView textview = new TextView(this); textview.settextsize(40); textview.settext(message); } setcontentview(textview); 4. Declare new activity in AndroidManifest.xml by adding new activity element inside application element as follow. Note that <package-name> need to be change to your package name. <application... > <activity android:name="<package-name>.displaymessageactivity" />... </application> 5. Run and test your application on your device. Now you can go from one activity to another by simply clicking on send button. Credit: I. Setup and run OpenCV application on Android device 1. Extract downloaded OpenCV android-sdk.zip to your home directory using the following command. In my case, it will be extracted to /home/karn/opencv android-sdk $ unzip OpenCV android-sdk.zip -d ~ 5

6 2. Let start with importing library into our workspace. In Eclipse, select File > Import > General > Existing projects into Workspace, then click Next. 3. Check on Select root directory, browse for OpenCV android-sdk/sdk/java in your home directory, then click OK. 4. Check on OpenCV Library in Projects list, then click Finish. 5. Right-click on OpenCV Library project and select Properties. 6. Select Android on the left panel, and check Android 3.0 for Project Build Target, then click OK. 7. Now, we can import tutorials given by this SDK by selecting File > Import > General > Existing projects into Workspace, then click Next. 8. Check on Select root directory, browse for OpenCV android-sdk/samples in your home directory, then click OK. 9. Make sure all projects in Projects list are checked, then click Finish. 10. At this point, you will be able to run applications using Java OpenCV API. Therefore, you can run and test Java API usage projects as follows: (a) Tutorial 0 - Android Camera: this example is a skeleton application for all the other samples. It does not use OpenCV at all, but gives you an example Android application working with camera. (b) Tutorial 1 - Add OpenCV: shows the simplest way to add OpenCV call to the Android application. (c) Tutorial 2 - Use OpenCV Camera: this sample does exactly the same as the previous one, but uses OpenCVs native camera for video capturing. (d) Sample - 15-puzzle: a simple game can be implemented with just a few calls to OpenCV. (e) Sample - color-blob-detection: trivial implementation of color blob tracker. Work with touch interface and contours is demonstrated. (f) Sample - image-manipulations: this example demonstrates how OpenCV can be used as an image processing and manipulation library. Note: When you first running application using OpenCV on your Android device, you will be asked to install OpenCV Manager and OpenCV library from Google Play. Credit: J. Using C++ OpenCV code with Android binary package 1. We will install and use CDT (C/C++ Development Tools) plugin in Eclipse together with Android Native Development Kit (NDK) in order to use C++ OpenCV code in Android application. Firstly, we can start from installing CDT plugin. in Eclipse, select Help > Install New Software Click Add, in the top-right corner. 3. In the Add Repository dialog, enter CDT for the Name and the following URL for the Location: 4. In the Available Software dialog, select the checkbox next to CDT Main Features and click Next. Follow the instruction until the installation completes, restart Eclipse. 6

7 5. After restart, switch Eclipse perspective to C/C++ by selecting Window > Open Perspective > Other... then select C/C++ and click OK. 6. Therefore, install NDK by simply extract android-ndk-r8-linux-x86.tar.bz2 into your home directory using the command bellow. In my case, the extracted NDK folder will be /home/karn/androidndk-r8 $ tar -C ~ -jxvf android-ndk-r8-linux-x86.tar.bz2 7. At this point, you will be able to run applications using both C++ and Java OpenCV API. The application using native C++ OpenCV API are as follows: (a) Tutorial 3 - Add Native OpenCV: this example demonstrates how you can use OpenCV in the native part of your application through JNI (Java Native Interface). (b) Tutorial 4 - Mix Java + Native OpenCV: shows how to use both C++ and Java OpenCV API in a single application. (c) Sample - face-detection: the simplest implementation of the face detection functionality on Android. It supports 2 modes of execution: available by default Java wrapper for the cascade classifier, and manually crafted JNI call to a native class which supports tracking. 8. However, each of those projects need to be configure and modify as following steps: (a) Modify jni/android.mk: Change one line from: include../../sdk/native/jni/opencv.mk to include \${HOME}/OpenCV android-sdk/sdk/native/jni/OpenCV.mk (b) Right-click on the project and select Properties. (c) Select C/C++ Build, choose Builder Settings tab, then change Build command: to \${HOME}/android-ndk-r8/ndk-build (d) Select C/C++ General > Paths and Symbol on the left panel, then select include tab, choose GNU C++ language, remove existing include directories and add the followings: ${HOME}/android-ndk-r8/platforms/android-9/arch-arm/usr/include ${HOME}/android-ndk-r8/sources/cxx-stl/stlport/stlport ${HOME}/OpenCV android-sdk/sdk/native/jni/include (e) Right-click on the project, then select Clean Project. (f) Now we can build the C++ source code inside the project by right-clicking on the project, then select Build Project. Make sure there is no error. 9. you should be able to run all given tutorials. Enjoy!! Credit: package_using_with_ndk.html Note: for more details on the installation or how to use OpenCV API in details, please have a look at doc/opencv tutorials.pdf on your OpenCV android-sdk directory 7

8 References Java on Ubuntu Using Hardware Devices for Android developers html Building Your First App for Android developers firstapp/index.html OpenCV4Android Samples html Using C++ OpenCV code with Android binary package introduction/android_binary_package/android_binary_package_using_with_ndk.html 8

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

Presenting Android Development in the CS Curriculum

Presenting Android Development in the CS Curriculum Presenting Android Development in the CS Curriculum Mao Zheng Hao Fan Department of Computer Science International School of Software University of Wisconsin-La Crosse Wuhan University La Crosse WI, 54601

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

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

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

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

Android Development. http://developer.android.com/develop/ 吳 俊 興 國 立 高 雄 大 學 資 訊 工 程 學 系 Android Development http://developer.android.com/develop/ 吳 俊 興 國 立 高 雄 大 學 資 訊 工 程 學 系 Android 3D 1. Design 2. Develop Training API Guides Reference 3. Distribute 2 Development Training Get Started Building

More information

Software Environments of Smartphone Applications

Software Environments of Smartphone Applications Software Environments of Smartphone Applications Exercise/Practice Professur Schaltkreisund Systementwurf www.tu-chemnitz.de 1 Introduction The course Software Environments of Smartphone Applications (SESA)

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

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

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

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

Developing an Android App. CSC207 Fall 2014

Developing an Android App. CSC207 Fall 2014 Developing an Android App CSC207 Fall 2014 Overview Android is a mobile operating system first released in 2008. Currently developed by Google and the Open Handset Alliance. The OHA is a consortium of

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 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 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

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

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

Android Development Introduction CS314

Android Development Introduction CS314 Android Development Introduction CS314 Getting Started Download and Install Android Studio: http://developer.android.com/tools/studio/index. html This is the basic Android IDE and supports most things

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

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

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

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

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

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

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

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

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

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

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

Tutorial on OpenCV for Android Setup

Tutorial on OpenCV for Android Setup Tutorial on OpenCV for Android Setup EE368/CS232 Digital Image Processing, Spring 2015 Macintosh Version For personal Android devices (advised: Android 3.0 or higher) Introduction In this tutorial, we

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

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

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

Android Development Tutorial. Human-Computer Interaction II (COMP 4020) Winter 2013 Android Development Tutorial Human-Computer Interaction II (COMP 4020) Winter 2013 Mobile OS Symbian ios BlackBerry Window Phone Android. World-Wide Smartphone Sales (Thousands of Units) Android Phones

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

Android Introduction. Hello World. @2010 Mihail L. Sichitiu 1

Android Introduction. Hello World. @2010 Mihail L. Sichitiu 1 Android Introduction Hello World @2010 Mihail L. Sichitiu 1 Goal Create a very simple application Run it on a real device Run it on the emulator Examine its structure @2010 Mihail L. Sichitiu 2 Google

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

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

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

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

Android Concepts and Programming TUTORIAL 1

Android Concepts and Programming TUTORIAL 1 Android Concepts and Programming TUTORIAL 1 Kartik Sankaran kar.kbc@gmail.com CS4222 Wireless and Sensor Networks [2 nd Semester 2013-14] 20 th January 2014 Agenda PART 1: Introduction to Android - Simple

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

Android Java Live and In Action

Android Java Live and In Action Android Java Live and In Action Norman McEntire Founder, Servin Corp UCSD Extension Instructor norman.mcentire@servin.com Copyright (c) 2013 Servin Corp 1 Opening Remarks Welcome! Thank you! My promise

More information

Intro to Android Development 2. Accessibility Capstone Nov 23, 2010

Intro to Android Development 2. Accessibility Capstone Nov 23, 2010 Intro to Android Development 2 Accessibility Capstone Nov 23, 2010 Outline for Today Application components Activities Intents Manifest file Visual user interface Creating a user interface Resources TextToSpeech

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

Eclipse installation, configuration and operation

Eclipse installation, configuration and operation Eclipse installation, configuration and operation This document aims to walk through the procedures to setup eclipse on different platforms for java programming and to load in the course libraries for

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

Mocean Android SDK Developer Guide

Mocean Android SDK Developer Guide Mocean Android SDK Developer Guide For Android SDK Version 3.2 136 Baxter St, New York, NY 10013 Page 1 Table of Contents Table of Contents... 2 Overview... 3 Section 1 Setup... 3 What changed in 3.2:...

More information

Android Application Development. Yevheniy Dzezhyts

Android Application Development. Yevheniy Dzezhyts Android Application Development Yevheniy Dzezhyts Thesis Business Information Technology 2013 Author Yevheniy Dzezhyts Title of thesis Android application development Year of entry 2007 Number of report

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

Mobile Application Frameworks and Services

Mobile Application Frameworks and Services Mobile Application Frameworks and Services Lecture: Programming Basics Dr. Panayiotis Alefragis Professor of Applications Masters Science Program: Technologies and Infrastructures for Broadband Applications

More information

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

Android 多 核 心 嵌 入 式 多 媒 體 系 統 設 計 與 實 作 Android 多 核 心 嵌 入 式 多 媒 體 系 統 設 計 與 實 作 Android Application Development 賴 槿 峰 (Chin-Feng Lai) Assistant Professor, institute of CSIE, National Ilan University Nov. 10 th 2011 2011 MMN Lab. All Rights Reserved

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

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

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

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

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

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

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

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

Tutorial on Basic Android Setup

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

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

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

Basics. Bruce Crawford Global Solutions Manager

Basics. Bruce Crawford Global Solutions Manager Android Development Basics Bruce Crawford Global Solutions Manager Android Development Environment Setup Agenda Install Java JDK Install Android SDK Add Android SDK packages with Android SDK manager Install

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

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

Oculus Mobile Software Development Kit (SDK) Device and Environment Setup Guide

Oculus Mobile Software Development Kit (SDK) Device and Environment Setup Guide Oculus Mobile Software Development Kit (SDK) Device and Environment Setup Guide I. Introduction v. 0.4 Welcome to the Oculus VR Mobile Software Development Kit! This SDK will demonstrate how to implement

More information

Android Programming Basics

Android Programming Basics 2012 Marty Hall Android Programming Basics Originals of Slides and Source Code for Examples: http://www.coreservlets.com/android-tutorial/ Customized Java EE Training: http://courses.coreservlets.com/

More information

Introduction to NaviGenie SDK Client API for Android

Introduction to NaviGenie SDK Client API for Android Introduction to NaviGenie SDK Client API for Android Overview 3 Data access solutions. 3 Use your own data in a highly optimized form 3 Hardware acceleration support.. 3 Package contents.. 4 Libraries.

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

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

@ME (About) Marcelo Cyreno. Skype: marcelocyreno Linkedin: marcelocyreno Mail: marcelocyreno@gmail.com

@ME (About) Marcelo Cyreno. Skype: marcelocyreno Linkedin: marcelocyreno Mail: marcelocyreno@gmail.com Introduction @ME (About) Marcelo Cyreno Skype: marcelocyreno Linkedin: marcelocyreno Mail: marcelocyreno@gmail.com Android - Highlights Open Source Linux Based Developed by Google / Open Handset Alliance

More information

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

INTRODUCTION TO ANDROID CSCI 4448/5448: OBJECT-ORIENTED ANALYSIS & DESIGN LECTURE 11 02/15/2011 INTRODUCTION TO ANDROID CSCI 4448/5448: OBJECT-ORIENTED ANALYSIS & DESIGN LECTURE 11 02/15/2011 1 Goals of the Lecture Present an introduction to the Android Framework Coverage of the framework will be

More information

Practice Fusion API Client Installation Guide for Windows

Practice Fusion API Client Installation Guide for Windows Practice Fusion API Client Installation Guide for Windows Quickly and easily connect your Results Information System with Practice Fusion s Electronic Health Record (EHR) System Table of Contents Introduction

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

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

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

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

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

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

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

User Manual - Help Utility Download MMPCT. (Mission Mode Project Commercial Taxes) User Manual Help-Utility

User Manual - Help Utility Download MMPCT. (Mission Mode Project Commercial Taxes) User Manual Help-Utility Excise and Taxation, Haryana Plot I-3, Sector 5, Panchkula, Haryana MMPCT (Mission Mode Project Commercial Taxes) User Manual Help-Utility Wipro Limited HETD For any queries call at the helpdesk numbers:

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

Introduction to Android SDK Jordi Linares

Introduction to Android SDK Jordi Linares Introduction to Android SDK Introduction to Android SDK http://www.android.com Introduction to Android SDK Google -> OHA (Open Handset Alliance) The first truly open and comprehensive platform for mobile

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

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

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

Android 4.4 App Development Essentials

Android 4.4 App Development Essentials Android 4.4 App Development Essentials i Android 4.4 App Development Essentials First Edition ISBN-13: 978-1-4953580-6-7 2014 Neil Smyth. All Rights Reserved. This book is provided for personal use only.

More information

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

Table of Contents. Adding Build Targets to the SDK 8 The Android Developer Tools (ADT) Plug-in for Eclipse 9 SECOND EDITION Programming Android kjj *J} Zigurd Mednieks, Laird Dornin, G. Blake Meike, and Masumi Nakamura O'REILLY Beijing Cambridge Farnham Koln Sebastopol Tokyo Table of Contents Preface xiii Parti.

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

By sending messages into a queue, we can time these messages to exit the cue and call specific functions.

By sending messages into a queue, we can time these messages to exit the cue and call specific functions. Mobile App Tutorial Deploying a Handler and Runnable for Timed Events Creating a Counter Description: Given that Android Java is event driven, any action or function call within an Activity Class must

More information

Kindle Fire App Development Essentials

Kindle Fire App Development Essentials i Kindle Fire App Development Essentials ii Kindle Fire App Development Essentials First Edition ISBN-13: 978-1484978375 2013 Neil Smyth. All Rights Reserved. This book is provided for personal use only.

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

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

Developing Android Applications: Case Study of Course Design

Developing Android Applications: Case Study of Course Design Accepted and presented at the: The 10th International Conference on Education and Information Systems, Technologies and Applications: EISTA 2012 July 17-20, 2012 Orlando, Florida, USA Developing Android

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

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

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

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

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