Notice: This page contains information for the legacy Phidget21 Library. Phidget21 is out of support. Bugfixes may be considered on a case by case basis. Phidget21 does not support VINT Phidgets, or new USB Phidgets released after 2020. We maintain a selection of legacy devices for sale that are supported in Phidget21. We recommend that new projects be developed against the Phidget22 Library.
|
OS - Android: Difference between revisions
Line 24: | Line 24: | ||
Google's instructions may be found here: | Google's instructions may be found here: | ||
[http://developer.android.com/sdk/installing.html] | [http://developer.android.com/sdk/installing.html http://developer.android.com/sdk/installing.html] | ||
These instructions information on: | These instructions information on: |
Revision as of 18:29, 31 October 2011
Android is a mobile OS commonly used on smartphones and tablet computers.
Recommended Languages
Android OS programs are written in Java using the Android SDK and the Phidgets library.
Installing Libraries and Drivers
Development for your Android OS Phidget application can occur on Linux, Mac OSX, or Windows.
You will need the following:
- The JDK and Java on your development system
- The Android SDK package for your development system
- See http://developer.android.com/sdk/installing.html
- For 64-bit Linux, you will need the
ia32-libs
package as well
- The Eclipse plug-in for Java development
- http://www.eclipse.org/downloads/ for Windows or MacOS
sudo apt-get install eclipse
for Linux
- The Phidget Libraries for Android
- The Phidget Examples for Android
Step One: Install as per Google's Instructions
Google's instructions may be found here:
http://developer.android.com/sdk/installing.html
These instructions information on:
- Installing the SDK and associated platform emulators
- Connecting the SDK into Eclipse, which is useful for following the example descriptions below
Step Two: Run Google's Hello Android Application
Step Three: Make a Phidget-Based Project
Step Four: Run a Network Phidget Example
Step Five: Run a Directly Attached Phidget Example
This section is for Android 3.1 devices and later only.
Common Problems and Solutions
- List relevant problems from "Common Problems and workarounds" doc
- List common problems for this OS from support forums
Limitations
List any limitations associated with running Phidgets with this OS.