Developing apps for Android OS: Develop an app for interfacing Arduino with Android OS for home automation

Size: px
Start display at page:

Download "Developing apps for Android OS: Develop an app for interfacing Arduino with Android OS for home automation"

Transcription

1 Developing apps for Android OS: Develop an app for interfacing Arduino with Android OS for home automation Author: Aron NEAGU Professor: Martin TIMMERMAN

2 Table of contents 1. Introduction.2 2. Android project file structure 2 3. Android development environment.2 4. Cosm (Pachube).8 5. Arduino.9 6. Software Conclusions References Appendix 19

3 1. Introduction The purpose of this document is to present briefly the structure of the Android OS, how to set up the IDE for developing apps, and develop a small application for that runs on an Android capable device. The application is a proof of concept how Android and Arduino can be interfaced together to monitor a wireless sensor network inside a house. The Arduino board acts as a node where multiple sensors can be connected to it, and its role is to send these measurements to an online platform for monitoring sensors, called Pachube. The app on the Android connects to Pachube, and through its API connects to the corresponding data stream to get the sensor readings. Android project file structure An Android project contains multiple files, much more than in the case of a simple Java project. Although Android apps are developed in Java, the interface of an app is created using a set of elements which are defined in XML files. The structure of an Android project is the following: /src all the source files go here /bin output directory of the build. This is where the final *.apk file will reside /gen contains the Java files generated by the ADT, such as the R.java /res contains application resources, such as draw able files, layout files and string values /libs contains private libraries AndroidManifest.xml this control file describes the nature of the application and each of its components. For instance, it can describe: certain qualities about the activities, services, intent receivers and content providers; what permissions are requested, what external libraries are needed; what device features are required; what API levels are supported of requested. Android development environment To start programming and developing applications for the Android OS, one must set up the IDE. In our case, the development environment is Eclipse which runs a plugin for Android called ADT, or Android Development Tools. Also, the Android SDK must be installed. The correct steps are the following: Download and install the Android SDK Download and install the latest SDK tools and platforms using the SDK Manager Download and install the ADT plugin for Eclipse After the IDE is set-up and the app was developed, it needs to be downloaded to a phone. This is done in the following steps:

4 Download and install HTC Sync Connect the Android phone through USB to the PC Download and install the Android SDK 1. Go to and click on the Download the SDK for Windows 2. Run the executable which starts the installer. The installer checks your machine for required tools, such as the proper Java SE Development Kit (JDK) and install if necessary. The installer then saves the Android SDK Tools into a default location. 3. Select Start SDK Manager, and click Finish Download and install the latest SDK tools 1. After the Android SDK is installed the SDK Manager is started 2. The SDK Tools were previously installed, but to develop Android apps, you must install also the SDK Platform Tools, and at least one Android platform 3. After you have selected the Platform Tools and one Android platform, click Install

5 Figure x: The SDK Manager Download and install the ADT plugin 1. Start Eclipse, then select Help -> Install New Software 2. Click Add, in the top right corner 3. In the Add Repository dialog that appear, enter ADT Plugin for the Name and the URL for the Location 4. Click OK 5. In the available Software dialog, select the checkbox next to Developer Tools and click Next 6. In the next window, you ll see a list of the tools to be downloaded. Click Next 7. Read and accept the license agreements, then click Finish 8. When the installation completes, restart Eclipse

6 Figure x: The Install New Software screen for downloading the ADT plugin Configure the ADT plugin: 1. Select Windows -> Preferences to open the Preferences panel 2. Select Android from the left panel 3. For the SDK Location in the main panel, click Browse and locate your downloaded Android SDK directory (such as android-sdk-windows) 4. Click Apply, then OK

7 Figure x: The preferences dialog for configuring the ADT plugin Download and install HTC Sync 1. Go to and press Download 2. Run the executable, which is an installer. Choose the Language and press OK. 3. It might need to install additional software, like MSXML, Adobe AIR and HTC Driver. Press Install 4. Accept the license agreement and press Next 5. For simplicity, choose Complete Setup and press Next, and then Install Connect the Android phone to the PC 1. Using an USB cable connect the phone to the PC

