Download Teach Yourself Android Application Development in 24
Transcript
414
Did you
Know?
APPENDIX A: Configuring Your Android Development Environment
During long debugging sessions, your phone might often go to sleep. To prevent
this from happening, select the option to have the phone stay awake while charging, found in the development settings. You should see this option in the development settings, usually labeled “Stay Awake” or the likes.
Configuring Your Operating System for Device
Debugging
To install and debug Android applications on hardware such as the T-Mobile G1,
Motorola Droid, or Nexus One, you might need to configure your operating system
to access the phone via USB. This is especially true of Windows machines. The
Android SDK ships with drivers for some devices, and you can simply point the
Device Manager at the directory where you installed the Android SDK and then plug
in the phone via USB, and it will show up when you launch an application via
Eclipse.
Notes on Windows Installations
You need to install Android USB drivers. You will find them as one of the packages
in the Android SDK and AVD Manager, under USB Driver Package. Alternatively,
you can download them separately from http://developer.android.com/sdk/
win-usb.html. After you unzip the drivers, connect your phone to your computer via
the USB cable and select the drivers you want to install.
Notes on Mac OS X Installations
On a supported Mac, all you have to do is plug in the USB cable to the Mac and the
device. There is no additional configuration needed.
Notes on Linux OS Installations
Ubuntu Linux installations require a rules file, using the following steps:
1. Log in as root administrator.
2. Create the file /etc/udev/rules.d/50-android.rules.
3a. For Gutsy (7.10)/Hardy (8.04) Ubuntu Linux installations, the file should contain SUBSYSTEM==”usb”, SYSFS{idVendor}==”0bb4”, MODE=”0666”.
3b. For Dapper (6.06) Ubuntu Linux installations, the file should contain SUBSYSTEM==”usb_device”, SYSFS{idVendor}==”0bb4”, MODE=”0666”.
4. Enter chmod a+rx /etc/udev/rules.d/50-android.rules.
Related documents
Mobile Anwendungen mit Android
Android Apps Security
Final Report - EE Senior Design
FinalPaper_Kate - Repository TU Delft
"EasyAccess for Android" Implementation
Black Book - Too Lazy To Type
MASTER THESIS
darktable 1.6 - ftp.uni
Interface adaptative sur la plateforme Android
fulltext - DiVA Portal