A

About box, 57-62 Accelerometer readings, 170 ACCESS_COARSE_LOCATION permission, 41, 162

ACCESS_FINE_LOCATION permission, 41, 162

ACTION_DOWN event, 227 ACTION_MOVE event, 227 ACTION_POINTER_DOWN event, 227 ACTION_POINTER_UP event, 227 ACTION_UP event, 228 ACTION_VIEW action, 135 Activity, 35, 37, 39 declaring, 60 defining, new, 58 Activity class, 35, 126 Activity Manager, 33 Adapter class, 153 addEvent() method, 186, 194 addJavaScriptInterface() method, 139-147

addPreferencesFromResource() method, 66

ADT (Android Development Toolkit), 20

AlarmManager class, 241

alert() method, 143, 145

AlertDialog class, 57

Alpha values, 74

ALTER TABLE statements, 183

Ambient lighting, 209

Android activity in, 36, 37 architecture of, 30-35 audio formats supported by, 111 benefits of, 130 content providers, 193 installation, 20, 21 Java library support, 280 language, vs. Java, 278

libraries, 31-32 objects, 39-40 OpenGLand, 199 project, basic, 24 resources, 40 screen rotations, 116 sensors, support for, 169 third-party libraries for, 281 threads in, 279 user ID, 127

video formats supported by, 112 windows in, 35-38 Android 1.5 (Cupcake), 13, 26, 32, 110,

112, 169, 175, 202, 233 Android 1.6 (Donut), 13, 128 Android 2.0 (Eclair), 13 Android 2.0.1 (Eclair), 13 Android 2.1 (Eclair MR1), 13, 243 Android 2.2 (FroYo), 13, 25, 26, 69, 128, 206, 221, 257, 268, 269 Android APIs, 259-265 Android AVD Error, 177 android:background attribute, 77 android:configChanges property, 116 Android Developer Forums, 266 Android Development Toolkit (ADT), 20 Android Eclipse plug-in, 103 android.graphics package, 73 android:imeOptions option, 132 android:inputType option, 132 android:installLocation attribute, 269 android:height parameter, 50 android:layout_width parameter, 50 Android Location API, 161-168

sensors and, 168-172 Android Market, publishing to, 35, 271-276 updating published applications, 275

android. media package

Data storage android.media package, 105 Android runtime, 32 Android SDK

Setup programs, 19 Starter Package, 18 Android versions building for multiple, 257-259 list of, 256 Android Virtual Device (AVD), 23, 177 creating, 27 undefined, 25 AndroidManifest.xml file defining widgets, 234 AndroidManifest.xml file, 41, 60, 61, 66, 71, 80, 114, 138, 149, 162, 174, 195, 225, 234, 244, 269 multiversion support, 258 Animation, OpenGL, 212-213 APIs, 259-265 .apk files, 139, 272 Application Framework, 33 Application stack, 35 Applications, 34

Applications and Widgets layer, 34 APPWIDGET_UPDATE message, 239 AppWidgetProvider class, 238-239 Architecture, 30-35

Application Framework, 33 Applications and Widgets layer, 34 Linux kernel, 30 native libraries, 31 ArGB for colors, 73 arrays.xml file, 67, 150 assets directory, 142, 146 Audio, 105-110 Audio formats, supported, 111 AUTOINCREMENT keyword, 180 AVD (Android Virtual Device), 23, 177 creating, 27 undefined, 25

0 0

Post a comment