B

BackgroundTimer activity, 60-61 backing up files, 296

runtime data, 294-296

Backup Manager backing up files, 296

backing up runtime data, 294-296

triggering backup and restore, 296

BackupAgent, 294-296 BackupAgentHelper, 296

BackupManager class, 294-296 bindService() function, 291 BitmapFactory class, 148 Bluetooth accessing wireless networks, 191-193 device vibration, 191 discovering Bluetooth devices, 187 explained, 185-186 opening Bluetooth sockets, 188-191 pairing with bonded Bluetooth devices, 188

turning on, 186-187 BluetoothAdapter, 186 BluetoothClass, 186 BluetoothDevice, 186 BluetoothServerSocket, 186 BluetoothSocket, 186 BMA150, 10 boot image, 3 bootloader, 3 Bosch Sensortec, 10 breakpoints, debugging through, 306 broadcast receivers explained, 69-70

starting services based on broadcasted events, 70-72 broadcasted events, starting services based on, 70-72 BroadcastReceiver, 196 Browser database, 243 browsers, customizing, 204 BuildingMenus activity, 122-124 buttons adding, 36-37, 102-105 customizing, 277-283 defined, 101

playing ring-tone songs on button press, 51-55

CallBack interface, 172 CallLog, 243 camera accessing, 169 customizing, 170-175 CameraApplication activity, 172-175 cameraoverlay.xml file, 170-171 canceling threads, 57-58 capacitive touchscreen technology, 9 Capella Microsystems, Inc., 10 capturing text from EditText objects, 101 ChangeFont activity, 96-97 changing text attributes, 95-98 UI based on stored data, 225-228 charging for applications in Android Market, 20-21 check boxes creating, 105-109 defined, 101

CheckBoxExample activity, 106-107 choosing audio files, 154-157 Chrome OS, 2 ckbox.xml file, 105-106 classes, 186

ActivityLifecycle, 32-33 AlertDialog, 75-76 AsyncTask, 209 AudioExamples, 155-157 AudioExamplesRaw, 161-163 AudioExamplesSP, 164 BackgroundTimer, 60-61 BackupAgent, 294-296 BackupAgentHelper, 296 BackupManager, 294-296

BitmapFactory, 148 BluetoothAdapter, 186 BluetoothClass, 186 BluetoothDevice, 186 BluetoothSocket, 186 BuildingMenus, 122-124 CameraApplication, 172-175 ChangeFont, 96-97 CheckBoxExample, 106-107 ConnectivityManager, 192-193 Constants, 235

CountDownTimerExample, 61-62 DataStorage, 224, 226-227 DataStorageTester, 247-248 Diary, 237-238

DiaryContentProvider, 245-246 DisplayDiaries, 240-242 EdgeDetection, 56-57 EditText, 98-101 Eula, 228-231 FlingExample, 131-132 Geocoder, 258-261 Gestures, 139-140 GoogleSearch, 206-208 HandleMessage, 63-64 HandlerUpdateUi, 93-94, 112-114 HardwareTelephony, 184-185 ImageManipulation, 149-150 ItemizedOverlay, 267 ListActivityExample, 44-46 ListFiles, 151-152 LocationManager, 251 MainActivity, 127 MediaPlayer, 154-157 MediaRecorder playing audio, 154-157 recording audio, 157-158

MenuScreen, 37-38

MultiTouch, 133-135

myanimation, 301-302

MyBandRActiVity, 297-298

MyButton, 279-282

MyDB, 233-234

MyDBhelper, 234-235

MyLocation, 253-255, 256-257, 259260, 261-262, 265-266, 269-273

MyMarkerLayer, 267-268

MyPreferences, 223

myServiceConnection, 291

OpenGlExample, 144-145

OrientationMeasurements, 178-179

PhysicalKeyPress, 119-121

PlayGame, 38-39, 48-49

PressAndPlay, 54-55

ProgrammaticLayout, 91

Pyramid, 140-141

PyramidRenderer, 142-144

renaming, 30

ResponderService, 200-203 rpc, 292-294 rpcService, 289-290 SearchDialogExample, 128 SeekBarEx, 114-115 ShowMyButton, 282-283 ShowNotification, 77-78 SimpleActivity, 68-71 SimpleBroadcastReceiver, 71 SimpleOnGestureListener, 131 SimpleService, 66-67 SimpleService2, 71-72 SimpleWidgetProvider, 73 SmsManager, 195-197 SMSResponder, 198-200

SoundPool, 163-164 SpinnerExample, 111 StartScreen, 46-47 TelephonyApp, 181-182 TelephonyManager, 181-182 testfactorial, 311-312 TouchExamples, 129 TwitterCookBook, 214-215 UpdateAndList, 215-219 Vibrator, 191 WebSettings, 204 Clinton, DeWitt, 210 close() method, 232 CM3602, 10 Color attribute, 80 colors.xml file, 97 commands adb kill-server, 307 adb logcat, 307-309 adb pull, 18 adb push, 18 adb shell, 18

adb shell bmgr backup, 297 adb shell bmgr restore, 297 adb shell bmgr run, 298 adb shell dumpsys, 314-315 adb shell ps, 313 adb shell top, 313 adb start-server, 307 adb uninstall, 18

comments, 12 compare() method, 150 configuring Google Maps, 263-265 Confirm Perspective Switch dialog box, 306 ConnectivityManager class, 192-193 Constants class, 235

Contacts database, 243-244 content providers accessing, 244 creating, 244-249

native databases available as content providers, 243-244 URIs (uniform resource identifiers), 244

contentResolver instance, 244 cookbook.c, 284 countdown timer, 61-62 CountDownTimerExample activity, 61-62 createFromPdu() method, 200 createItem() method, 267 createRfcommSocketToServiceRecordO

method, 190 createScaledBitmap() method, 149 Criteria class, 252 Cupcake, 15 customizing buttons, 277-283 camera, 170-175 views, 277-283 web browsers, 204

Character Building Thought Power

Character Building Thought Power

Character-Building Thought Power by Ralph Waldo Trine. Ralph draws a distinct line between bad and good habits. In this book, every effort is made by the writer to explain what comprises good habits and why every one needs it early in life. It draws the conclusion that habits nurtured in early life concretize into impulses in future for the good or bad of the subject.

Get My Free Ebook


Post a comment