G

gallery, 227-228 game logic addressing edge cases,

213-214 declaring string literals for question parsing, 209 handling button presses, 211-212 storing questions in hashtable, 210 updating SharedPreferences to include game state settings, 208-209

game screens adding resources to, 200-202 defining features of, 102 designing, 197-200 updating layout of, 202-203 ViewSwitcher controls, 203-204 generating with

ViewFactory, 204-205 ImageSwitcher, 206-207 TextSwitcher, 205 /gen/com.androidbook.droid1/

R.java file, 12 generating bitmaps, 229 Geocoder class, 247 geocoding services, 246-247 gestures, handling, 351-352 GET method, 282-285 getActivity() method, 376 getApplicationContext()

method, 46 getAssets() method, 74 getAttributeValue() method, 157

getBestProvider() method, 244 getCacheDir() method, 359 getCallState() method, 279 getColor() method, 65 getConfiguration() method, 329 getDeviceId() method, 279 getDimension() method, 66 getDir() method, 359 getDrawable() method, 67 getFilesDir() method, 359 getFromLocation() method, 247 getFromLocationName()

method, 247 getIntent() method, 51 getLastKnownLocation()

method, 245 getLatitude() method, 245 getLongitude() method, 245 getNetworkInfo() method, 261 getNetworkType() method, 279 getOwnerActivity() method, 194 getPackageInfo() method, 392 getPhoneType() method, 279 getPreferences() method, 50, 110 getProvider() method, 244 getQuestionImageDrawable()

method, 206 getQuestionImageUrl()

method, 207 getResources() method, 62, 74 getSharedPreferences()

method, 46, 110 getSimOperator() method, 280 getSimOperatorName()

method, 280 getSimSerialNumber() method, 280

getSimState() method, 280 getString() method, 64, 177 getSubscriberId() method, 280 getSystem() method, 63 getSystemService() method, 261,

279, 362-363 getText() method, 168, 176 getVoiceMailNumber()

method, 280 getWidgetData() method, 311 getXml() method, 72, 156 GIFs, animated GIFs, 119 global search, integrating with, 361 Google APIs, 241, 250-251 Google APIs Add-On Reference website, 251 Google App Engine, 256 Google Developer Challenges, 9 Google Maps, 241 Google Open Handset

Alliance, 7-8 graphics android.graphics package, 355 OpenGL ES graphics API, 355

GSM phones, determining, 279-280

0 0

Post a comment