O

Object finalization, 279 Objects, 39-40 OGG audio format, 111 onClick() method, 60, 68 onCommand() method, 254 onConfigurationChanged() method, 116 onCreate() method, 36, 46, 77, 80, 124, 128, 164

onCreate() method (Service), 245, 249 onCreateEngine() method, 246 onCreateOptionsMenu() method, 65, 120 onDestroy() method, 38, 116 onDestroy() method (Service), 245, 250 onDraw() method, 75, 81, 87, 122, 202 calling drawing functions, 89 re-creating screen from scratch, 83 speeding up, 103 onDrawFrame() method, 205, 212

frame rate and, 217 onJsAlert() method, 145 onKeyDown() method, 88, 89, 107 onLocationChanged() method, 166 onOffsetsChanged() method, 253 onOptionsItemSelected() method, 65 onPause() method, 37, 117, 165, 169, 202

onProviderDisabled() method, 166 onProviderEnabled() method, 166 onRestart() method, 38 onRestoreInstanceState() method, 38, 125, 126

onRetainNonConfigurationInstance() method

Publishing to Android Market onRetainNonConfigurationlnstance()

method, 116 onSavelnstanceState() method, 37, 38,

125, 126 onSensorChanged() method, 169 onSizeChanged() method, 81, 82 onStart() method, 37 onStartCommand() method (Service), 245 onStatusChanged() method, 166 onStop() method, 37 onSurfaceCreated() method, 203, 204, 210, 212 onTouchEvent() method, 90, 254 onTrackballEvent() method, 89 onUpdate() method, 241 onupgrade() method, 183 onVisibilityChanged() method, 252 openBrowser() method, 134, 137 openFileInput() method, 126 openFileOutput() method, 126 OpenGL, 198-217 animation, 212-213 cube model, 206-210 fixed- vs. floating-point interface, 209

Hello, Android, 200-202 lighting, 209-212 for live wallpapers, 248 options, disabling/enabling, 204 overview of, 199-200 texture, 212-216 threads in, 202-206 three-dimensional graphics and,

198-199 transparency, 216 versions, 206 OpenGL.java file, 201 OpenGL options GL_BLEND, 204 GL_CULL_FACE, 204 GL_DEPTH_TEST, 204 GL_DlTHER, 204 GL_LIGHT, 204 GL_LlGHTlNG, 204 GL_LlNE_SMOOTH, 204 GL_MULTlSAMPLE, 204 GL_POlNT_SMOOTH, 204 GL_TEXTURE_2D, 204 Openlntents, 171 opennewGameDialog() method, 68

ORDER_BY parameter, SELECT statement, 187

orientation value, android:configChanges, 116

Owens, Mike, 196

0 0

Post a comment