Android Hands-On Labs
|
|
- Cecil Campbell
- 8 years ago
- Views:
Transcription
1 Android Hands-On Labs Introduction This document walks you through the 5 Android hands-on labs with i.mx53 Quick Start Board for today s session. The first part regards host preparation, which is not needed today as you are using a ready-to-go virtual machine with all dependencies, softwares and BSPs installed. The 5 labs will guide you through the process of downloading the available android BSP images to the SD card and running them on the board, then, they guide you over 4 necessary steps to build a new android application with access to GPIOs: BSP compilation with new kernel patch, creation of the graphical application with eclipse SDK, creation of C/C++ application to control the GPIO and debugging these steps. The last part integrates this new application into the image so you can build a custom BSP containing your new application. We hope you enjoy the labs presented and in case of any question, feel free to stop one of us during the presentation. Host Preparation (not needed today) Install the Linux Host on your PC, Android recommends Ubuntu bits, download it at Install Android SDK (r20 is the latest at this time), NDK (r8b is the latest) and ADT (20.0.0): Just as recommendation, you can install these tools on the following folders: /home/[user]/software/ides/eclipse, /home/[user]/software/sdks/android-sdk-linux, /home/[user]/software/sdks/android-ndk-linux. To install SDK, follow instructions on developer.android.com/sdk/installing/index.html, in our case, Android Gingerbread is being used as platform. Install Eclipse IDE and ADT plugin as described here: Then, install Android NDK, as decribed here: Finnaly install Android BSP R4.3 from Adeneo, downloading it from Adeneo website:
2 You can unpack BSP content on your home folder. Follow document Release Notes r4.3.pdf in doc folder inside the BSP for: Installing prerequisites, download, patch and build Android. Also follow instructions on i.mx_android_r10.3_user_guide.html, chapter 5.9, How to setup PC (Windows) to support ADB/RNDIS For Linux PC in doc folder, in order to correctly setup USB to support ADB (Android Debug Bridge). Laboratories Please open the Virtual Machine. To do that, Start menu on Windows then find VirtualBox application. Inside Virtual Box, you will see a virtual machine called Ubuntu 10.04, double click-it to open. Virtual Machine user: freescale pass: fsl. Lab1 - Booting Gingerbread Android from Adeneo s pre-built images In this first lab, you will prepare an SD card to boot Android on the i.mx53 QSB. Further during the training, you will have a better understanding of the BSP and the AOSP (Android Open Source Project). For now, the goal is to have a first contact with the OS running in an ARM device, so no details are presented. Insert the SD card in the SD card reader and change to the Adeneo s BSP scripts directory. The BSP is installed under ~/imx53_training/android/i.mx53_...: # cd ~/imx53_training/android/i.mx53-qsb-android-gingerbread-release4.3/scripts Run the script to install Android prebuilt images to the SD card: #./flash_prebuilt_android.sh [NAME OF YOUR SD CARD DEVICE (e.g. /dev/mmcblk0 or /dev/sdb)] Note: you can use dmesg command to see what /dev entry corresponds to your SD card reader. Make sure you have the SD card reader available inside the virtual machine before executing the flash command. After the script finishes flashing Android image to the SD card, removes the card from the reader and insert it into i.mx53 QSB micro SD card connector.
3 Connect an USB-Serial cable to your host machine USB port and to the serial port of the i.mx board. Open a new terminal inside the virtual machine and connect to the serial adapter using screen: # screen /dev/ttyusb n8 Note: you can use dmesg command to see what /dev entry corresponds to your USB-Serial adapter. To disconnect screen, use Ctrl+a, k, y. After all the setup has been done, plug the power supply to the i.mx53 QSB board. You should see the Android OS initializing on the terminal running screen. During the first boot of the device, you will need to calibrate the touch screen. Calibration screen will be presented before the system finishes the boot process. Note: in case you fail to calibrate the device, by marking an invalid point, for instance, you can remove the calibration file and reboot the board in order to calibrate the device again. Calibration file is under /data/system/calibration. Calibrate your touch and wait for Android to present you the home screen, it may take a couple of minutes when booting for the first time. You can play around with some of the native applications eventually. Lab2 - Building Gingerbread Android from Adeneo s BSP You will end this lab with a new Android image, that contains kernel support for i.mx53 QSB user LED control, compiled and burnt into your SD card. In order to enable IO control for the LED at kernel level, prior to compiling the new image, you need to apply a patch to the kernel source tree. We suggest that you take a look at the patch content before you apply it: # cd ~/imx53_training/android/labs/lab02 # cat add_leds_gpio.patch Check what the patch does: it enables the GPIO control on the linux kernel def config files and on the initialization file for the QSB board; it creates a platform-device structure to control one user LED on the board; and then it initializes the structure during execution of the init function. Now, to apply the patch, run commands below: # cd ~/imx53_training/android/i.mx53-qsb-android-gingerbread-release4.3/src/kernel_imx # patch -p1 < ~/imx53_training/android/labs/lab02/add_leds_gpio.patch Having the kernel patched, you are ready to build a new image.
4 However, as Adeneo s BSP checks for the presence of.config file inside the kernel source code tree to determine whether the kernel needs to be compiled or not, you need to remove this file to ensure BSP will run kernel compile task again: # rm.config Next step is to compile the kernel, and only the kernel to save time: # cd ~/imx53_training/android/i.mx53-qsb-android-gingerbread-release4.3/scripts #./build_android.sh --board=imx53_qsb \ --build-choice=kernel --lunch-type=eng --cpus-kernel=4 Note: Android and uboot were previously compiled to save time for this lab, otherwise, you would have to use --build-choice=all to build them too and build time would be extremely higher. Finally, you need to burn the new kernel image to the SD card, so first connect the SD card to the reader and be sure it is connected to the Virtual Machine, then run the commands: # cd ~/imx53_training/android/i.mx53-qsb-android-gingerbread-release4.3/out # sudo dd if=uimage of=/dev/sdb bs=1m seek=1; sync Note: here, again for the sake of time, you are copying only the kernel image to the SD card, preserving all the filesystems that were previously created when flashing the prebuilt image. To flash the whole Android system, instead of using./flash_prebuilt_android.sh, you could use./flash_android.sh at this point. After burning the new kernel image, you can reconnect the SD card to the i.mx board to test kernel level LED control. At the terminal connected to the serial cable running screen, type the following commands: # cd /sys/class/leds/mx53::user # echo 0 > brightness # echo 1 > brightness You can repeat the last two commands as many times as you want, and hopefully you will see the user LED changing its status. Lab3 - Building first Java application for Android in Eclipse After completing the first two labs for a first contact with the Android BSP and to add low level support for led control, you will switch to the other end of the application, the UI, using Android SDK through Eclipse IDE to start development. The application that will be developed during this lab, in its first version, will not be able to control the actual user LED yet, as it will not include the native glue to the kernel LED driver
5 interface. But the resulting application will be reused in the next labs and will show you some concepts and tools behind Android. To get started, open Eclipse: # cd ~/Software/IDEs/eclipse #./eclipse & On Eclipse IDE, create a new Android Project by clicking File > New > Project... Android > Android Application Project: New Android Application ApplicationName: LedControl Project Name: LedControl Package Name: com.freescale.android.ledcontrol Build SDK: Android (API 10) Minimum Required SDK: API 8: Android 2.2 (Froyo) Configure Launcher Icon - Next Create Activity - Next New Blank Activity Activity Name: LedControlActivity Layout Name: activity_led_control Title: LedControlActivity Click Finish Edit layout file of application just created (LedControl - res - layout - activity_led_control.xml): Add two buttons Name them LedOn and LedOff, by right-clicking them, then selecting edit text, then New String, then: String: LedOn New R.string: led_on for LedOn button and: String: LedOff New R.string: led_off for LedOff Set On click property to setledon for LedOn button and setledoff for LedOff button, by left clicking on each button, going to the Outline view, then properties, and finding the On Click event on the end of the list. Edit the main activity class (LedControl - src - com.freescale.android.ledcontrol - LedControlActivity.java) and add the following lines at the beginning: import android.view.view; import android.widget.toast; Inside LedControlActivity class body, add the following code at the end:
6 /* Click handler for the On button */ public void setledon(view view) { displayledstatus(1); /* Click handler for the Off button */ public void setledoff(view view) { displayledstatus(0); private void displayledstatus(int status) { String text = "Error while setting Led status!"; if(status!= -1) text = "Led is " + (status == 1? "On" : "Off"); Toast.makeText(getApplicationContext(), text, Toast.LENGTH_SHORT).show(); Connect a micro USB cable to the i.mx board micro conector and to the host PC, and run the Debugger from Eclipse IDE, by clicking the Debug button and selecting Debug as Android Application. You can add breakpoints to the source code to interact with the debugging tool. It s specially interesting to set a breakpoint at the following line of the activity source code, as it s called every time one of the buttons is clicked: Toast.makeText(getApplicationContext(), text, Toast.LENGTH_SHORT).show(); Pay special attention to logcat tab. It s a helpful tool to debug software too. Add more perspectives to the project like DDMS and Hierarchy View to get familiar with them. You can collect data from the running processes with the first and analyze the complete view hierarchy with the second. Lab4 - Adding native code to the application in Eclipse Now that you have a high level application to control LED status, you need to implement the low level glue to the actual kernel driver to effectively control the user LED status. To start this lab, add Android Native Support to LedControl project by right clicking the project root folder on the Package Explorer tab and setting a library name as follows: Library Name: libled_control_jni.so (note that the lib prefix and the.so suffix are already set by default) Note that you have been automatically switched to C/C++ perspective. Change back to Java perspective to create a new Java class with the following information: Package: com.freescale.android.ledcontrol Name: LedControlLib And add the following two methods to it:
7 public static native int setledon(); public static native int setledoff(); Add also the following static block to the end of the class body: static { System.loadLibrary("led_control_jni"); Edit LedControlActivity.java and replace: displayledstatus(1); by: displayledstatus(ledcontrollib.setledon()); and: displayledstatus(0); by: displayledstatus(ledcontrollib.setledoff()); Now that you have a Java library, that is actually just a simple class for the purpose of this laboratory, you can try to launch the Debugger again. You will notice that the application will run, but If you try to click on any of the buttons, you will get an "UnsatisfiedLinkError" exception, because although the high level class declared the two native methods that are now called from the LedControlActivity, they are not implemented yet in native code. To add native code, note that Eclipse already created the first two files for you (jni/android.mk and jni/led_control_jni.cpp) when you selected to Add Native Support to the project. To make it easier to create the prototypes of the native functions in led_control_jni.cpp, it is possible to generate a native header file from the Java Library class using a tool called javah, that extracts meaningful data from a Java class to a C/C++ header file. In a terminal, type the following commands to create the native header file: # cd ~/Software/Workspace/LedControl # javah -jni \ -classpath bin/classes \ -d jni com.freescale.android.ledcontrol.ledcontrollib
8 Back to Eclipse IDE, go back to C/C++ perspective and refresh the whole project so that the jni directory gets updated (either right click LedControl project and select Refresh or left click it and press F5). You will notice that the file com_freescale_android_ledcontrol_ledcontrollib.h has been created under jni directory. Rename this file to led_control_jni.h and open it to see how it looks like. Note especially that: jni header file is included there is a block protecting the C function declarations to avoid problems with C++ compiler the full namespace from Java is adapted to C conventions to name functions and keep track of their relationship with the Java world Now that the header file is ready to be used, you can finally open led_control_jni.cpp to implement the native functions. The end file can look like this: #include "led_control_jni.h" #include <string.h> #include <stdio.h> #include <android/log.h> #define DEBUG_TAG "LedControl" static jint setledstatus(jint status) { const char *fname = "/sys/class/leds/mx53::user/brightness"; FILE* file = fopen(fname, "r+"); if(file) { android_log_print(android_log_debug,debug_tag, "Writing %d to file %s", status, fname); fprintf(file, (status? "1" : "0")); fflush(file); fclose(file); return (jint) status; else { android_log_print(android_log_debug, DEBUG_TAG, "Failed to open file %s for writing %s", fname, status); return (jint) -1; JNIEXPORT jint JNICALL Java_com_freescale_android_ledcontrol_LedControlLib_setLedOn (JNIEnv *env, jclass clazz) { return setledstatus((jint) 1); JNIEXPORT jint JNICALL Java_com_freescale_android_ledcontrol_LedControlLib_setLedOff (JNIEnv *env, jclass clazz) { return setledstatus((jint) 0);
9 Note that a native API (android/log.h) is being used to generate log messages. With this API in use, you need to tell the linker where to find its implementation. To pass this information to the C/C++ linker, edit jni/android.mk file and add the following line in bold: LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := libled_control_jni LOCAL_SRC_FILES := led_control_jni.cpp LOCAL_LDLIBS := -llog include $(BUILD_SHARED_LIBRARY) Now you are ready to rebuild and rerun the application. If you try to click one of the buttons on the application again, however, you will still get an error that this time will crash the application without even throwing an exception. This new error is related to the permissions associated with the node used to control the led brightness (/sys/class/leds/mx53::user/brightness). As this node is owned by root and is not accessible for write operations to any other users, you need to workaround this limitation somehow. For this lab, you can simply make this node globally accessible by executing the following command in the terminal running screen: # chmod 0777 /sys/class/leds/mx53::user/brightness After altering this device node permission, you will be able to see your full application in action, changing LED status by clicking each UI button. Note: you should be able to debug the native code through Eclipse as well. To enable native debugging, you need to enable some debugging features first. Add NDK_DEBUG=1 after ndkbuild in the Build command of the C/C++ Build settings inside project properties. Then create a new Debug configuration, choosing to run debug as Android Native Application. You may face some problems to get native symbols resolved, as by the time of this writing there are some known issues with Android ADT plugin running on Eclipse Juno with CDT. Give it a try. Lab5 - Adding application to Android BSP Once you have your stable application developed, it s common to want to embed it in a product as a system application instead of distributing it as a self contained package for pos installation. To start embedding LedControl application into Android BSP, create a vendor specific directory in the BSP root directory, where BSP scripts will look for applications by default: # cd ~/imx53_training/android/i.mx53-qsb-android-gingerbread-release4.3/src # mkdir -p vendor/fsl
10 # cd vendor/fsl Add the LedControl application to the vendor specific directory: # cp -r ~/Software/Workspace/LedControl. # cd LedControl # rm -rf.settings bin libs obj gen assets.project.classpath.cproject Create a top level Android.mk file inside vendor/fsl/ledcontrol: LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE_TAGS := optional LOCAL_SRC_FILES := $(call all-java-files-under, src) LOCAL_SDK_VERSION := current LOCAL_PACKAGE_NAME := LedControl LOCAL_JNI_SHARED_LIBRARIES := libled_control_jni include $(BUILD_PACKAGE) # Use the following include to make native implementation. include $(call all-makefiles-under,$(local_path)) And edit the other Android.mk file inside the jni directory, so that it looks like this: LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_PRELINK_MODULE := false LOCAL_MODULE := libled_control_jni LOCAL_MODULE_TAGS := optional LOCAL_SRC_FILES := led_control_jni.cpp LOCAL_SHARED_LIBRARIES := liblog LOCAL_LDLIBS := -llog include $(BUILD_SHARED_LIBRARY) Now, although the application is already recognized by the Android build environment, it s also necessary to add a reference to this application into i.mx product packages list, editing file device/fsl/imx5x/imx5x.mk and adding lines in bold, otherwise, the application will not be included in the final image: PRODUCT_MANUFACTUER := freescale # Android Hands On apk
11 PRODUCT_PACKAGES += \ LedControl \ libled_control_jni.so # Android infrastructures Last implementation step is to edit init.rc (device/fsl/imx5x/init.rc) file to change permissions for /sys/class/leds/mx53::user/brightness during boot, adding the line in bold: chown root radio /proc/cmdline # Chmod/chown FSL specific sys entry chown system system /sys/class/backlight/pwm-backlight.0/brightness chmod 0660 /sys/class/backlight/pwm-backlight.0/brightness chmod 0777 /sys/class/leds/mx53::user/brightness # Define TCP buffer sizes for various networks Finally you are ready to rebuild the BSP and reflash the SD card: # cd ~/imx53_training/android/i.mx53-qsb-android-gingerbread-release4.3/scripts #./build_android.sh --board=imx53_qsb \ --build-choice=android --lunch-type=eng --cpus-android=4 #./flash_android.sh /dev/sdb Summary Following picture summarizes some tools, processes and concepts you ve learned during this hands on session. We hope you enjoyed!
12 Ref:
Introduction to Native Android Development with NDK
Introduction to Native Android Development with NDK Outline Motivation: case study of a real project Android Architecture Simplified Tool chain Diagram Adding 3 rd party modules Adding pdf and encrypted
More informationQualcomm IR-I 2 C Bridge Demo
User s Guide June 2012 UG63_01.0 Qualcomm IR-I2C Bridge Demo Demo Setup The Qualcomm IR-I2C Bridge Demo setup consists of the ice-dragon Board which includes an IR-Receiver interfaced with an ice40 mobilefpga.
More informationDevelopment_Setting. Step I: Create an Android Project
A step-by-step guide to setup developing and debugging environment in Eclipse for a Native Android Application. By Yu Lu (Referenced from two guides by MartinH) Jan, 2012 Development_Setting Step I: Create
More informationRTI 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 informationOpenCV 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 informationThe "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 informationRunning 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 informationYocto Project Eclipse plug-in and Developer Tools Hands-on Lab
Yocto Project Eclipse plug-in and Developer Tools Hands-on Lab Yocto Project Developer Day San Francisco, 2013 Jessica Zhang Introduction Welcome to the Yocto Project Eclipse plug-in
More informationHow To Develop Android On Your Computer Or Tablet Or Phone
AN INTRODUCTION TO ANDROID DEVELOPMENT CS231M Alejandro Troccoli Outline Overview of the Android Operating System Development tools Deploying application packages Step-by-step application development The
More informationAllJoyn Android Environment Setup Guide
80-BA001-2 Rev. A June 21, 2011 Submit technical questions at: http:///forums The information contained in this document is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License;
More informationAndroid 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 informationLab 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 informationMultithreading and Java Native Interface (JNI)!
SERE 2013 Secure Android Programming: Best Practices for Data Safety & Reliability Multithreading and Java Native Interface (JNI) Rahul Murmuria, Prof. Angelos Stavrou rmurmuri@gmu.edu, astavrou@gmu.edu
More informationBoard 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 informationBuilding 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 informationAndroid Programming and Security
Android Programming and Security Dependable and Secure Systems Andrea Saracino andrea.saracino@iet.unipi.it Outlook (1) The Android Open Source Project Philosophy Players Outlook (2) Part I: Android System
More informationQ N X S O F T W A R E D E V E L O P M E N T P L A T F O R M v 6. 4. 10 Steps to Developing a QNX Program Quickstart Guide
Q N X S O F T W A R E D E V E L O P M E N T P L A T F O R M v 6. 4 10 Steps to Developing a QNX Program Quickstart Guide 2008, QNX Software Systems GmbH & Co. KG. A Harman International Company. All rights
More informationWith 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 informationNative code in Android Quad Detection
Native code in Android Quad Detection 21 July 2013 This document provides information on how to build and run native (C/C++) code in Android platform using Android NDK and then use its scope to auto capture
More informationHow 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 informationGetting 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 informationERIKA Enterprise pre-built Virtual Machine
ERIKA Enterprise pre-built Virtual Machine with support for Arduino, STM32, and others Version: 1.0 July 2, 2014 About Evidence S.r.l. Evidence is a company operating in the field of software for embedded
More informationAndroid 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 informationAndroid 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 information10 STEPS TO YOUR FIRST QNX PROGRAM. QUICKSTART GUIDE Second Edition
10 STEPS TO YOUR FIRST QNX PROGRAM QUICKSTART GUIDE Second Edition QNX QUICKSTART GUIDE A guide to help you install and configure the QNX Momentics tools and the QNX Neutrino operating system, so you can
More informationDeveloping 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 informationNVIDIA Tegra Android Platform Support Pack Getting Started Guide
NVIDIA Tegra Android Platform Support Pack Getting Started Guide Version 5421622-1 - Contents INTRODUCTION 3 SYSTEM REQUIREMENTS 3 ENVIRONMENT VARIABLES (OPTIONAL) 5 INSTALLING THE SUPPORT PACK 6 INSTALLING
More informationTutorial 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 informationIslamic 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 informationID 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 informationANDROID 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 informationTutorial 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 informationWaspmote IDE. User Guide
Waspmote IDE User Guide Index Document Version: v4.1-01/2014 Libelium Comunicaciones Distribuidas S.L. INDEX 1. Introduction... 3 1.1. New features...3 1.2. Other notes...3 2. Installation... 4 2.1. Windows...4
More informationExtending your Qt Android application using JNI
Extending your Qt Android alication using JNI Dev Days, 2014 Presented by BogDan Vatra Material based on Qt 5.3, created on November 13, 2014 Extending your alication using JNI Extending your alication
More informationProcedure to Create and Duplicate Master LiveUSB Stick
Procedure to Create and Duplicate Master LiveUSB Stick A. Creating a Master LiveUSB stick using 64 GB USB Flash Drive 1. Formatting USB stick having Linux partition (skip this step if you are using a new
More informationHow 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 informationFahim 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 informationSetting 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 informationSheevaPlug Development Kit README Rev. 1.2
SheevaPlug Development Kit README Rev. 1.2 Introduction... 3 Flow to use the Software Development Kit packages... 3 Appendix A... 5 GCC cross-compiler... 5 Appendix B... 6 Mini-USB debug driver installation
More informationWhat else can you do with Android? Inside Android. Chris Simmonds. Embedded Linux Conference Europe 2010. Copyright 2010, 2net Limited.
What else can you do with Android? Chris Simmonds Embedded Linux Conference Europe 2010 Copyright 2010, 2net Limited 1 Overview Some background on Android Quick start Getting the SDK Running and emulated
More informationChipsee Embedded Industrial Computer Android User Manual V1.0.1
Chipsee Embedded Industrial Computer Android User Manual V1.0.1 Summary: This manual is used to provide users with a fast guide of Chipsee Embed ded Industrial Computer about Android OS development. Through
More informationExample 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 informationUSB HSPA Modem. User Manual
USB HSPA Modem User Manual Congratulations on your purchase of this USB HSPA Modem. The readme file helps you surf the Internet, send and receive SMS, manage contacts and use many other functions with
More informationAdvantages. 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 informationAndroid 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 informationDeveloping 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 informationAndroid 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 informationWA1826 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 informationChapter 1 Hardware and Software Introductions of pcduino
Chapter 1 Hardware and Software Introductions of pcduino pcduino is a high performance, cost effective mini PC platform that runs PC like OS such as Ubuntu Linux. It outputs its screen to HDMI enabled
More informationReminders. Lab opens from today. Many students want to use the extra I/O pins on
Reminders Lab opens from today Wednesday 4:00-5:30pm, Friday 1:00-2:30pm Location: MK228 Each student checks out one sensor mote for your Lab 1 The TA will be there to help your lab work Many students
More informationInstructions for Installing and Using the FOCUS DL-15 Data Transfer Software
27 March 2015 Instructions for Installing and Using the FOCUS DL-15 Data Transfer Software Introduction This guide will walk you through the process of transferring data from the FOCUS DL-15 to the computer
More informationSystem 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 informationThe embedded Linux quick start guide lab notes
The embedded Linux quick start guide lab notes Embedded Linux Conference Europe 2010 Date: Tuesday 26th October Location: DeVere University of Arms Hotel, Cambridge Room: Churchill Suite Presenter: Chris
More informationTechnical Note. TN_134 FTDI Android D2XX Driver
Future Technology Devices International Ltd. Technical Note Document Reference No.: FT_000522 Version 1.1 Issue Date: 2012-08-16 This document describes the installation and use of the FTDI D2XX driver
More informationAndroid 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 informationDeveloping an Application for the i.mx Devices on the Linux Platform
Freescale Semiconductor Application Note Document Number: AN3870 Rev. 0, 08/2010 Developing an Application for the i.mx Devices on the Linux Platform by Multimedia Applications Division Freescale Semiconductor,
More informationSilk Test 17.0. Testing Mobile Applications
Silk Test 17.0 Testing Mobile Applications Micro Focus The Lawn 22-30 Old Bath Road Newbury, Berkshire RG14 1QN UK http://www.microfocus.com Copyright Micro Focus 1992-2016. All rights reserved. MICRO
More informationAndroid 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 informationIntel Do-It-Yourself Challenge Lab 2: Intel Galileo s Linux side Nicolas Vailliet
Intel Do-It-Yourself Challenge Lab 2: Intel Galileo s Linux side Nicolas Vailliet www.intel-software-academic-program.com paul.guermonprez@intel.com Intel Software 2014-02-01 Prerequisites and objectives
More informationADB (Android Debug Bridge): How it works?
ADB (Android Debug Bridge): How it works? 2012.2.6 early draft Tetsuyuki Kobayashi 1 Let's talk about inside of Android. http://www.kmckk.co.jp/eng/kzma9/ http://www.kmckk.co.jp/eng/jet_index.html 2 Who
More informationLab 1: Introduction to the network lab
CSCI 312 - DATA COMMUNICATIONS AND NETWORKS FALL, 2014 Lab 1: Introduction to the network lab NOTE: Be sure to bring a flash drive to the lab; you will need it to save your data. For this and future labs,
More informationScanWin Installation and Windows 7-64 bit operating system
ScanWin Installation and Windows 7-64 bit operating system In order to run the ScanWin Pro install and program on Windows 7 64 bit operating system you need to install a Virtual PC and then install a valid,
More informationIntel 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 informationAndroid Development. Lecture AD 0 Android SDK & Development Environment. Università degli Studi di Parma. Mobile Application Development
Android Development Lecture AD 0 Android SDK & Development Environment 2013/2014 Parma Università degli Studi di Parma Lecture Summary Android Module Overview The Android Platform Android Environment Setup
More informationSKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.
SKP16C62P Tutorial 1 Software Development Process using HEW Renesas Technology America Inc. 1 Overview The following tutorial is a brief introduction on how to develop and debug programs using HEW (Highperformance
More informationAndroid 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 informationHow to use the VMware Workstation / Player to create an ISaGRAF (Ver. 3.55) development environment?
Author Janice Hong Version 1.0.0 Date Mar. 2014 Page 1/56 How to use the VMware Workstation / Player to create an ISaGRAF (Ver. 3.55) development environment? Application Note The 32-bit operating system
More informationIOIO 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 informationTomTom PRO 82xx PRO.connect developer guide
TomTom PRO 82xx PRO.connect developer guide Contents Introduction 3 Preconditions 4 Establishing a connection 5 Preparations on Windows... 5 Preparations on Linux... 5 Connecting your TomTom PRO 82xx device
More informationDS-5 ARM. Using the Debugger. Version 5.7. Copyright 2010, 2011 ARM. All rights reserved. ARM DUI 0446G (ID092311)
ARM DS-5 Version 5.7 Using the Debugger Copyright 2010, 2011 ARM. All rights reserved. ARM DUI 0446G () ARM DS-5 Using the Debugger Copyright 2010, 2011 ARM. All rights reserved. Release Information The
More informationAndroid 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 informationSoftware Prerequisites Linux Ubuntu 12.04 LTS. Estimated completion time: 15min. The goal of this hands-on is to:
TRAINING MANUAL Using SAM-BA for Linux on SAMA5D3 Xplained AN-8995 Prerequisites Hardware Prerequisites Atmel SAMA5D3 Xplained USB serial TTL adapter (optional) FTDI TTL-232R-3V3 USB to TTL serial cable
More informationAppium mobile test automation
Appium mobile test automation for Google Android and Apple ios Last updated: 4 January 2016 Pepgo Limited, 71-75 Shelton Street, Covent Garden, London, WC2H 9JQ, United Kingdom Contents About this document...
More informationfile://d:\webs\touch-base.com\htdocs\documentation\androidplatformnotes52.htm
Page 1 of 5 Deliverables Requirements Installation Uninstall Supported programs Limitations Contact Welcome to UPDD Android platform specific installation instructions and related notes for UPDD version
More informationIntroduction 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 informationPetaLinux SDK User Guide. Application Development Guide
PetaLinux SDK User Guide Application Development Guide Notice of Disclaimer The information disclosed to you hereunder (the "Materials") is provided solely for the selection and use of Xilinx products.
More informationShearwater Research Dive Computer Software Manual
Shearwater Research Dive Computer Software Manual Revision 1.3 Table of Contents 1. Basic overview of components 2. O/S IrDA driver installation 2.1 USB IrDA installation for Windows XP Home/Pro editions
More informationInstalling 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 informationAndroid: 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 informationXenMobile Logs Collection Guide
XenMobile Logs Collection Guide 1 Contents Summary... 3 Background... 3 How to Collect Logs from Server Components... 4 Support Bundle Contents... 4 Operations Supported for Server Components... 5 Configurations
More informationCosmic Board for phycore AM335x System on Module and Carrier Board. Application Development User Manual
Cosmic Board for phycore AM335x System on Module and Carrier Board Application Development User Manual Product No: PCL-051/POB-002 SOM PCB No: 1397.0 CB PCB No: 1396.1 Edition: October,2013 In this manual
More informationAndroid Environment Emulator
Part 2-b Android Environment Emulator Victor Matos Cleveland State University Notes are based on: http://developer.android.com/index.html http://developer.android.com/guide/developing/tools/emulator.html
More informationWireless Mobile Broadband Setup Guide for Linux OS
Wireless Mobile Broadband Setup Guide for Linux OS Note: This document is provided for information purposes only. Sprint cannot accept any responsibility for the use of information provided in this document.
More information-Android 2.3 is the most used version of Android on the market today with almost 60% of all Android devices running 2.3 Gingerbread -Winner of
1 2 3 -Android 2.3 is the most used version of Android on the market today with almost 60% of all Android devices running 2.3 Gingerbread -Winner of Internet Telephony Magazine s 2012 Product of the Year
More informationCode::Block manual. for CS101x course. Department of Computer Science and Engineering Indian Institute of Technology - Bombay Mumbai - 400076.
Code::Block manual for CS101x course Department of Computer Science and Engineering Indian Institute of Technology - Bombay Mumbai - 400076. April 9, 2014 Contents 1 Introduction 1 1.1 Code::Blocks...........................................
More informationFuture Technology Devices International Ltd. Mac OS-X Installation Guide
Future Technology Devices International Ltd. Mac OS-X Installation Guide I Mac OS-X Installation Guide Table of Contents Part I Welcome to the Mac OS-X Installation Guide 2 Part II Installing FTDIUSBSerialDriver
More informationUniversità Degli Studi di Parma. Distributed Systems Group. Android Development. Lecture 1 Android SDK & Development Environment. Marco Picone - 2012
Android Development Lecture 1 Android SDK & Development Environment Università Degli Studi di Parma Lecture Summary - 2 The Android Platform Android Environment Setup SDK Eclipse & ADT SDK Manager Android
More informationSmooks Dev Tools Reference Guide. Version: 1.1.0.GA
Smooks Dev Tools Reference Guide Version: 1.1.0.GA Smooks Dev Tools Reference Guide 1. Introduction... 1 1.1. Key Features of Smooks Tools... 1 1.2. What is Smooks?... 1 1.3. What is Smooks Tools?... 2
More informationHow 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 informationAndroid-based Java Programming for Mobile Phone LED Control
www.ijcsi.org 217 Android-based Java Programming for Mobile Phone LED Control Yi-Jen Mon Department of Computer Science and Information Engineering, Taoyuan Innovation Institute of Technology Chung-Li,
More informationGetting Started with Kinetis SDK (KSDK)
Freescale Semiconductor, Inc. Document Number: KSDKGSUG User s Guide Rev. 0, 12/2014 Getting Started with Kinetis SDK (KSDK) 1 Overview Kinetis SDK (KSDK) is a Software Development Kit that provides comprehensive
More informationAndroid, Bluetooth and MIAC
Android, Bluetooth and MIAC by Ben Rowland, June 2012 Abstract Discover how easy it is to use TCP network communications to link together high level systems. This article demonstrates techniques to pass
More informationWorkshop Intel Galileo Board
Workshop Intel Galileo Board Introduction and Basics of Intel Galileo Board Walter Netto November 03th, 2014 Agenda Intel Galileo Board Overview Physical Characteristics Communication Processor Features
More informationMobile Development Documentation
Mobile Development Documentation Version 1.0.0 2 Introduction Mobile Copyrights and Trademarks 2015 Oculus VR, LLC. All Rights Reserved. OCULUS VR, OCULUS, and RIFT are trademarks of Oculus VR, LLC. (C)
More informationColorfly Tablet Upgrade Guide
Colorfly Tablet Upgrade Guide (PhoenixSuit) 1. Downloading the Firmware and Upgrade Tool 1. Visit the official website http://www.colorful.cn/, choose 产 品 > 数 码 类 > 平 板 电 脑, and click the product to be
More information1. Downloading. 2. Installation and License Acquiring. Xilinx ISE Webpack + Project Setup Instructions
Xilinx ISE Webpack + Project Setup Instructions 1. Downloading The Xilinx tools are free for download from their website and can be installed on your Windowsbased PC s. Go to the following URL: http://www.xilinx.com/support/download/index.htm
More informationML310 Creating a VxWorks BSP and System Image for the Base XPS Design
ML310 Creating a VxWorks BSP and System Image for the Base XPS Design Note: Screen shots in this acrobat file appear best when Acrobat Magnification is set to 133.3% Outline Software Requirements Software
More informationAPPLICATION NOTE. How to build pylon applications for ARM
APPLICATION NOTE Version: 01 Language: 000 (English) Release Date: 31 January 2014 Application Note Table of Contents 1 Introduction... 2 2 Steps... 2 1 Introduction This document explains how pylon applications
More informationHow 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 informationTEGRA X1 DEVELOPER TOOLS SEBASTIEN DOMINE, SR. DIRECTOR SW ENGINEERING
TEGRA X1 DEVELOPER TOOLS SEBASTIEN DOMINE, SR. DIRECTOR SW ENGINEERING NVIDIA DEVELOPER TOOLS BUILD. DEBUG. PROFILE. C/C++ IDE INTEGRATION STANDALONE TOOLS HARDWARE SUPPORT CPU AND GPU DEBUGGING & PROFILING
More information