8 2. When the phone prompts you to choose a type of USB connection, tap HTC Sync, and then tap Done 3. Wait for the HTC Sync to recognize your phone. On the Device Setup screen, enter a name for your phone 4. In HTC Sync, click Application Installer 5. Browse for the *.apk file and click OK. Now the app will be copied to the phone Figure x: HTC Sync Cosm Coms, which was formerly known as Pachube, is an online database service allowing developers to connect sensor derived data to the web and build their own applications based on that data. Cosm has become, from its launch in 2008 as Pachube, the main platform for the Internet of Things, and it provides most of its functionality via its Application Programming Interface (API). The API makes it quick and easy to create devices which connect to the Internet of Things. The API defines a couple of concepts:

9 Feed: represents a group of data streams Data stream: represents an individual sensor/device stream within an environment Data point: represents the value at a point in time of a data stream and is simply a key value pair of the timestamp and the value at that time API key: are keys defined for each individual user and allows that user to send feeds to cosm.com site. Arduino The hardware platform that acts as the main node to which all of the sensors connect is an Arduino platform. The advantage of Arduino over other boards is the simplicity of the syntax of the programming language, which is a combination of Wire and Processing. Moreover, the Arduino is open-source and its community is highly active which ensures an ongoing development. Figure x shows the Processing-based development environment (IDE) of Arduino. Figure x: Arduino development environment The Arduino, as stated before, is only a platform that comes in many shapes and size and from different manufacturers. I have used the iboard, an Arduino board from ITeadStudio. The iboard contains an Atmel ATMEGA328P microcontroller, has a slot for SD card storage, an Ethernet port, a socket for XBee

10 module which can optionally add wireless functionality to the board. The iboard also has 8 ports for connecting electronic bricks, like sensors or actuators. Figure x shows the iboard. Figure x: The iboard For the sensor, we used the DHT11 Temperature and Humidity sensor. This sensor features a calibrated digital signal output with the temperature and humidity sensor complex. Humidity calibration coefficients are stored in the devices OTP memory. The sensor s fast response time, use of one wire interface, digital signal output, small size and low power, make this sensor perfect for our implementation. Figure x: DHT11 Temperature and Humidity sensor Software The software that runs on the iboard has the following structure: it reads the data from the sensor, creates a String with these values, connects to Pachube and sends the readings.

11 The first step is to read the sensor and put the values in a String called datastring: // read the sensor temperature: int chk = DHT11.read(DHT11PIN); int sensorreading=dht11.temperature; // convert the data to a String to send it: String datastring = String(sensorReading); // we can append multiple readings to this String if the // pachube feed is set up to handle multiple values: int othersensorreading = DHT11.humidity; datastring += ","; datastring += String(otherSensorReading); The next step is to connect to Pachube and send the data. This is done in the senddata() method. It connects to pchube.com on port 80, with the command client.connect(" 80). Then the number of the feed, as well as the API key is sent to Pachube. In the end the datastring is sent to Pachube.com. // this method makes a HTTP connection to the server: void senddata(string thisdata) { // if there's a successful connection: if (client.connect(" 80)) { Serial.println("connecting..."); // send the HTTP PUT request. // fill in your feed address here: client.print("put /api/44662.csv HTTP/1.1\n"); //44662 is the ID of the pachube feed which can be visualised online client.print("host: // fill in your Pachube API key here: client.print("x-pachubeapikey: nb7598ndoqwhw72mhtlkaql05ur6_svrkznicv7ccxm\n");//api key is the special key, unique to every user client.print("content-length: "); client.println(thisdata.length(), DEC); // last pieces of the HTTP PUT request: client.print("content-type: text/csv\n"); client.println("connection: close\n"); // here's the actual content of the PUT request: client.println(thisdata); // note the time that the connection was made: lastconnectiontime = millis(); else { // if you couldn't make a connection:

12 Serial.println("connection failed"); The code for the Android OS is composed of several activities, or screens. Figure x: The architecture of the software

