SetOnItem ClickListenerO method

scores screens adding resources to, 151-152 completed scores screen, 157 defining features of, 100 delays in loading, 158 designing, 149 layout requirements, 150 TabHost control adding tabs to, 155 adding to scores screen, 150 configuring, 155 setting default tab, 155 updating layout of, 152-154 scores.xml file, 152-154 ScoresActivity class, 44 Screen Capture button

(DDMS), 33-34 screen headers, building with RelativeLayout control, 129 screen orientations creating custom layout for landscape mode, 335-337 handling, 339 listening for screen orientation changes, 338, 344

screenshots, taking of emulator or handset, 33-34 SD card images, 38 SDK (Android), 28

defining, 343 detecting programmatically, 343

installing explained, 411 Linux installations, 412 Mac OS X

installations, 412 Windows installations, 411 specifying target SDK, 342 upgrading, 413 versions, 341-342 searching, global search, 361 secure applications, 367 Secure Hash Algorithm

(SHA), 285 security application permissions, 347 copy protection, 406 self-distribution, 402-403 sensor data, reading, 362 SensorManager object, 362 servers application servers, 256-257 availability, checking, 261 uploading data to determining data to send,

277-278 explained, 281 with HTTP GET method,

282-285 with HTTP POST method, 286-288

Service objects creating, 316-317 starting/stopping, 317-318

creating, 316-317 NotificationManager system service, 349 starting/stopping, 317-318 ServiceTestCase class, 380 setAdapter() method, 173 setContentView() method,

54, 268 setCurrentTabByTag()

method, 155 setCurrentText() method, 205-207 setEntity() method, 288 setFactory() method, 204 setImageBitmap() method, 221 setImageDrawable() method,

206-207, 221 setImageResource() method, 221 setImageURI() method, 206,

215, 221-222 setImageViewBitmap()

method, 311 setImageViewResource()

method, 311 setInAnimation() method, 207 setInput() method, 262, 269, 273 setIntent() method, 140 setLayoutAnimation()

method, 122 setNegativeButton() method, 192 setOnClickListener() method,

141, 171 setOnClickPendingIntent()

method, 314 setOnItemClickListener() method, 135, 141

0 0

Post a comment