Android Sensor Programming. Weihong Yu

Size: px
Start display at page:

Download "Android Sensor Programming. Weihong Yu"

Transcription

1 Android Sensor Programming Weihong Yu

2 Sensors Overview The Android platform is ideal for creating innovative applications through the use of sensors. These built-in sensors measure motion, orientation, and various environmental conditions. These sensors are capable of providing raw data with high precision and accuracy, and are useful if you want to monitor three-dimensional device movement or positioning, or you want to monitor changes in the ambient environment near a device.

3 Android Sensors Overview Android Sensors: MIC Camera Temperature Location (GPS or Network) Orientation Accelerometer Proximity Pressure Light

4 hardware-based sensors Sensors physical components built into a handset or tablet device They derive their data by directly measuring specific environmental properties, such as acceleration, geomagnetic field strength, or angular change software-based sensors not physical devices, although they mimic hardware-based sensors Software-based sensors derive their data from one or more of the hardware-based sensors and are sometimes called virtual sensors or synthetic sensors Examples: the linear acceleration sensor

5 categories of sensors supported by Android platform Motion sensors :measure acceleration forces and rotational forces along three axes accelerometers, gravity sensors, gyroscopes, etc. Environmental sensors: measure various environmental parameters, such as ambient air temperature and pressure, illumination, and humidity barometers, photometers, and thermometers. Position sensors: measure the physical position of a device orientation sensors and magnetometers.

6 Sensor Coordinate System When a device is held in its default orientation the X axis is horizontal and points to the right the Y axis is vertical and points up and the Z axis points toward the outside of the screen face

7 Android sensor framework The sensor framework provides several classes and interfaces that help you perform a wide variety of sensor-related tasks Determine which sensors are available on a device. Determine an individual sensor's capabilities, such as its maximum range, manufacturer, power requirements, and resolution. Acquire raw sensor data and define the minimum rate at which you acquire sensor data. Register and unregister sensor event listeners that monitor sensor changes.

8 Sensor Framework-sensor Manager You can use this class to create an instance of the sensor service This class provides various methods for accessing and listing sensors, registering and unregistering sensor event listeners, and acquiring orientation information. This class also provides several sensor constants that are used to report sensor accuracy, set data acquisition rates, and calibrate sensors.

9 Sensor Framework---Sensor You can use this class to create an instance of a specific sensor. This class provides various methods that let you determine a sensor's capabilities.

10 Sensor Framework---SensorEvent The system uses this class to create a sensor event object, which provides information about a sensor event. A sensor event object includes the following information: the raw sensor data the type of sensor that generated the event the accuracy of the data the timestamp for the event

11 Sensor Framework---SensorEventListener You can use this interface to create two callback methods that receive notifications (sensor events) when sensor values change or when sensor accuracy changes. onaccuracychanged(sensor sensor, int accuracy) :Called when the accuracy of a sensor has changed. onsensorchanged(sensorevent event) :Called when sensor values have changed.

12 Basic Steps for Programming Step 1--access a SensorManager via getsystemservice(sensor_service). Android supports several sensors via the SensorManager Step 2--access the Sensor via the sensormanager.getdefaultsensor() method Step 3--Once you acquired a sensor, you can register a SensorEventListener object on it. This listener will get informed, if the sensor data changes. Step 4--To avoid the unnecessary usage of battery you register your listener in the onresume() method and de-register it in the onpause() method.

13 Android Activity lifecycle

14 Example 1:List all sensors Step 1--- get a reference to the sensor service private SensorManager msensormanager; msensormanager = (SensorManager) getsystemservice(context.sensor_servi CE); Step2---get a list of all sensors on a device List<Sensor> devicesensors = msensormanager.getsensorlist(sensor.typ E_ALL);

15 Example 2:Use Accelerometer Step 1---get an instance of SensorManager and Sensor msensormanager = (SensorManager) getsystemservice(context.sensor_servic E); maccelerometer = msensormanager.getdefaultsensor(sensor.t YPE_ACCELEROMETER);

16 Example 2:Use Accelerometer Step 2---register a sensor event listener msensormanager.registerlistener(this, maccelerometer, SensorManager.SENSOR_DELAY_GAME));

17 Example 2:Use Accelerometer Step 3---override onsensorchanged(sensorevent event) and use event.values[] to get the public void onsensorchanged(sensorevent event) { float x = event.values[0]; float y = event.values[1]; float z = event.values[2]; }

18 Codes for Using Accelerometer Get the Sensor Service and Sensor public void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); setcontentview(r.layout.activity_acc_main); mytx=(textview)this.findviewbyid(r.id.tx); myty=(textview)this.findviewbyid(r.id.ty); mytz=(textview)this.findviewbyid(r.id.tz); sm=(sensormanager)this.getsystemservice(context.se NSOR_SERVICE); mysensor=sm.getdefaultsensor(sensor.type_accele ROMETER); }