13 Figure x: The Startup Activity public class StartupActivity extends Activity { /** Called when the activity is first created. public void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); setcontentview(r.layout.startup); public void callmainactivity(view view){ startactivity(new Intent(this, MainActivity.class)); finish();

14 Figure x: The Main Activity public class MainActivity extends ListActivity { public void oncreate(bundle savedinstances){ super.oncreate(savedinstances); protected void onlistitemclick(listview l, View v, int position, long id){ super.onlistitemclick(l, v, position, id); switch(position){ case 0: startactivity(new Intent(this, LightsActivity.class)); break; case 1: startactivity(new Intent(this, TemperatureActivity.class)); break; case 2: startactivity(new Intent(this, HumidityActivity.class)); break; case 3: startactivity(new Intent(this, AdvancedActivity.class)); break; case 4: startactivity(new Intent(this, HelpActivity.class)); break;

15 Figure x: The Lights Activity public class LightsActivity extends Activity{ public void oncreate(bundle savedinstances){ super.oncreate(savedinstances); setcontentview(r.layout.lights); ToggleButton toggle_setalllights=new ToggleButton(this); ToggleButton toggle_livingroom=new ToggleButton(this); ToggleButton toggle_bedroom=new ToggleButton(this); ToggleButton toggle_kitchen=new ToggleButton(this); ToggleButton toggle_bathroom=new ToggleButton(this); toggle_livingroom=(togglebutton)findviewbyid(r.id.toggle_livingroom); toggle_bedroom=(togglebutton)findviewbyid(r.id.toggle_bedroom); toggle_kitchen=(togglebutton)findviewbyid(r.id.toggle_kitchen); toggle_bathroom=(togglebutton)findviewbyid(r.id.toggle_bathroom); toggle_setalllights=(togglebutton)findviewbyid(r.id.toggle_setalllights);

16 Figure x: The Temperature Activity public class TemperatureActivity extends Activity{ public void oncreate(bundle savedinstances){ super.oncreate(savedinstances); setcontentview(r.layout.temperature); TextView temp_name=new TextView(this); TextView temp_value=new TextView(this); temp_name=(textview)findviewbyid(r.id.textview_temperature1_name); temp_value=(textview)findviewbyid(r.id.textview_temperature1_value); try{ Pachube pachube=new Pachube("xfxR_Mu4Npk79Vj0NRv2HwIknt0yJhDb5ausJECZkGY"); Feed feed=new Feed(pachube); feed=pachube.getfeed(44642); ArrayList<Data> array=feed.getdata(); temp_name.settext(array.get(0).gettag()); temp_value.settext(double.tostring(array.get(0).getvalue())); catch(pachubeexception e){system.out.println(e.errormessage);

17 Figure x: The Humidity Activity public class HumidityActivity extends Activity{ public void oncreate(bundle savedinstances){ super.oncreate(savedinstances); setcontentview(r.layout.humidity); TextView hum_name=new TextView(this); TextView hum_value=new TextView(this); hum_name=(textview)findviewbyid(r.id.textview_humidity1_name); hum_value=(textview)findviewbyid(r.id.textview_humidity1_value); try{ Pachube pachube=new Pachube("xfxR_Mu4Npk79Vj0NRv2HwIknt0yJhDb5ausJECZkGY"); Feed feed=new Feed(pachube); feed=pachube.getfeed(44642); ArrayList<Data> array=feed.getdata(); hum_name.settext(array.get(0).gettag()); hum_value.settext(double.tostring(array.get(1).getvalue())); catch(pachubeexception e){system.out.println(e.errormessage);

18 Figure x: The Advanced Activity public class AdvancedActivity extends Activity{ public void oncreate(bundle savedinstances){ super.oncreate(savedinstances); setcontentview(r.layout.advanced); SharedPreferences settings=getsharedpreferences("settings",0); SharedPreferences.Editor prefeditor=settings.edit(); //*************** EditText APIkey=new EditText(this); EditText feed=new EditText(this); APIkey=(EditText)findViewById(R.id.edittext_APIkey); feed=(edittext)findviewbyid(r.id.edittext_feed); prefeditor.putstring("apikey_pref", APIkey.getText().toString()); prefeditor.putstring("feed_pref", feed.gettext().tostring()); prefeditor.commit(); public void callsettriggersactivity(view view){ startactivity(new Intent(this, SetTriggersActivity.class));

19 Conclusions Developing for Android has several downsides. First of all, the lack of a dedicated IDE and thus the requirement to develop in Eclipse means two things: developers who are familiar with Eclipse will have no problem transitioning to developing for Android; on the other hand Eclipse requires some (extensive) configuration so one can develop for Android. This implies not just installing the plugin, but also the Android SDK and platform tools. I have found that setting up was not that straightforward as it seems. Another issue is that Android is a combination of Java development and XML files. The tree structure of an Android project can be overwhelming for a beginner. The XML files contain static elements, like strings, images, animations, so it can be quite hard to figure out what resource goes where. On the other hand, downloading the app to the phone is very easy. The HTC has an app for Windows, called HTC Sync that allows for syncing data between the phone and the PC. The process is as easy as specifying the executable code and click on the Upload button. Pachube had a Java library which supported their platform. However, after being bought by Cosm, they changed the API and the old Java library is unsupported. Now it is impossible to use the current API to communicate from an Android phone with the Cosm platform. References Installing the Eclipse ADT plugin: Installing apps to an Android device: Appendix A Code for Arduino /* This sketch connects a temperature/humidity sensor to Pin A2 on the Iboard 1.0. The board is connected to the internet through the Ethernet port. Equivalent with pin 16 on the datasheet */ #include <dht11.h> //use the special library which comes with the temperature/humidity sensor #include <SPI.h> #include <Ethernet.h> // assign a MAC address for the ethernet controller.

20 byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED; #define DHT11PIN 16 //pin on which the sensor is connected dht11 DHT11; // available IP address on the network // for manual configuration: IPAddress ip(192, 168, 1, 144); // initialize the library instance: EthernetClient client; long lastconnectiontime = 0; // last time you connected to the server, in milliseconds boolean lastconnected = false; // state of the connection last time through the main loop const int postinginterval = 10000; //delay between updates to Pachube.com void setup() { // start serial port: Serial.begin(9600); // give the ethernet module time to boot up: delay(1000); // start the Ethernet connection: if (Ethernet.begin(mac) == 0) { Serial.println("Failed to configure Ethernet using DHCP"); // Configure manually: Ethernet.begin(mac, ip); void loop() { // read the sensor temperature: int chk = DHT11.read(DHT11PIN); int sensorreading=dht11.temperature; // convert the data to a String to send it: String datastring = String(sensorReading); // we can append multiple readings to this String if the // pachube feed is set up to handle multiple values: int othersensorreading = DHT11.humidity; datastring += ","; datastring += String(otherSensorReading); // if there's incoming data from the net connection.

21 // send it out the serial port. This is for debugging // purposes only: if (client.available()) { char c = client.read(); Serial.print(c); // if there's no net connection, but there was one last time // through the loop, then stop the client: if (!client.connected() && lastconnected) { Serial.println(); Serial.println("disconnecting."); client.stop(); // if you're not connected, and ten seconds have passed since // your last connection, then connect again and send data: if(!client.connected() && (millis() - lastconnectiontime > postinginterval)) { senddata(datastring); // store the state of the connection for next time through // the loop: lastconnected = client.connected(); // this method makes a HTTP connection to the server: void senddata(string thisdata) { // if there's a successful connection: if (client.connect(" 80)) { Serial.println("connecting..."); // send the HTTP PUT request. // fill in your feed address here: client.print("put /api/44662.csv HTTP/1.1\n"); //44662 is the ID of the pachube feed which can be visualised online client.print("host: // fill in your Pachube API key here: client.print("x-pachubeapikey: nb7598ndoqwhw72mhtlkaql05ur6_svrkznicv7ccxm\n");//api key is the special key, unique to every user client.print("content-length: "); client.println(thisdata.length(), DEC); // last pieces of the HTTP PUT request: client.print("content-type: text/csv\n"); client.println("connection: close\n"); // here's the actual content of the PUT request: client.println(thisdata);

22 // note the time that the connection was made: lastconnectiontime = millis(); else { // if you couldn't make a connection: Serial.println("connection failed"); Appendix B Code for Android StartupActivity.java package com.domotics; import android.app.activity; import android.content.intent; import android.os.bundle; import android.view.view; public class StartupActivity extends Activity { /** Called when the activity is first created. public void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); setcontentview(r.layout.startup); public void callmainactivity(view view){ startactivity(new Intent(this, MainActivity.class)); finish(); MainActivity.java package com.domotics; /*import java.io.ioexception; import java.net.malformedurlexception; import java.net.url; import org.xmlpull.v1.xmlpullparser; import org.xmlpull.v1.xmlpullparserexception;

23 import org.xmlpull.v1.xmlpullparserfactory;*/ import android.app.listactivity; import android.content.intent; import android.os.bundle; import android.view.view; import android.widget.listview; public class MainActivity extends ListActivity { public void oncreate(bundle savedinstances){ super.oncreate(savedinstances); protected void onlistitemclick(listview l, View v, int position, long id){ super.onlistitemclick(l, v, position, id); switch(position){ case 0: startactivity(new Intent(this, LightsActivity.class)); break; case 1: startactivity(new Intent(this, TemperatureActivity.class)); break; case 2: startactivity(new Intent(this, HumidityActivity.class)); break; case 3: startactivity(new Intent(this, AdvancedActivity.class)); break; case 4: startactivity(new Intent(this, HelpActivity.class)); break; Temperature.java package com.domotics; import java.util.arraylist; import Pachube.Data; import Pachube.Feed; import Pachube.Pachube; import Pachube.PachubeException; import android.app.activity; import android.os.bundle; import android.widget.textview; public class TemperatureActivity extends Activity{

24 public void oncreate(bundle savedinstances){ super.oncreate(savedinstances); setcontentview(r.layout.temperature); TextView temp_name=new TextView(this); TextView temp_value=new TextView(this); temp_name=(textview)findviewbyid(r.id.textview_temperature1_name); temp_value=(textview)findviewbyid(r.id.textview_temperature1_value); try{ Pachube pachube=new Pachube("xfxR_Mu4Npk79Vj0NRv2HwIknt0yJhDb5ausJECZkGY"); Feed feed=new Feed(pachube); feed=pachube.getfeed(44642); ArrayList<Data> array=feed.getdata(); temp_name.settext(array.get(0).gettag()); temp_value.settext(double.tostring(array.get(0).getvalue())); catch(pachubeexception e){system.out.println(e.errormessage); LightsActivity.java package com.domotics; import android.app.activity; import android.os.bundle; import android.view.view; import android.view.view.onclicklistener; import android.widget.togglebutton; public class LightsActivity extends Activity{ public void oncreate(bundle savedinstances){ super.oncreate(savedinstances); setcontentview(r.layout.lights); ToggleButton toggle_setalllights=new ToggleButton(this); ToggleButton toggle_livingroom=new ToggleButton(this); ToggleButton toggle_bedroom=new ToggleButton(this); ToggleButton toggle_kitchen=new ToggleButton(this); ToggleButton toggle_bathroom=new ToggleButton(this); toggle_livingroom=(togglebutton)findviewbyid(r.id.toggle_livingroom); toggle_bedroom=(togglebutton)findviewbyid(r.id.toggle_bedroom); toggle_kitchen=(togglebutton)findviewbyid(r.id.toggle_kitchen); toggle_bathroom=(togglebutton)findviewbyid(r.id.toggle_bathroom); toggle_setalllights=(togglebutton)findviewbyid(r.id.toggle_setalllights); //toggle_setalllights.setonclicklistener(togglelistener); /*private OnClickListener togglelistener=new OnClickListener(){

25 public void onclick(view v){ if(toggle_setalllights.ischecked()){ toggle_livingroom.setchecked(true); toggle_bedroom.setchecked(true); toggle_kitchen.setchecked(true); toggle_bathroom.setchecked(true); ; ; */ HumidityActivity.java package com.domotics; import java.util.arraylist; import Pachube.Data; import Pachube.Feed; import Pachube.Pachube; import Pachube.PachubeException; import android.app.activity; import android.os.bundle; import android.widget.textview; public class HumidityActivity extends Activity{ public void oncreate(bundle savedinstances){ super.oncreate(savedinstances); setcontentview(r.layout.humidity); TextView hum_name=new TextView(this); TextView hum_value=new TextView(this); hum_name=(textview)findviewbyid(r.id.textview_humidity1_name); hum_value=(textview)findviewbyid(r.id.textview_humidity1_value); try{ Pachube pachube=new Pachube("xfxR_Mu4Npk79Vj0NRv2HwIknt0yJhDb5ausJECZkGY"); Feed feed=new Feed(pachube); feed=pachube.getfeed(44642); ArrayList<Data> array=feed.getdata(); hum_name.settext(array.get(0).gettag()); hum_value.settext(double.tostring(array.get(1).getvalue())); catch(pachubeexception e){system.out.println(e.errormessage); AdvancedActivity.java

26 package com.domotics; import android.app.activity; import android.content.intent; import android.content.sharedpreferences; import android.os.bundle; import android.view.view; import android.widget.edittext; import android.widget.textview; public class AdvancedActivity extends Activity{ public void oncreate(bundle savedinstances){ super.oncreate(savedinstances); setcontentview(r.layout.advanced); SharedPreferences settings=getsharedpreferences("settings",0); SharedPreferences.Editor prefeditor=settings.edit(); //*************** EditText APIkey=new EditText(this); EditText feed=new EditText(this); APIkey=(EditText)findViewById(R.id.edittext_APIkey); feed=(edittext)findviewbyid(r.id.edittext_feed); prefeditor.putstring("apikey_pref", APIkey.getText().toString()); prefeditor.putstring("feed_pref", feed.gettext().tostring()); prefeditor.commit(); public void callsettriggersactivity(view view){ startactivity(new Intent(this, SetTriggersActivity.class)); HelpActivity.java package com.domotics; import android.app.activity; import android.os.bundle; public class HelpActivity extends Activity{ public void oncreate(bundle savedinstances){ super.oncreate(savedinstances); setcontentview(r.layout.help);

27 AndroidManifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android=" package="com.domotics" android:versioncode="1" android:versionname="1.0" > <uses-sdk android:minsdkversion="8" /> <uses-permission android:name="android.permission.internet"/> <application android:debuggable="true"> <activity android:name=".startupactivity" > <intent-filter > <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" /> </intent-filter> </activity> <activity android:name=".mainactivity"></activity> <activity android:name=".lightsactivity"></activity> <activity android:name=".temperatureactivity"></activity> <activity android:name=".humidityactivity"></activity> <activity android:name=".advancedactivity"></activity> <activity android:name=".helpactivity"></activity> <activity android:name=".settriggersactivity"></activity> </application> </manifest>

Tutorial #1. Android Application Development Advanced Hello World App

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

More information

How to build your first Android Application in Windows

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

More information

Android Environment SDK

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

More information

Mobile Application Development

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

More information

Android Environment SDK

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

More information

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

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

More information

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

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

More information

Hello World. by Elliot Khazon

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

More information

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

Developing Android Apps: Part 1

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

More information

Getting Started: Creating a Simple App

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

More information

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

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

More information

MMI 2: Mobile Human- Computer Interaction Android

MMI 2: Mobile Human- Computer Interaction Android MMI 2: Mobile Human- Computer Interaction Android Prof. Dr. [email protected] Mobile Interaction Lab, LMU München Android Software Stack Applications Java SDK Activities Views Resources Animation

More information

IOIO for Android Beginners Guide Introduction

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

More information

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

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

More information

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

ECWM511 MOBILE APPLICATION DEVELOPMENT Lecture 1: Introduction to Android

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

More information

Introduction to Android SDK Jordi Linares

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

More information

Android Application Development: Hands- On. Dr. Jogesh K. Muppala [email protected]

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

More information

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

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

More information

Android Java Live and In Action

Android Java Live and In Action Android Java Live and In Action Norman McEntire Founder, Servin Corp UCSD Extension Instructor [email protected] Copyright (c) 2013 Servin Corp 1 Opening Remarks Welcome! Thank you! My promise

More information

Getting Started With Android

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

More information

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

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

More information

www.dragino.com Yun Shield Quick Start Guide VERSION: 1.0 Version Description Date 1.0 Release 2014-Jul-08 Yun Shield Quick Start Guide 1 / 14

www.dragino.com Yun Shield Quick Start Guide VERSION: 1.0 Version Description Date 1.0 Release 2014-Jul-08 Yun Shield Quick Start Guide 1 / 14 Yun Shield Quick Start Guide VERSION: 1.0 Version Description Date 1.0 Release 2014-Jul-08 Yun Shield Quick Start Guide 1 / 14 Index: 1 Introduction... 3 1.1 About this quick start guide... 3 1.2 What

More information

Android Development. Marc Mc Loughlin

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

More information

Chapter 2 Getting Started

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

More information

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

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

More information

Developing NFC Applications on the Android Platform. The Definitive Resource

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

More information

Android 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

Getting Started with Android Development

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

More information

Android 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

4. The Android System

4. The Android System 4. The Android System 4. The Android System System-on-Chip Emulator Overview of the Android System Stack Anatomy of an Android Application 73 / 303 4. The Android System Help Yourself Android Java Development

More information

Basics. Bruce Crawford Global Solutions Manager

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

More information

Board also Supports MicroBridge

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

More information

Installing the Android SDK

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

More information

ANDROID BASED FARM AUTOMATION USING GR-SAKURA

ANDROID BASED FARM AUTOMATION USING GR-SAKURA ANDROID BASED FARM AUTOMATION USING GR-SAKURA INTRODUCTION AND MOTIVATION With the world s population growing day by day, and land resources remaining unchanged, there is a growing need in optimization

More information

OpenCV on Android Platforms

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

More information

Advertiser Campaign SDK Your How-to Guide

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

More information

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

Login with Amazon Getting Started Guide for Android. Version 2.0

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

More information

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

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

More information

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

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

More information

SDK Quick Start Guide

SDK Quick Start Guide SDK Quick Start Guide Table of Contents Requirements...3 Project Setup...3 Using the Low Level API...9 SCCoreFacade...9 SCEventListenerFacade...10 Examples...10 Call functionality...10 Messaging functionality...10

More information

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

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

More information

How To Develop An Android App On An Android Device

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

More information

ID TECH UniMag Android SDK User Manual

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

More information

Fahim Uddin http://fahim.cooperativecorner.com [email protected]. 1. Java SDK

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

More information

Lab 0 (Setting up your Development Environment) Week 1

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

More information

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

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

More information

How to Create an Android Application using Eclipse on Windows 7

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

More information

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

Hacking your Droid ADITYA GUPTA

Hacking your Droid ADITYA GUPTA Hacking your Droid ADITYA GUPTA adityagupta1991 [at] gmail [dot] com facebook[dot]com/aditya1391 Twitter : @adi1391 INTRODUCTION After the recent developments in the smart phones, they are no longer used

More information

Example Connection between USB Host and Android

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

More information

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

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

More information

Tutorial on Basic Android Setup

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

More information

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

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,

More information

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

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

More information

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

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

More information

Getting Started with Android

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

More information

ADT Plugin for Eclipse

ADT Plugin for Eclipse ADT Plugin for Eclipse Android Development Tools (ADT) is a plugin for the Eclipse IDE that is designed to give you a powerful, integrated environment in which to build Android applications. ADT extends

More information

Oracle FLEXCUBE Direct Banking Android Tab Client Installation Guide Release 12.0.3.0.0

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

More information

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

More information

Developing In Eclipse, with ADT

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

More information

Developing Android Applications Introduction to Software Engineering Fall 2015. Updated 7 October 2015

Developing Android Applications Introduction to Software Engineering Fall 2015. Updated 7 October 2015 Developing Android Applications Introduction to Software Engineering Fall 2015 Updated 7 October 2015 Android Lab 1 Introduction to Android Class Assignment: Simple Android Calculator 2 Class Plan Introduction

More information

CSE476 Mobile Application Development. Yard. Doç. Dr. Tacha Serif [email protected]. 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 [email protected] Department of Computer Engineering Yeditepe University Fall 2015 Yeditepe University 2015 Outline Dalvik Debug

More information

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

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

More information

Building Your First App

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

More information

Basic Android Setup. 2014 Windows Version

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

More information

Android, Bluetooth and MIAC

Android, 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 information

Jordan Jozwiak November 13, 2011

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

More information

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

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

More information

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

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

More information

Android Tutorial. Larry Walters OOSE Fall 2011

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

More information

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

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

More information

TUTORIAL 3 :: ETHERNET SHIELD AND TWITTER.COM

TUTORIAL 3 :: ETHERNET SHIELD AND TWITTER.COM TUTORIAL 3 :: ETHERNET SHIELD AND TWITTER.COM Pachube.com orchestrates a global, open-source network of Inputs and Outputs. However, as an infrastructure it is limited in two major ways: 1) you can t carry

More information

Running a Program on an AVD

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

More information

Developing an Android App. CSC207 Fall 2014

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

More information

Mocean Android SDK Developer Guide

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

More information

Università Degli Studi di Parma. Distributed Systems Group. Android Development. Lecture 2 Android Platform. Marco Picone - 2012

Università Degli Studi di Parma. Distributed Systems Group. Android Development. Lecture 2 Android Platform. Marco Picone - 2012 Android Development Lecture 2 Android Platform Università Degli Studi di Parma Lecture Summary 2 The Android Platform Dalvik Virtual Machine Application Sandbox Security and Permissions Traditional Programming

More information

SIM900 Eclipse environment install Application Note_V1.00

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

More information

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

TUTORIALS AND QUIZ ANDROID APPLICATION SANDEEP REDDY PAKKER. B. Tech in Aurora's Engineering College, 2013 A REPORT

TUTORIALS AND QUIZ ANDROID APPLICATION SANDEEP REDDY PAKKER. B. Tech in Aurora's Engineering College, 2013 A REPORT TUTORIALS AND QUIZ ANDROID APPLICATION by SANDEEP REDDY PAKKER B. Tech in Aurora's Engineering College, 2013 A REPORT submitted in partial fulfillment of the requirements for the degree MASTER OF SCIENCE

More information

Android (2009.12.30) Frank Ducrest

Android (2009.12.30) Frank Ducrest Android (2009.12.30) Frank Ducrest Android 2 Android mobile operating system based on a monolithic Linux kernel (all OS operations take place in the kernel space) suited to Java apps by design (Dalvik

More information

Android Setup Phase 2

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

More information

Android Services. Services

Android Services. Services Android Notes are based on: Android Developers http://developer.android.com/index.html 22. Android Android A Service is an application component that runs in the background, not interacting with the user,

More information

Arduino Internet Connectivity: Maintenance Manual Julian Ryan Draft No. 7 April 24, 2015

Arduino Internet Connectivity: Maintenance Manual Julian Ryan Draft No. 7 April 24, 2015 Arduino Internet Connectivity: Maintenance Manual Julian Ryan Draft No. 7 April 24, 2015 CEN 4935 Senior Software Engineering Project Instructor: Dr. Janusz Zalewski Software Engineering Program Florida

More information

J A D E T U TO R I A L

J A D E T U TO R I A L J A D E T U TO R I A L J A D E P R O G R A M M I N G F O R A N D R O I D USAGE RESTRICTED ACCORDING TO LICENSE AGREEMENT. last update: 14 June 2012. JADE 4.2.0 Authors: Giovanni Caire (Telecom Italia S.p.A.)

More information

Android: How To. Thanks. Aman Nijhawan

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

More information

IRF2000 IWL3000 SRC1000 Application Note - Develop your own Apps with OSGi - getting started

IRF2000 IWL3000 SRC1000 Application Note - Develop your own Apps with OSGi - getting started Version 2.0 Original-Application Note ads-tec GmbH IRF2000 IWL3000 SRC1000 Application Note - Develop your own Apps with OSGi - getting started Stand: 28.10.2014 ads-tec GmbH 2014 IRF2000 IWL3000 SRC1000

More information

Introduction to Android Programming (CS5248 Fall 2015)

Introduction to Android Programming (CS5248 Fall 2015) Introduction to Android Programming (CS5248 Fall 2015) Aditya Kulkarni ([email protected]) August 26, 2015 *Based on slides from Paresh Mayami (Google Inc.) Contents Introduction Android

More information

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

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

More information

Android Programming Basics

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

More information

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

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

More information