MediaPlayer class, 475
onKeyDown( ) event handler, 483
privacy and priority, 477
process parameter, 478–479
startService( ) method, 476 (see also
startService( ) method)
user interface thread, 483
worker thread, 484
Android virtual devices (AVDs) creation, 9
AHD, 41
Android SDK Manager, 42
APK, 41
Pine SmartWatch
creation, 50, 52
Delete button, 50
Edit button, 49
specifications, 47–48
pre-configured device definition, 44
Animation, 23
Apache OpenOffice, 29
Arrays.xml, 82
Audacity
AMR audio files, 458
digital audio optimization
audio transport controls, 451
non-destructive audio editing, 451
sample rate, 452
warning dialog, 451
downloads links, 448
Edit Metadata Dialog, 454
Export File dialog, 454
FFmpeg/LAME download page, 450
FLAC audio files, 455
HelloUniverse Audio, 450
LADSPA Setup, 449
license agreement, 449
M4A AAC audio file, 457–458
MediaMetadataRetriever Class, 454
MP3 audio file, 456
OggVorbis file, 456
PCM WAV format file, 450, 454
Plug-Ins folder, 448
sample rate and resolution, 453
■ B
Bool.xml, 82
■ C
Cel animation, 354
COder-DECoder (codec), 310
Colors.xml, 82
ContactGalaxy.java, 516
addGalaxyViceroy( ) method, 541
adding <string> tag, 520
Add Permissions,
AndroidManifest, 527
database access, 532
finish( ) method, 534
getContentResolver( ).query( )
method, 535
setOnClickListener( ) method, 533
GridLayout container, 530
HelloUniverse project, 517
MainActivity.java class
Android Contacts utility, 523
Emperor Contact Database, 523
Intent( ) constructor method, 522
MenuItem object, 522
onOptionsItemSelected( ) event, 521
startActivity( ) method, 522
testing, 522
onCreate( ) method, 518
TableLayout container, 529–530
child widgets, 530
setColumnShrinkable( ), 530
<TableLayout parent tag>, 519
XML tag and parameter, 519
Content Providers, 505
Android MediaStore, 514
CalendarContract databases, 514
Contacts database, 510
Content URI, 515–516
DBMS
database columns (fields), 507
database field, 507
high-level procedure, 506
SQL, 508
SQLite, 507
unique key, 508
deprecated databse structures
ContactsContract database, 513
feature-rich database
structures, 511
hardware features, 512
666 Index
Android Service class and thread (cont.)