19 Codes for Using Accelerometer Define an instance of SensorEventListener private final SensorEventListener mysensorlistenr=new SensorEventListener(){ public void onaccuracychanged(sensor sensor, int accuracy) { // TODO Auto-generated method stub } public void onsensorchanged(sensorevent event) { // TODO Auto-generated method stub mytx.settext(string.valueof(event.values[0])); myty.settext(string.valueof(event.values[1])); mytz.settext(string.valueof(event.values[2])); } };

20 Codes for Using Accelerometer Register the object of SensorEventListener protected void onresume() { // TODO Auto-generated method stub super.onresume(); sm.registerlistener(mysensorlistenr, mysensor, SensorManager.SENSOR_DELAY_NORMAL); }

21 Codes for Using Accelerometer De-Register the object of SensorEventListener protected void onpause() { // TODO Auto-generated method stub super.onpause(); sm.unregisterlistener(mysensorlistenr); }

22 Running result on the Emulator But you currently can't test all sensor code on the emulator because the emulator cannot emulate all sensors. Most of the time,you must test your sensor code on a physical device.

Sensors & Motion Sensors in Android platform. Minh H Dang CS286 Spring 2013

Sensors & Motion Sensors in Android platform. Minh H Dang CS286 Spring 2013 Sensors & Motion Sensors in Android platform Minh H Dang CS286 Spring 2013 Sensors The Android platform supports three categories of sensors: Motion sensors: measure acceleration forces and rotational

More information

Android Sensors. CPRE 388 Fall 2015 Iowa State University

Android Sensors. CPRE 388 Fall 2015 Iowa State University Android Sensors CPRE 388 Fall 2015 Iowa State University What are sensors? Sense and measure physical and ambient conditions of the device and/or environment Measure motion, touch pressure, orientation,

More information

Android Sensors. XI Jornadas SLCENT de Actualización Informática y Electrónica

Android Sensors. XI Jornadas SLCENT de Actualización Informática y Electrónica Android Sensors XI Jornadas SLCENT de Actualización Informática y Electrónica About me José Juan Sánchez Hernández Android Developer (In my spare time :) Member and collaborator of: - Android Almería Developer

More information

Using the Android Sensor API

Using the Android Sensor API Using the Android Sensor API Juan José Marrón Department of Computer Science & Engineering jmarronm@mail.usf.edu # Outline Sensors description: - Motion Sensors - Environmental Sensors - Positioning Sensors

More information

Using Sensors on the Android Platform. Andreas Terzis Android N00b

Using Sensors on the Android Platform. Andreas Terzis Android N00b Using Sensors on the Android Platform Andreas Terzis Android N00b Hardware-oriented Features Feature Camera Sensor SensorManager SensorEventListener SensorEvent GeoMagneticField Description A class that

More information

ELET4133: Embedded Systems. Topic 15 Sensors

ELET4133: Embedded Systems. Topic 15 Sensors ELET4133: Embedded Systems Topic 15 Sensors Agenda What is a sensor? Different types of sensors Detecting sensors Example application of the accelerometer 2 What is a sensor? Piece of hardware that collects

More information

Android Framework. How to use and extend it

Android Framework. How to use and extend it Android Framework How to use and extend it Lectures 9/10 Android Security Security threats Security gates Android Security model Bound Services Complex interactions with Services Alberto Panizzo 2 Lecture

More information

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

ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL II) Sensor Overview ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL II) Lecture 5: Sensor and Game Development Most Android-powered devices have built-in sensors that measure motion, orientation,

More information

Android. Learning Android Marko Gargenta. Tuesday, March 11, 14

Android. Learning Android Marko Gargenta. Tuesday, March 11, 14 Android Learning Android Marko Gargenta Materials Sams Teach Yourself Android Application Development in 24 Hours (Amazon) Android Apps for Absolute Beginners (Amazon) Android Development Tutorial (http://

More information

Android Sensors. Mobile Applica1ons Jay Urbain, Ph.D. Credits:

Android Sensors. Mobile Applica1ons Jay Urbain, Ph.D. Credits: Android Sensors Credits: Mobile Applica1ons Jay Urbain, Ph.D. Meier, Reto, Professional Android 4 Applica1on Development. hbp://developer.android.com/guide/topics/sensors/sensors_overview.html hbp://developer.android.com/guide/topics/sensors/sensors_overview.html

More information

Sensors. Marco Ronchetti Università degli Studi di Trento

Sensors. Marco Ronchetti Università degli Studi di Trento 1 Sensors Marco Ronchetti Università degli Studi di Trento Sensor categories Motion sensors measure acceleration forces and rotational forces along three axes. This category includes accelerometers, gravity

More information

Android. Lecture 1. Learning Android Marko Gargenta. Friday, March 22, 13

Android. Lecture 1. Learning Android Marko Gargenta. Friday, March 22, 13 Android Lecture 1 Learning Android Marko Gargenta Final Project Jan/Feb: ARM March: Android Apr: Final project Complexity Sense the world Analysis Service delivery Hands-on A fun project built-up through

More information

Objective. Android Sensors. Sensor Manager Sensor Types Examples. Page 2

Objective. Android Sensors. Sensor Manager Sensor Types Examples. Page 2 Android Sensors Objective Android Sensors Sensor Manager Sensor Types Examples Page 2 Android.hardware Support for Hardware classes with some interfaces Camera: used to set image capture settings, start/stop

More information

! Sensors in Android devices. ! Motion sensors. ! Accelerometer. ! Gyroscope. ! Supports various sensor related tasks

! Sensors in Android devices. ! Motion sensors. ! Accelerometer. ! Gyroscope. ! Supports various sensor related tasks CSC 472 / 372 Mobile Application Development for Android Prof. Xiaoping Jia School of Computing, CDM DePaul University xjia@cdm.depaul.edu @DePaulSWEng Outline Sensors in Android devices Motion sensors

More information

Android app development course

Android app development course Android app development course Unit 7- + Beyond Android Activities. SMS. Audio, video, camera. Sensors 1 SMS We can send an SMS through Android's native client (using an implicit Intent) Intent smsintent

More information

App Development for Smart Devices. Lec #5: Android Sensors

App Development for Smart Devices. Lec #5: Android Sensors App Development for Smart Devices CS 495/595 - Fall 2012 Lec #5: Android Sensors Tamer Nadeem Dept. of Computer Science Objective Working in Background Sensor Manager Examples Sensor Types Page 2 What

More information

Developing Sensor Applications on Intel Atom Processor-Based Android* Phones and Tablets

Developing Sensor Applications on Intel Atom Processor-Based Android* Phones and Tablets Developing Sensor Applications on Intel Atom Processor-Based Android* Phones and Tablets This guide provides application developers with an introduction to the Android Sensor framework and discusses how

More information

Programming Mobile Applications with Android

Programming Mobile Applications with Android Programming Mobile Applications 22-26 September, Albacete, Spain Jesus Martínez-Gómez Introduction to advanced android capabilities Maps and locations.- How to use them and limitations. Sensors.- Using

More information

Using Extensions or Cordova Plugins in your RhoMobile Application Darryn Campbell @darryncampbell

Using Extensions or Cordova Plugins in your RhoMobile Application Darryn Campbell @darryncampbell Using Extensions or Cordova Plugins in your RhoMobile Application Darryn Campbell @darryncampbell Application Architect Agenda Creating a Rho Native Extension on Android Converting a Cordova Plugin to

More information

06 Team Project: Android Development Crash Course; Project Introduction

06 Team Project: Android Development Crash Course; Project Introduction M. Kranz, P. Lindemann, A. Riener 340.301 UE Principles of Interaction, 2014S 06 Team Project: Android Development Crash Course; Project Introduction April 11, 2014 Priv.-Doz. Dipl.-Ing. Dr. Andreas Riener

More information

Obsoleted chapter from The Busy Coder's Guide to Advanced Android Development

Obsoleted chapter from The Busy Coder's Guide to Advanced Android Development CHAPTER 13 "" is Android's overall term for ways that Android can detect elements of the physical world around it, from magnetic flux to the movement of the device. Not all devices will have all possible

More information

E0-245: ASP. Lecture 16+17: Physical Sensors. Dipanjan Gope

E0-245: ASP. Lecture 16+17: Physical Sensors. Dipanjan Gope E0-245: ASP Lecture 16+17: Physical Sensors Module 2: Android Sensor Applications Location Sensors - Theory of location sensing - Package android.location Physical Sensors - Sensor Manager - Accelerometer

More information

jsug.at University of Technology Vienna October 25 th 2010 Android Sensors by Stefan Varga, Michal Kostic touchqode.com

jsug.at University of Technology Vienna October 25 th 2010 Android Sensors by Stefan Varga, Michal Kostic touchqode.com jsug.at University of Technology Vienna October 25 th 2010 Android Sensors by Stefan Varga, Michal Kostic touchqode.com Why sensors? 2 3 4 Applications Resizing screen / tilt Environment adjustment of

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

Android Programming Lecture 18: Menus Sensors 11/11/2011

Android Programming Lecture 18: Menus Sensors 11/11/2011 Android Programming Lecture 18: Menus Sensors 11/11/2011 Simple Menu Example Submenu Example Sensors and Actuators Sensors Sensors provide information about the device and its environment Will ignore camera

More information

CS 403X Mobile and Ubiquitous Computing Lecture 6: Maps, Sensors, Widget Catalog and Presentations Emmanuel Agu

CS 403X Mobile and Ubiquitous Computing Lecture 6: Maps, Sensors, Widget Catalog and Presentations Emmanuel Agu CS 403X Mobile and Ubiquitous Computing Lecture 6: Maps, Sensors, Widget Catalog and Presentations Emmanuel Agu Using Maps Introducing MapView and Map Activity MapView: UI widget that displays maps MapActivity:

More information

( Modified from Original Source at http://www.devx.com/wireless/article/39239 )

( Modified from Original Source at http://www.devx.com/wireless/article/39239 ) Accessing GPS information on your Android Phone ( Modified from Original Source at http://www.devx.com/wireless/article/39239 ) Using Eclipse, create a new Android project and name it GPS.java. To use

More information

Lab 1 (Reading Sensors & The Android API) Week 3

Lab 1 (Reading Sensors & The Android API) Week 3 ECE155: Engineering Design with Embedded Systems Winter 2013 Lab 1 (Reading Sensors & The Android API) Week 3 Prepared by Kirill Morozov version 1.1 Deadline: You must submit the lab to the SVN repository

More information

Introduction to Android Programming. Khuong Vu, Graduate student Computer Science department

Introduction to Android Programming. Khuong Vu, Graduate student Computer Science department Introduction to Android Programming Khuong Vu, Graduate student Computer Science department 1 Content Get started Set up environment Running app on simulator GUI Layouts Event handling Life cycle Networking

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

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

Graduate presentation for CSCI 5448. By Janakiram Vantipalli ( Janakiram.vantipalli@colorado.edu ) Graduate presentation for CSCI 5448 By Janakiram Vantipalli ( Janakiram.vantipalli@colorado.edu ) Content What is Android?? Versions and statistics Android Architecture Application Components Inter Application

More information

Internal Services. CSE 5236: Mobile Application Development Instructor: Adam C. Champion Course Coordinator: Dr. Rajiv Ramnath

Internal Services. CSE 5236: Mobile Application Development Instructor: Adam C. Champion Course Coordinator: Dr. Rajiv Ramnath Internal Services CSE 5236: Mobile Application Development Instructor: Adam C. Champion Course Coordinator: Dr. Rajiv Ramnath 1 Internal Services Communication: Email, SMS and telephony Audio and video:

More information

Mobile applications can benefit from being location-aware This mean to allow application to determine and manipulate location For example:

Mobile applications can benefit from being location-aware This mean to allow application to determine and manipulate location For example: SENSORS Location service Mobile applications can benefit from being location-aware This mean to allow application to determine and manipulate location For example: find stores nead my current location

More information

SENSORS ON ANDROID PHONES. Indian Institute of Technology Kanpur Commonwealth of Learning Vancouver

SENSORS ON ANDROID PHONES. Indian Institute of Technology Kanpur Commonwealth of Learning Vancouver SENSORS ON ANDROID PHONES Indian Institute of Technology Kanpur Commonwealth of Learning Vancouver Keerthi Kumar Samsung Semiconductors Keerthi Kumar IIT Kanpur Keerthi Kumar Overview What are sensors?

More information

Android. Mobile Computing Design and Implementation. Application Components, Sensors. Peter Börjesson

Android. Mobile Computing Design and Implementation. Application Components, Sensors. Peter Börjesson Android Application Components, Sensors Mobile Computing Design and Implementation Peter Börjesson Application Sandbox Android System & Device Data Contacts, Messages, SD Card, Camera, Bluetooth, etc.

More information

PROGRAMMING IN ANDROID. IOANNIS (JOHN) PAPAVASILEIOU OCTOBER 24 2013 papabasile@engr.uconn.edu

PROGRAMMING IN ANDROID. IOANNIS (JOHN) PAPAVASILEIOU OCTOBER 24 2013 papabasile@engr.uconn.edu PROGRAMMING IN ANDROID IOANNIS (JOHN) PAPAVASILEIOU OCTOBER 24 2013 papabasile@engr.uconn.edu WHAT IS IT Software platform Operating system Key apps Developers: Google Open Handset Alliance Open Source

More information

Sensors CS 4720 Web & Mobile Systems

Sensors CS 4720 Web & Mobile Systems Sensors Web & Mobile Systems Sensor Categories Android sensors as separated into one of three broad categories: Motion sensors measure force and rotation Environmental sensors measure parameters such as

More information

How to Convert 3-Axis Directions and Swap X-Y Axis of Accelerometer Data within Android Driver by: Gang Chen Field Applications Engineer

How to Convert 3-Axis Directions and Swap X-Y Axis of Accelerometer Data within Android Driver by: Gang Chen Field Applications Engineer Freescale Semiconductor Application Note Document Number: AN4317 Rev. 0, 08/2011 How to Convert 3-Axis Directions and Swap X-Y Axis of Accelerometer Data within Android Driver by: Gang Chen Field Applications

More information

Designing An Android Sensor Subsystem Pitfalls and Considerations

Designing An Android Sensor Subsystem Pitfalls and Considerations Designing An Android Sensor Subsystem Pitfalls and Considerations Jen Costillo jen@rebelbot.com Simple Choices User experience Battery performance 7/15/2012 Costillo- OSCON 2012 2 Established or Innovative

More information

HP TouchPad Sensor Setup for Android

HP TouchPad Sensor Setup for Android HP TouchPad Sensor Setup for Android Coordinate System The Android device framework uses a 3-axis coordinate system to express data values. For the following HP TouchPad sensors, the coordinate system

More information

Sensors and Cellphones

Sensors and Cellphones Sensors and Cellphones What is a sensor? A converter that measures a physical quantity and converts it into a signal which can be read by an observer or by an instrument What are some sensors we use every

More information

Module 1: Sensor Data Acquisition and Processing in Android

Module 1: Sensor Data Acquisition and Processing in Android Module 1: Sensor Data Acquisition and Processing in Android 1 Summary This module s goal is to familiarize students with acquiring data from sensors in Android, and processing it to filter noise and to

More information

Sensor Fusion Mobile Platform Challenges and Future Directions Jim Steele VP of Engineering, Sensor Platforms, Inc.

Sensor Fusion Mobile Platform Challenges and Future Directions Jim Steele VP of Engineering, Sensor Platforms, Inc. Sensor Fusion Mobile Platform Challenges and Future Directions Jim Steele VP of Engineering, Sensor Platforms, Inc. Copyright Khronos Group 2012 Page 104 Copyright Khronos Group 2012 Page 105 How Many

More information

International Journal of Scientific & Engineering Research, Volume 4, Issue 8, August-2013 1295 ISSN 2229-5518

International Journal of Scientific & Engineering Research, Volume 4, Issue 8, August-2013 1295 ISSN 2229-5518 International Journal of Scientific & Engineering Research, Volume 4, Issue 8, August-2013 1295 HUMAN ACTIVITY RECOGNITION AN ANDROID APPLICATION Abstract Smitha K.S Department of Electronics and Communication,

More information

Motion Sensing with mcube igyro Delivering New Experiences for Motion Gaming and Augmented Reality for Android Mobile Devices

Motion Sensing with mcube igyro Delivering New Experiences for Motion Gaming and Augmented Reality for Android Mobile Devices Motion Sensing with mcube igyro Delivering New Experiences for Motion Gaming and Augmented Reality for Android Mobile Devices MAY 2014 Every high-end smartphone and tablet today contains three sensing

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

WEARIT DEVELOPER DOCUMENTATION 0.2 preliminary release July 20 th, 2013

WEARIT DEVELOPER DOCUMENTATION 0.2 preliminary release July 20 th, 2013 WEARIT DEVELOPER DOCUMENTATION 0.2 preliminary release July 20 th, 2013 The informations contained in this document are subject to change without notice and should not be construed as a commitment by Si14

More information

CSE476 Mobile Application Development. Yard. Doç. Dr. Tacha Serif tserif@cse.yeditepe.edu.tr. Department of Computer Engineering Yeditepe University

CSE476 Mobile Application Development. Yard. Doç. Dr. Tacha Serif tserif@cse.yeditepe.edu.tr. Department of Computer Engineering Yeditepe University CSE476 Mobile Application Development Yard. Doç. Dr. Tacha Serif tserif@cse.yeditepe.edu.tr Department of Computer Engineering Yeditepe University Fall 2015 Yeditepe University 2015 Outline Bluetooth Connectivity

More information

Smartphone-based sensor networks and some statistical challenges: the Earthquake Network Android application

Smartphone-based sensor networks and some statistical challenges: the Earthquake Network Android application Smartphone-based sensor networks and some statistical challenges: the Earthquake Network Android application Francesco Finazzi University of Bergamo 29 November 2013 - University of Glasgow Outline Outline

More information

Pedometer Project 1 Mr. Michaud / www.nebomusic.net

Pedometer Project 1 Mr. Michaud / www.nebomusic.net Mobile App Design Project Pedometer Using Accelerometer Sensor Description: The Android Phone has a three direction accelerometer sensor that reads the change in speed along three axis (x, y, and z). Programs

More information

Charith Pereral, Arkady Zaslavsky, Peter Christen, Ali Salehi and Dimitrios Georgakopoulos (IEEE 2012) Presented By- Anusha Sekar

Charith Pereral, Arkady Zaslavsky, Peter Christen, Ali Salehi and Dimitrios Georgakopoulos (IEEE 2012) Presented By- Anusha Sekar Charith Pereral, Arkady Zaslavsky, Peter Christen, Ali Salehi and Dimitrios Georgakopoulos (IEEE 2012) Presented By- Anusha Sekar Introduction Terms and Concepts Mobile Sensors Global Sensor Networks DAM4GSN

More information

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

An Introduction to Android Application Development. Serdar Akın, Haluk Tüfekçi An Introduction to Android Application Serdar Akın, Haluk Tüfekçi ARDIC ARGE http://www.ardictech.com April 2011 Environment Programming Languages Java (Officially supported) C (Android NDK Needed) C++

More information

Frameworks & Android. Programmeertechnieken, Tim Cocx

Frameworks & Android. Programmeertechnieken, Tim Cocx Frameworks & Android Programmeertechnieken, Tim Cocx Discover thediscover world atthe Leiden world University at Leiden University Software maken is hergebruiken The majority of programming activities

More information

AN APPLYING OF ACCELEROMETER IN ANDROID PLATFORM FOR CONTROLLING WEIGHT

AN APPLYING OF ACCELEROMETER IN ANDROID PLATFORM FOR CONTROLLING WEIGHT AN APPLYING OF ACCELEROMETER IN ANDROID PLATFORM FOR CONTROLLING WEIGHT Sasivimon Sukaphat Computer Science Program, Faculty of Science, Thailand sasivimo@swu.ac.th ABSTRACT This research intends to present

More information

AUTOMATIC HUMAN FREE FALL DETECTION USING ANDROID

AUTOMATIC HUMAN FREE FALL DETECTION USING ANDROID AUTOMATIC HUMAN FREE FALL DETECTION USING ANDROID Mrs.P.Booma devi 1, Mr.S.P.Rensingh Xavier 2 Assistant Professor, Department of EEE, Ratnavel Subramaniam College of Engineering and Technology, Dindigul

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

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

CP3100 - Introduction to Android Mobile Development

CP3100 - Introduction to Android Mobile Development Philippe Leefsma, Philippe.Leefsma@Autodesk.com Autodesk Inc. Developer Technical Services CP3100 Learn how quick and easy it is to start programming for Android devices. We will create from scratch a

More information

UNMANNED AERIAL VEHICLE (UAV) SAFETY SYSTEM USING ANDROID APP

UNMANNED AERIAL VEHICLE (UAV) SAFETY SYSTEM USING ANDROID APP UNMANNED AERIAL VEHICLE (UAV) SAFETY SYSTEM USING ANDROID APP Divya Dwivedi 1, Gurajada Sai Priyanka 2, G Suganthi Brindha 3 G.Elavel.Visuvunathan 4 1,2,3,4 Electronics and Communication Department/ SRM

More information

ECE 455/555 Embedded System Design. Android Programming. Wei Gao. Fall 2015 1

ECE 455/555 Embedded System Design. Android Programming. Wei Gao. Fall 2015 1 ECE 455/555 Embedded System Design Android Programming Wei Gao Fall 2015 1 Fundamentals of Android Application Java programming language Code along with any required data and resource files are compiled

More information

Application Note IMU Visualization Software

Application Note IMU Visualization Software ECE 480 Spring 2013 Team 8 Application Note IMU Visualization Software Name: Alex Mazzoni Date: 04/04/2013 Facilitator: Dr. Aviyente Abstract This application note covers how to use open source software

More information

Detecting User Activities using the Accelerometer on Android Smartphones

Detecting User Activities using the Accelerometer on Android Smartphones Detecting User Activities using the Accelerometer on Android Smartphones Sauvik Das Georgia Institute of Technology LaToya Green University of Houston Beatrice Perez University of Puerto Rico, Mayaguez

More information

Quick Start Guide ActiGraph GT9X Link + ActiLife

Quick Start Guide ActiGraph GT9X Link + ActiLife Quick Start Guide ActiGraph GT9X Link + ActiLife Activity Monitor: ActiGraph GT9X Link Revision: A Released: 11/24/2014 Quick Start Guide ActiGraph GT9X Link + ActiLife Activity Monitor: ActiGraph GT9X

More information

Robot Sensors. Outline. The Robot Structure. Robots and Sensors. Henrik I Christensen

Robot Sensors. Outline. The Robot Structure. Robots and Sensors. Henrik I Christensen Robot Sensors Henrik I Christensen Robotics & Intelligent Machines @ GT Georgia Institute of Technology, Atlanta, GA 30332-0760 hic@cc.gatech.edu Henrik I Christensen (RIM@GT) Sensors 1 / 38 Outline 1

More information

ANDROID. Programming basics

ANDROID. Programming basics ANDROID Programming basics Overview Mobile Hardware History Android evolution Android smartphone overview Hardware components at high level Operative system Android App development Why Android Apps? History

More information

Developing Android Apps for BlackBerry 10. JAM854 Mike Zhou- Developer Evangelist, APAC Nov 30, 2012

Developing Android Apps for BlackBerry 10. JAM854 Mike Zhou- Developer Evangelist, APAC Nov 30, 2012 Developing Android Apps for BlackBerry 10 JAM854 Mike Zhou- Developer Evangelist, APAC Nov 30, 2012 Overview What is the BlackBerry Runtime for Android Apps? Releases and Features New Features Demo Development

More information

Effective Use of Android Sensors Based on Visualization of Sensor Information

Effective Use of Android Sensors Based on Visualization of Sensor Information , pp.299-308 http://dx.doi.org/10.14257/ijmue.2015.10.9.31 Effective Use of Android Sensors Based on Visualization of Sensor Information Young Jae Lee Faculty of Smartmedia, Jeonju University, 303 Cheonjam-ro,

More information

Kathy Au Billy Yi Fan Zhou Department of Electrical and Computer Engineering University of Toronto { kathy.au, billy.zhou }@utoronto.

Kathy Au Billy Yi Fan Zhou Department of Electrical and Computer Engineering University of Toronto { kathy.au, billy.zhou }@utoronto. ECE1778 Project Report Kathy Au Billy Yi Fan Zhou Department of Electrical and Computer Engineering University of Toronto { kathy.au, billy.zhou }@utoronto.ca Executive Summary The goal of this project

More information

Google Android: An Emerging Innovative Software Platform For Mobile Devices

Google Android: An Emerging Innovative Software Platform For Mobile Devices IJIRST International Journal for Innovative Research in Science & Technology Volume 1 Issue 6 November 2014 ISSN (online): 2349-6010 Google Android: An Emerging Innovative Software Platform For Mobile

More information

Tegra Android Accelerometer Whitepaper

Tegra Android Accelerometer Whitepaper Tegra Android Accelerometer Whitepaper Version 5-1 - Contents INTRODUCTION 3 COORDINATE SPACE GLOSSARY 4 ACCELEROMETER CANONICAL AXES 6 WORKING WITH ACCELEROMETER DATA 7 POWER CONSERVATION 10 SUPPORTING

More information

Expert Android Apps Development

Expert Android Apps Development Course Contents: 1. 2D Animations Frame-by-Frame Animation o Planning for Frame-by-Frame Animation o Creating the Activity o Adding Animation to the Activity Layout Animation o Basic Tweening Animation

More information

An Introduction to Android

An Introduction to Android An Introduction to Android Michalis Katsarakis M.Sc. Student katsarakis@csd.uoc.gr Tutorial: hy439 & hy539 16 October 2012 http://www.csd.uoc.gr/~hy439/ Outline Background What is Android Android as a

More information

Selection and Zooming using Android Phone in a 3D Virtual Reality

Selection and Zooming using Android Phone in a 3D Virtual Reality Selection and Zooming using Android Phone in a 3D Virtual Reality Yanko Sabev Director: Prof. Gudrun Klinker (Ph.D.) Supervisors: Amal Benzina Technische Universität München Introduction Human-Computer

More information

An inertial haptic interface for robotic applications

An inertial haptic interface for robotic applications An inertial haptic interface for robotic applications Students: Andrea Cirillo Pasquale Cirillo Advisor: Ing. Salvatore Pirozzi Altera Innovate Italy Design Contest 2012 Objective Build a Low Cost Interface

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

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

類 比 與 MEMS 感 測 器 啟 動 智 慧 新 生 活 The Smart-World Started with ST (Analog, MEMS and Sensors)

類 比 與 MEMS 感 測 器 啟 動 智 慧 新 生 活 The Smart-World Started with ST (Analog, MEMS and Sensors) 類 比 與 MEMS 感 測 器 啟 動 智 慧 新 生 活 The Smart-World Started with ST (Analog, MEMS and Sensors) 郁 正 德 資 深 技 術 行 銷 經 理 意 法 半 導 體 Robert Yu Sr. Technical Marketing Manager STMicroelectronics. laubarnes on flickr

More information

Performance issues in writing Android Apps

Performance issues in writing Android Apps Performance issues in writing Android Apps Octav Chipara The process of developing Android apps problem definition focus: define the problem what is the input/out? what is the criteria for success? develop

More information

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

Develop a Hello World project in Android Studio Capture, process, store, and display an image. Other sensors on Android phones Kuo-Chin Lien Develop a Hello World project in Android Studio Capture, process, store, and display an image on Android phones Other sensors on Android phones If you have been using Eclipse with ADT, be

More information

A DECISION TREE BASED PEDOMETER AND ITS IMPLEMENTATION ON THE ANDROID PLATFORM

A DECISION TREE BASED PEDOMETER AND ITS IMPLEMENTATION ON THE ANDROID PLATFORM A DECISION TREE BASED PEDOMETER AND ITS IMPLEMENTATION ON THE ANDROID PLATFORM ABSTRACT Juanying Lin, Leanne Chan and Hong Yan Department of Electronic Engineering, City University of Hong Kong, Hong Kong,

More information

Use It Free: Instantly Knowing Your Phone Attitude

Use It Free: Instantly Knowing Your Phone Attitude Use It Free: Instantly Knowing Your Phone Attitude Pengfei Zhou, Mo Li Nanyang Technological University, Singapore {pfzhou, limo}@ntu.edu.sg Guobin Shen Microsoft Research, China jackysh@microsoft.com

More information

Digital Field Mapping

Digital Field Mapping Digital Field Mapping It s very easy to get started in the world of digital mapping. Midland Valley has developed two new applications for field geologists: FieldMove Clino for Apple and Android smartphones,

More information

Standardized Scalable Relocatable Context-Aware Middleware for Mobile applications (SCAMMP)

Standardized Scalable Relocatable Context-Aware Middleware for Mobile applications (SCAMMP) Standardized Scalable Relocatable Context-Aware Middleware for Mobile applications (SCAMMP) Fatima Abdallah Faculty of Sciences Lebanese University Beirut, Lebanon Email: f.3abdallah@gmail.com Hassan Sbeity

More information

AN4503 Application note

AN4503 Application note AN4503 Application note Environmental sensors: Hardware abstraction layer for Android Introduction By Lorenzo Sarchi This application note provides guidelines for successfully integrating STMicroelectronics

More information

Acellus Natural 3D Tablet

Acellus Natural 3D Tablet Acellus Natural 3D Tablet Locked Down & Optimized for Use with the Acellus Learning System Acellus Natural 3D Tablet Locked Down & Optimized for Use with the Acellus Learning System Contents I. Quick Start

More information

Managing Android Fragmentation. Carter Jernigan two forty four a.m. LLC

Managing Android Fragmentation. Carter Jernigan two forty four a.m. LLC Managing Android Fragmentation Carter Jernigan two forty four a.m. LLC #1 Android 2.1+ only http://developer.android.com/resources/dashboard/platform-versions.html Only 1.6% of all Android users are running

More information

Utilization aspect oriented approach and local data in the development of adaptive user interface for Android

Utilization aspect oriented approach and local data in the development of adaptive user interface for Android POSTER 2016, PRAGUE MAY 24 1 Utilization aspect oriented approach and local data in the development of adaptive user interface for Android Jiří Šebek 1 Dept. of Comp. Science and Engineering, Czech Technical

More information

Android and OpenGL. Android Smartphone Programming. Matthias Keil. University of Freiburg

Android and OpenGL. Android Smartphone Programming. Matthias Keil. University of Freiburg Android and OpenGL Android Smartphone Programming Matthias Keil Institute for Computer Science Faculty of Engineering 16. Dezember 2013 Outline 1 OpenGL Introduction 2 Displaying Graphics 3 Interaction

More information

A MOTION ACTIVITY MONITOR MONITOR POHYBOVÉ AKTIVITY

A MOTION ACTIVITY MONITOR MONITOR POHYBOVÉ AKTIVITY A MOTION ACTIVITY MONITOR MONITOR POHYBOVÉ AKTIVITY Josef Marek, Ladislav Štěpánek 1 Summary: The paper deals with motion and vital activity monitoring of person in the case of dangerous environment (rescue

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

Making Android Motion Applications Using the Unity 3D Engine

Making Android Motion Applications Using the Unity 3D Engine InvenSense Inc. 1197 Borregas Ave., Sunnyvale, CA 94089 U.S.A. Tel: +1 (408) 988-7339 Fax: +1 (408) 988-8104 Website: www.invensense.com Document Number: Revision: Making Android Motion Applications Using

More information

Des Moines Area Community College

Des Moines Area Community College Des Moines Area Community College Course Information EFFECTIVE FL 2012-01 Acronym/Number MDT 210 Historical Ref Title Android App Development II Credit breakout 3 3 0 0 0 (credit lecture lab practicum

More information

Information regarding the Lockheed F-104 Starfighter F-104 LN-3. An article published in the Zipper Magazine #48. December-2001. Theo N.M.M.

Information regarding the Lockheed F-104 Starfighter F-104 LN-3. An article published in the Zipper Magazine #48. December-2001. Theo N.M.M. Information regarding the Lockheed F-104 Starfighter F-104 LN-3 An article published in the Zipper Magazine #48 December-2001 Author: Country: Website: Email: Theo N.M.M. Stoelinga The Netherlands http://www.xs4all.nl/~chair

More information

Improving Workflow Efficiency using the Trimble R10 with SurePoint. Marco Wuethrich Trimble Applications Specialist

Improving Workflow Efficiency using the Trimble R10 with SurePoint. Marco Wuethrich Trimble Applications Specialist Improving Workflow Efficiency using the Trimble R10 with SurePoint Marco Wuethrich Trimble Applications Specialist Content Trimble SurePoint technology Trimble R10 (1) ebubble, (2) tilt auto-measure and

More information

Android For Java Developers. Marko Gargenta Marakana

Android For Java Developers. Marko Gargenta Marakana Android For Java Developers Marko Gargenta Marakana Agenda Android History Android and Java Android SDK Hello World! Main Building Blocks Debugging Summary History 2005 Google buys Android, Inc. Work on

More information

THESIS. Presented in Partial Fulfillment of the Requirements for the Degree Master of Science in the Graduate School of The Ohio State University

THESIS. Presented in Partial Fulfillment of the Requirements for the Degree Master of Science in the Graduate School of The Ohio State University Source-Code Based Energy Anomalies Diagnosis Algorithm for Android Applications THESIS Presented in Partial Fulfillment of the Requirements for the Degree Master of Science in the Graduate School of The

More information

ELDERLY SUPPORT - ANDROID APPLICATION FOR FALL DETECTION AND TRACKING TEJITHA RUDRARAJU. B.E, Anna University, India, 2011 A REPORT

ELDERLY SUPPORT - ANDROID APPLICATION FOR FALL DETECTION AND TRACKING TEJITHA RUDRARAJU. B.E, Anna University, India, 2011 A REPORT ELDERLY SUPPORT - ANDROID APPLICATION FOR FALL DETECTION AND TRACKING By TEJITHA RUDRARAJU B.E, Anna University, India, 2011 A REPORT Submitted in partial fulfillment of the requirements for the degree

More information

Lecture 1 Introduction to Android

Lecture 1 Introduction to Android These slides are by Dr. Jaerock Kwon at. The original URL is http://kettering.jrkwon.com/sites/default/files/2011-2/ce-491/lecture/alecture-01.pdf so please use that instead of pointing to this local copy

More information

Vibrations can have an adverse effect on the accuracy of the end effector of a

Vibrations can have an adverse effect on the accuracy of the end effector of a EGR 315 Design Project - 1 - Executive Summary Vibrations can have an adverse effect on the accuracy of the end effector of a multiple-link robot. The ability of the machine to move to precise points scattered

More information

USER STATE TRACKING USING SMARTPHONES

USER STATE TRACKING USING SMARTPHONES USER STATE TRACKING USING SMARTPHONES by Mehmet Sönercan Sinan Dinçer Submitted to the Department of Computer Engineering in partial fulfilment of the requirements for the degree of Bachelor of Science

More information