A (175)

(Tuis.) #1

event handling, 584
findViewByid( ) method, 586
marsIcon instantiation, 589
planetClockobject, 590
setBackgroundResource( ) method, 588
setOnTouchListener( ) method, 587
FrameLayout class, 559
HelloUniverse project, Eclipse, 557
ImageView, 574
AnalogClock tag, 575
android:layout_margin
parameter, 576–577
android:src parameter, 575
DP layout_margin, 578
FrameLayout container, 581
Graphical Layout Editor tab, 579, 581
virtual device manager, 582
interactivity, 573
MainActivity.java class, 563
AVD manager, 565
Neptune Pine smartwatch, 566
Package Explorer pane, 564
setContentView( ) method, 564
super.onCreate( ) method, 564
virtual device manager, 565
Neptune Pine
bin folder, 567
file storage, 568
removable disk, 569
USB port, 566
Package Explorer pane, 557
workstation USB port, 566
Eclipse ADT
android resources
alternative resources, 78
constants, 81–82
drawable, 79
Java code and XML markup, 77
layout, 80
menus, 80–81
new media assets, 77
property animation, 83
raw data, 83
tween animation, 83
types of, 77
XML files, 83


Android RunTime, 65–66
Android’s Intent class, 55
animation, 57
AVD creation (see Android virtual
devices (AVD) creation)
check for updates menu option, 35
configuration
accept license agreement, 40
Android SDK Manager menu option, 37
Google USB Driver, 39, 41
software repository, 37
content.jar file, 36
content providers, 58
Dalvik VM (DVM), 64
digital audio, 58
digital video, 57
event handling, 55
graphics design, 56
information dialog, 36
Java Programming Primer, 54
launch icon creation
cubic interpolation algorithm, 93
File Export dialog, 94
image scaling algorithm, 91, 96
interpolation algorithm, 92
mainstream types, 84
PNG dialog, 94
resolution density folders, 97
rules, 85
scale image dialog, 92
transparency layer, 85
versions, 84
XCF file format, 96–97
New Android App creation
Android OS theme, 70
Configure Launcher
Icon dialog, 71–72
Configure Project dialog, 70
Create Activity dialog, 72–73
DEX file, 69
File menu, 67
MainActivity.java file, 75, 77
package, 69
Package Explorer pane, 75
Project Name field, 68
SDK, 69
Workspace Launcher dialog, 67

668 Index


EarthTime.APK (cont.)

Free download pdf