R

file 45, 302 raw resources 92 receiver 107

tag 26 RecordHit inserts record into SQLite DB 358 RectShape 227 RefreshJobs 319 relational database built-in 143

RelativeLayout 81, 89 remoting 124 removeProximityAlert 277 Representational State Transfer.

See REST requestLocationUpdates 281 use time parameter carefully 281 resource types 85 Resources 137 raw resources 136 XML resources 137 ResponseHandler 180, 183 REST 168, 189-193 method 190 resource 189 REST-style API 190 uses URL-style approach 187 return 351 RISC 342

RoundRectShape 227 router 171 rpath 350 Run 54

Runnable 77, 235, 322

Safari 8 save 308 SAX 73, 139

XML parser 316 scheme 104 SD card 139, 256

support 127 sdcard path 140 Secure Digital. See SD secure shell 346 Secure Sockets Layer. See SSL select 360 Selman, Daniel 238 sendBroadcast 110 sendDataMessage 207 sendMultipartTextMessage 207 sendTextMessage 207 ServerSocket 174 Service 19, 25-26, 113, 120 background task 114 building 113-117 cleaning up after stopped 124 lifecycle 116, 123 objects 97 onBind 116 onCreate 116 onDestroy 116

Starting vs. binding 122 two purposes 113 service long-running 117 tag 26

Service-bound lifecycle 124 ServiceConnection 114, 121 Service-Oriented Architecture.

See SOA Services two purposes in Android 122 Service-started lifecycle 123 setAudioEncoder 262 setAudioSource 262 setBounds 228 setContentView 62, 87 setContentView method 28 setEmail 308 setlcon 65

setMediaController 256 setNotificationUri 164 setOutputFormat 262 setResult 336 setText 48 Settings 301 setVideoPath 256 SGL 11 shape drawing a rectangle 227 ShapeDrawable 227 SharedPreferences 126, 306, 308 access mode 129 Context 127 Editor 129

MODE_PRIVATE 131 MODE_WORLD_READABLE 131

MODE_WORLD_WRITABLE

131 objects 131 storing with different modes 127 XML files permissions 131 sharedUserld 131, 136 Short Message Service. See SMS ShutterCallback 259 signature electronic 297 JPEG image 301 SIM 196 SIM card store user contacts 198 stored identifiers 197

Simple API for XML. See SAX Simple Object Access Protocol.

See SOAP simulator vs. emulator 52 simulator code with Windows DLLs 52 Slackware 9 smartphones 6

market leaders 8 SMS 16, 206, 212 pdus 210 permissions 209 receiving messages 209 send message to emulator 23 sending message to Android

Emulator 39 sending messages 208 SmsManager 207 SmsMessage 207, 210 SOA 98

SOAP 168, 193, 299 imposes strict rules 187 kSOAP 193 proxy 193 Socket 175, 364 socket server 173 software version 200 Spinner 62-63 Splash Activity 302 splash screen 301, 304 splashhandler 306 SQL 24

statements 155 SQLite 11, 66, 108, 126, 299, 347 built-in database system 143 data types 145 insert, update, and delete data 148 insertion of data 355 query 148 supports

WeatherReporter 127 sqlite3 143, 358 tool 148-149 SQLiteDatabase 147, 161 SQLiteOpenHelper 144 SQLQueryBuilder 164 SSL 298 start routine 352 startActivity 66, 101, 339 method 19

startActivityForResult 66, 308-309, 325 method 19 startDocument 318 startElement 318 starting path 132 startRecording 264 startService 112 startService method 19 state instance 70

pass between activities 66 persistent 70 -static command-line switch 344 -static flag applications self-contained 347 stride 244 String 319 StringBuilder 318 strings.xml 44 stroke 230

Structured Query Language. See

SQL Stub 117 styles 90

helpfulness 91 vs. themes 91 stylus 301, 329

Subscriber Identity Module 196 Sun Microsystems licensing 13 surfaceChanged 241 surfaceCreated 241 surfaceDestroyed 241 SurfaceHolder 241-242 SurfaceView 241 Symbian 8

takePicture 257 TCP 355 reliable 171 sockets 357 TCP port

Daytime Server listens 363 TCP/IP 38, 170 telephony 195, 197

alert based on caller 205 alphabetic keypad 205 application manifest 203 format number 204 intercept call 205 making calls 203

outgoing call 205 permission 200 permissions 203 TelephonyManager 196, 198 telnet 42 testing acceptance-style 380 .text 352

TextView 45, 89, 326, 362 themes vs. styles 91 Thread 75, 234 TimerTask 116, 233 timestamp appending 142 Toast alerts user 212 introducing 212-215 toBundle 326 tool aidl 117

command-line 40 jarsigner 377 tool chain cross compiling 342 Sourcery G++ Lite Edition for ARM 342 toString 314 toXMLString 314, 316 Transport Layer 170 Try/Catch 48

0 0

Post a comment