Using the Android Sensor API
|
|
- Winifred Bruce
- 8 years ago
- Views:
Transcription
1 Using the Android Sensor API Juan José Marrón Department of Computer Science & Engineering # Outline Sensors description: - Motion Sensors - Environmental Sensors - Positioning Sensors Android Sensor API SensorTest Application Implementation 2 2 1
2 Sensors Description A sensor is a converter that measures a physical quantity and converts it into a signal which can be read by an observer (person) or by instrument (electronic device). Ex: Thermometer Most Android devices have been manufactured with sensors that measure motion, orientation, and even environmental conditions. Ex: Accelerometers are utilized by the platform to switch from screen vertical to horizontal orientation Some of these sensors are hardware-based and some are softwarebased. Few Android-powered devices have every type of sensor. 3 3 Motion Sensors These sensors measure acceleration forces and rotational forces along three axes. Useful for monitoring device movement, such as tilt, shake, rotation, or swing. This category includes accelerometers, gravity sensors, gyroscopes, and rotational vector sensors. - An acceleration sensor measures the acceleration in m/s2 applied to the device, including the force of gravity - The gyroscope measures the rate or rotation in rad/s around a device's x, y, and z axis
3 Environmental Sensors These sensors measure various environmental parameters, such as ambient air temperature and pressure, illumination, and humidity. This category includes barometers, photometers, and thermometers. Environment sensors are not always available on devices. - The illumination sensor detects the illuminance level and measures the result in lx units 5 5 Position sensors These sensors measure the physical position of a device. They are useful for determining a device's physical position in the world's frame of reference. This category includes orientation sensors and magnetometers. - The orientation sensor lets you monitor the position of a device relative to the earth's frame of reference. (Azimuth, Pitch and Roll) - The geomagnetic field sensor lets you monitor changes in the earth's magnetic field. This sensor provides raw field strength data (in µt) for each of the three coordinate axes
4 Android Sensor API The Sensor API framework is part of the android.hardware package and it hides aspects on how physically are the sensors attached to the device and low other level details. Ex: How to handle interruptions or to read the sensors data. The Sensor framework provides support for hardware features and it allows developers to: - Identify the sensors and their capabilities. - Monitor sensor events. - Handle different sensor configurations. 7 These possibilities are provided through several methods thanks to the implementation of the interfaces: - SensorManager - SensorEvent - Sensor - SensorEventListener 7 Android Sensor API 8 8 4
5 Android Sensor API The functionality of the Sensor API interfaces is: SensorManager Creates an instance of the sensor service. Provides methods for accessing and listing sensors, registering/unregistering sensor event listeners. Also sensor constants to report sensor accuracy, set data acquisition rates, and calibrate sensors. Sensor Creates an instance of a specific sensor. This class provides methods to determine a sensor's capabilities. SensorEvent This class creates a sensor event object, which provides information about: the raw sensor data, the type of sensor that generated the event, the accuracy of the data, and the timestamp for the event. SensorEventListener Creates callback methods that receive notifications when sensor values change or when sensor accuracy changes. 9 9 SensorTest Application Basic example of using the Android Sensor API. SensorTest is a simple unique activity app gathering and showing information of several sensors in a mobile device. Motion Sensors: Accelerometers, gyroscopes Environmental Sensors: Light sensor, proximity sensor, WiFi level and Signal strength detectors Position Sensors: Orientation sensors and magnetometers
6 SensorTest Application Project Structure Source (src) ClientActivity.java Resources (res) Drawable = logo.png Layout = main.xml Values = strings.xml AndroidManifest.xml SensorTest Application AndroidManifest.xml [code] Permissions <uses-permission android:name="android.permission.change_wifi_state"/> <uses-permission android:name="android.permission.change_network_state"/> <uses-permission android:name="android.permission.access_wifi_state"/> Application <application android:icon="@drawable/logo android:label="@string/app_name" > Activity <activity android:name=".clientactivity" android:label="@string/app_name >
7 SensorTest Application Layout - main.xml [code] LinearLayout: <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> TextViews: <TextView android:id="@+id/textview1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/aceleration" /> Buttons ScrollView: <ScrollView android:id="@+id/scrollview1" android:layout_width="fill_parent" android:layout_height="wrap_content" > ListView: <ListView android:id="@+id/wifilistview" android:layout_width="match_parent" android:layout_height="wrap_content" tools:listitem="@android:layout/ simple_list_item_2" > </ListView> SensorTest Application Values Strings.xml [code] Resources <resources> <string name="main"> data Acquisition </string> <string name="app_name">sensors Test</string> <string name="startbutton">start</string> <string name="stopbutton">stop</string> <string name="results">sensor results:</string> <string name="acceleration">acceleration:</string> <string name="orientation">orientation:</string> <string name="gyroscope">gyroscope:</string> <string name="magneticfield">magnetic field:</string> <string name="proximity">proximity:</string> <string name="luminosity">luminosity:</string> <string name="signalstrength">signal strength:</string> <string name="wifilevel">wifi level:</string> </resources>
8 SensorTest Application src ClientActivity.java [code] Imports import android.hardware.sensor; import android.hardware.sensorevent; import android.hardware.sensoreventlistener; import android.hardware.sensormanager; Classes public class ClientActivity extends Activity implements SensorEventListener {... private class SignalStrengthListener extends PhoneStateListener {... private class WifiReceiver extends BroadcastReceiver { Implementation In general to utilize a sensor, the process is as follows: 1. Obtain a reference of the SensorManager provided by the app context via getsystemservice(). 2. Implement the SensorListener interface and registerlistener() to get its notifications in onresume() and unregister in onpause(). 3. The notifications come via onsensorchanged() and onaccuracychanged() having its own unique ID constant to be identified. 4. The sensor values and format we get in onsensorchanged() will depend on the specific sensor
9 Implementation Accelerometer, gyroscope, orientation sensor, magnetometer, proximity and luminosity sensor follow a similar implementation pattern. - Only one SensorManager for handling all of the sensors private SensorManager sensormanager; - Get the SensorManager instance in oncreate() as SENSOR_SERVICE public void oncreate(bundle savedinstancestate) { sensormanager = (SensorManager) getsystemservice(sensor_service); - Register the listener in onresume() protected void onresume() { sensormanager.registerlistener(this, sensormanager.getdefaultsensor(sensor.type_xxxxx), SensorManager.SENSOR_DELAY_GAME); Constants ID: TYPE_ACCELEROMETER, TYPE_ORIENTATION, TYPE_GYROSCOPE, TYPE_PROXIMITY, TYPE_LIGHT, TYPE_MAGNETIC_FIELD Implementation - Receive values in onsensorchanged() Ex: Accelerometer public void onsensorchanged(sensorevent event) { switch (event.sensor.gettype()) { case Sensor.TYPE_ACCELEROMETER: float xa = event.values[0]; float ya = event.values[1]; float za = event.values[2]; String accelerationout = String.format("X: %.2f Y: %.2f Z: %.2f", xa, ya, za); accelerationview.settext(accelerationout); break;
10 Implementation - Receive values in onsensorchanged() Ex: Proximity public void onsensorchanged(sensorevent event) { switch (event.sensor.gettype()) { case Sensor.TYPE_PROXIMITY: float distance = event.values[0]; String proximityout = String.format("%.2f cm", distance); proximityview.settext(proximityout); break; Implementation Signal Strength treatment - Imports import android.telephony.phonestatelistener; import android.telephony.telephonymanager; - TelephonyManager and SignalStrengthListener for handling the reception private TelephonyManager telephonymanager; private SignalStrengthListener signalstrengthlistener; - Get the telephonymanager instance in oncreate() as TELEPHONY_SERVICE public void oncreate(bundle savedinstancestate) { telephonymanager = (TelephonyManager)getSystemService(TELEPHONY_SERVICE); carriername = telephonymanager.getnetworkoperatorname();
11 Implementation - Register the listener in onresume() protected void onresume() { signalstrengthlistener = new SignalStrengthListener(); telephonymanager.listen( signalstrengthlistener,signalstrengthlistener.listen_signal_strengths); - Receive values in method onsignalstrengthschanged() of SignalStrengthListener class public void onsignalstrengthschanged(android.telephony.signalstrength signalstrength) { int strengthamplitude = signalstrength.getgsmsignalstrength(); String strengthsignalout = carriername + String.format(" : %02d /31",strengthAmplitude); signalstrengthview.settext(strengthsignalout); Implementation WiFi Level treatment - Imports import android.net.wifi.scanresult; import android.net.wifi.wifimanager; - WifiManager and WifiReceiver for handling the reception private WifiManager mainwifi; private WifiReceiver receiverwifi; private List<ScanResult> wifilist; - Get the instances in oncreate() as WIFI_SERVICE public void oncreate(bundle savedinstancestate) { mainwifi = (WifiManager) getsystemservice(context.wifi_service); receiverwifi = new WifiReceiver();
12 Implementation - Register the listener in onresume() protected void onresume() { registerreceiver(receiverwifi, new IntentFilter(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION)); - StartScan method for asking for results mainwifi.startscan(); - Receive values in method onreceive() of WifiReceiver class 23 public void onreceive(context c, Intent intent) { wifilist = mainwifi.getscanresults(); Wifi[] wifis = new Wifi[wifiList.size()]; for (int i = 0; i < wifilist.size(); i++){ String WifiID = wifilist.get(i).ssid + " (" + wifilist.get(i).bssid + ")"; wifis[i] = new Wifi( WifiID, wifilist.get(i).level +" dbm"); 23 Implementation Unregister listeners and receivers in onpause() protected void onpause() { sensormanager.unregisterlistener (this, sensormanager.getdefaultsensor(sensor.type_xxxxxx)); unregisterreceiver(receiverwifi); signalstrengthlistener.unregister();
13 Using the Android Sensor API Thank you for your attention # 13
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,
Android Sensor Programming. Weihong Yu
Android Sensor Programming Weihong Yu Sensors Overview The Android platform is ideal for creating innovative applications through the use of sensors. These built-in sensors measure motion, orientation,
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
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
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,
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
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
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
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:
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
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
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
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
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
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
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
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
! 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
( 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
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://
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Programming with Android: System Architecture. Dipartimento di Scienze dell Informazione Università di Bologna
Programming with Android: System Architecture Luca Bedogni Marco Di Felice Dipartimento di Scienze dell Informazione Università di Bologna Outline Android Architecture: An Overview Android Dalvik Java
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
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?
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
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)
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
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
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
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)
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.
Location and Sensors
Location and Sensors Masumi Nakamura Location Manifest android.permission.access_coarse_location android.permission.access_fine_location Package android.location.* LOCATION_SERVICE (LocationManager) context.getsystemservice(context.location_service);
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
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:
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
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
Using the Adafruit Unified Sensor Driver. Created by Kevin Townsend
Using the Adafruit Unified Sensor Driver Created by Kevin Townsend Guide Contents Guide Contents Introduction One Type to Rule Them All Why Is This a Good Thing? Adafruit_Sensor in Detail Standardised
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
Mobilelogging: Assessing Smartphone Sensors for Monitoring Sleep Behaviour
Institute for Visualization and Interactive Systems University of Stuttgart Universitätsstraße 38 D 70569 Stuttgart Student Research Project Nr. 2428 Mobilelogging: Assessing Smartphone Sensors for Monitoring
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
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
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
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
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.
Android Fundamentals 1
Android Fundamentals 1 What is Android? Android is a lightweight OS aimed at mobile devices. It is essentially a software stack built on top of the Linux kernel. Libraries have been provided to make tasks
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
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
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
Android Geek Night. Application framework
Android Geek Night Application framework Agenda 1. Presentation 1. Trifork 2. JAOO 2010 2. Google Android headlines 3. Introduction to an Android application 4. New project using ADT 5. Main building blocks
Fitness Motion Recognition
Fitness Motion Recognition with Android Wear Edward Dale Freeletics Edward Dale, 2015 1 http://www.someecards.com/usercards/viewcard/mjaxmy1hmjiwmwuzmtc4ndgyota1 Edward Dale, 2015 2 Agenda Define scope
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
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
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
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
Android app development course
Android app development course Unit 5- + Enabling inter-app communication. BroadcastReceivers, ContentProviders. App Widgets 1 But first... just a bit more of Intents! Up to now we have been working with
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
App Development for Smart Devices. Lec #4: Services and Broadcast Receivers Try It Out
App Development for Smart Devices CS 495/595 - Fall 2013 Lec #4: Services and Broadcast Receivers Try It Out Tamer Nadeem Dept. of Computer Science Try It Out Example 1 (in this slides) Example 2 (in this
CS297 Report. Accelerometer based motion gestures for Mobile Devices
CS297 Report Accelerometer based motion gestures for Mobile Devices Neel Parikh neelkparikh@yahoo.com Advisor: Dr. Chris Pollett Department of Computer Science San Jose State University Spring 2008 1 Table
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
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
A smartphone based real-time daily activity monitoring system. Shumei Zhang Paul McCullagh Jing Zhang Tiezhong Yu
A smartphone based real-time daily activity monitoring system Shumei Zhang Paul McCullagh Jing Zhang Tiezhong Yu Outline Contribution Background Methodology Experiments Contribution This paper proposes
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,
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
Creating a 2D Game Engine for Android OS. Introduction
Creating a 2D Game Engine for Android OS Introduction This tutorial will lead you through the foundations of creating a 2D animated game for the Android Operating System. The goal here is not to create
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
How to Program an Android Application to Access and Manage the Wi-Fi Capabilities of a Smartphone
ECE 480 DESIGN TEAM 2 How to Program an Android Application to Access and Manage the Wi-Fi Capabilities of a Smartphone Application Note Matt Gottshall 4/1/2011 This application note is designed to teach
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
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
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
Q1. What method you should override to use Android menu system?
AND-401 Exam Sample: Q1. What method you should override to use Android menu system? a. oncreateoptionsmenu() b. oncreatemenu() c. onmenucreated() d. oncreatecontextmenu() Answer: A Q2. What Activity method
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,
Android Programming Tutorial. Rong Zheng
Android Programming Tutorial Rong Zheng Outline What is Android OS Setup your development environment GUI Layouts Activity life cycle Event handling Tasks Intent and broadcast receiver Resource What is
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
Android Programming. Android App. Høgskolen i Telemark Telemark University College. Cuong Nguyen, 2013.06.19
Høgskolen i Telemark Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Android Programming Cuong Nguyen, 2013.06.19 Android App Faculty of Technology,
Creating a List UI with Android. Michele Schimd - 2013
Creating a List UI with Android Michele Schimd - 2013 ListActivity Direct subclass of Activity By default a ListView instance is already created and rendered as the layout of the activity mylistactivit.getlistview();
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
Android Services. Android. Victor Matos
Lesson 22 Android Victor Matos Cleveland State University Notes are based on: Android Developers http://developer.android.com/index.html Portions of this page are reproduced from work created and shared
Admin. Mobile Software Development Framework: Android Activity, View/ViewGroup, External Resources. Recap: TinyOS. Recap: J2ME Framework
Admin. Mobile Software Development Framework: Android Activity, View/ViewGroup, External Resources Homework 2 questions 10/9/2012 Y. Richard Yang 1 2 Recap: TinyOS Hardware components motivated design
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)
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:...
Boardies IT Solutions info@boardiesitsolutions.com Tel: 01273 252487
Navigation Drawer Manager Library H ow to implement Navigation Drawer Manager Library into your A ndroid Applications Boardies IT Solutions info@boardiesitsolutions.com Tel: 01273 252487 Contents Version
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/
Android Application Development - Exam Sample
Android Application Development - Exam Sample 1 Which of these is not recommended in the Android Developer's Guide as a method of creating an individual View? a Create by extending the android.view.view
Jordan Jozwiak November 13, 2011
Jordan Jozwiak November 13, 2011 Agenda Why Android? Application framework Getting started UI and widgets Application distribution External libraries Demo Why Android? Why Android? Open source That means
Hello World! Some code
Embedded Systems Programming Hello World! Lecture 10 Verónica Gaspes www2.hh.se/staff/vero What could an Android hello world application be like? Center for Research on Embedded Systems School of Information
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