SINGAPORE
Law
Welcome Guest | Login
SEARCH
Advanced
Android Cookbook: Darwin, Ian F.: BOOKS KINOKUNIYA
Book Details
Android Cookbook
Android Cookbook
Published Date : 2012/04
Binding : Paperback
ISBN : 9781449388416

BookWeb Price : S$ 82.38
Kinokuniya Privilege Card member price : S$ 74.14

Availability Status : In stock at the Fulfillment Centre.
Usually dispatches within 5 working days.
Language : English
Stock Information
Store Shelf Location Click here Stock
Singapore Main Store H10-02 Map
Liang Court Store -
Bugis Junction Store -
Important
  • While every attempt has been made to ensure stock availability, occasionally we do run out of stock at our stores.
  • Retail store and online prices may vary.
  • To confirm availability and pricing, please call the store directly.
Retail Store Contact Details and Operating Hours

Book Description
Source: ENG
Academic Descriptors: A91420000 A93603238
Place of Publication: United States
Textual Format: Computer Applications
Academic Level: Extracurricular
Review:
Baker & Taylor Best-seller Computer Titles - January 2002 - Ongoing
Baker & Taylor Best-seller And Forthcoming Computer Titles - January 2000 - Ongoing
Phoenix Public Library Holdings (Internal Code for CLS)
Table of Contents
 
Preface                                            xiii
    1 Getting Started                              1   (62)
      1.1 Introduction: Getting Started            1   (1)
      1.2 Learning the Java Language               1   (2)
      1.3 Creating a "Hello, World" Application    3   (3)
      from the Command Line
      1.4 Creating a "Hello, World" Application    6   (7)
      in Eclipse
      1.5 Setting Up an IDE on Windows to          13  (7)
      Develop for Android
      1.6 Understanding the Android Life Cycle     20  (1)
      1.7 Installing apk Files onto an Emulator    21  (1)
      via the ADB
      1.8 Installing Apps onto an Emulator via     22  (1)
      SlideME
      1.9 Sharing Java Classes from Another        23  (3)
      Eclipse Project
      1.10 Referencing Libraries to Implement      26  (3)
      External Functionality
      1.11 Using SDK Samples to Help Avoid Head    29  (3)
      Scratching
      1.12 Keeping the Android SDK Updated         32  (7)
      1.13 Taking a Screenshot from the            39  (2)
      Emulator/Android Device
      1.14 Program: A Simple CountDown Timer       41  (3)
      Example
      1.15 Program: Tipster, a Tip Calculator      44  (19)
      for the Android OS
    2 Designing a Successful Application           63  (40)
      2.1 Introduction: Designing a Successful     63  (3)
      Android Application
      2.2 Exception Handling                       66  (3)
      2.3 Accessing Android's Application          69  (2)
      Object as a "Singleton"
      2.4 Keeping Data When the User Rotates       71  (3)
      the Device
      2.5 Monitoring the Battery Level of an       74  (1)
      Android Device
      2.6 Creating Splash Screens in Android       75  (4)
      2.7 Designing a                              79  (2)
      Conference/Camp/Hackathon/Institution App
      2.8 Using Google Analytics in an Android     81  (2)
      Application
      2.9 A Simple Torch/Flashlight                83  (3)
      2.10 Adapting an Android Phone               86  (2)
      Application to Be Used on a Tablet
      2.11 Setting First-Run Preferences           88  (1)
      2.12 Formatting the Time and Date for        89  (2)
      Display
      2.13 Controlling Input with KeyListeners     91  (4)
      2.14 Backing Up Android Application Data     95  (6)
      2.15 Using Hints Instead of Tool Tips        101 (2)
    3 Testing                                      103 (38)
      3.1 Introduction: Testing                    103 (1)
      3.2 Doing Test-Driven Development (TDD)      103 (1)
      in Android
      3.3 Setting Up an Android Virtual Device     104 (9)
      (AVD) for App Testing
      3.4 Testing on a Huge Range of Devices       113 (1)
      with Cloud-based Testing
      3.5 Creating and Using a Test Project        114 (4)
      3.6 Troubleshooting Application Crashes      118 (4)
      3.7 Debugging Using Log.d and LogCat         122 (1)
      3.8 Getting Bug Reports from Users           123 (2)
      Automatically with BugSense
      3.9 Using a Local Runtime Application Log    125 (4)
      for Analysis of Field Errors or Situations
      3.10 Reproducing Activity Life-Cycle         129 (5)
      Scenarios for Testing
      3.11 Keeping Your App Snappy with            134 (1)
      StrictMode
      3.12 Running the Monkey Program              135 (2)
      3.13 Sending Text Messages and Placing       137 (4)
      Calls Between AVDs
    4 Inter-/Intra-Process Communication           141 (32)
      4.1 Introduction: Inter-/Intra-Process       141 (1)
      Communication
      4.2 Opening a Web Page, Phone Number, or     142 (1)
      Anything Else with an Intent
      4.3 Emailing Text from a View                143 (3)
      4.4 Sending an Email with Attachments        146 (1)
      4.5 Pushing String Values Using              147 (2)
      Intent.putExtra()
      4.6 Retrieving Data from a Subactivity       149 (2)
      Back to Your Main Activity
      4.7 Keeping a Service Running While Other    151 (2)
      Apps Are on Display
      4.8 Sending/Receiving a Broadcast Message    153 (1)
      4.9 Starting a Service After Device Reboot   154 (1)
      4.10 Creating a Responsive Application       155 (2)
      Using Threads
      4.11 Using Async Task to Do Background       157 (8)
      Processing
      4.12 Sending Messages Between Threads        165 (2)
      Using an Activity Thread Queue and Handler
      4.13 Creating an Android Epoch               167 (6)
      HTML/JavaScript Calendar
    5 Content Providers                            173 (10)
      5.1 Introduction: Content Providers          173 (1)
      5.2 Retrieving Data from a Content           173 (2)
      Provider
      5.3 Writing a Content Provider               175 (2)
      5.4 Writing an Android Remote Service        177 (6)
    6 Graphics                                     183 (56)
      6.1 Introduction: Graphics                   183 (1)
      6.2 Using a Custom Font                      183 (3)
      6.3 Drawing a Spinning Cube with OpenGL ES   186 (4)
      6.4 Adding Controls to the OpenGL            190 (3)
      Spinning Cube
      6.5 Freehand Drawing Smooth Curves           193 (6)
      6.6 Taking a Picture Using an Intent         199 (2)
      6.7 Taking a Picture Using                   201 (3)
      android.media.Camera
      6.8 Scanning a Barcode or QR Code with       204 (4)
      the Google ZXing Barcode Scanner
      6.9 Using AndroidPlot to Display Charts      208 (2)
      and Graphs
      6.10 Using Inkscape to Create an Android     210 (7)
      Launcher Icon
      6.11 Creating Easy Launcher Icons from       217 (7)
      OpenClipArt.org Using Paint.NET
      6.12 Using Nine Patch Files                  224 (3)
      6.13 Creating HTML5 Charts with Android      227 (4)
      RGraph
      6.14 Adding a Simple Raster Animation        231 (3)
      6.15 Using Pinch to Zoom                     234 (5)
    7 Graphical User Interface                     239 (90)
      7.1 Introduction: GUI                        239 (1)
      7.2 Understanding and Following User         240 (2)
      Interface Guidelines
      7.3 Handling Configuration Changes by        242 (3)
      Decoupling the View from the Model
      7.4 Creating a Button and Its Click Event    245 (1)
      Listener
      7.5 Wiring Up an Event Listener in Five      246 (4)
      Different Ways
      7.6 Using CheckBoxes and RadioButtons        250 (4)
      7.7 Enhancing UI Design Using Image          254 (2)
      Buttons
      7.8 Offering a Drop-Down Chooser via the     256 (2)
      Spinner Class
      7.9 Handling Long-Press/Long-Click Events    258 (1)
      7.10 Displaying Text Fields with TextView    259 (1)
      and EditText
      7.11 Constraining EditText Values with       260 (3)
      Attributes and the Text Watcher Interface
      7.12 Implementing AutoCompleteTextView       263 (2)
      7.13 Feeding AutoCompleteTextView Using      265 (2)
      an SQLite Database Query
      7.14 Turning Edit Fields into Password       267 (1)
      Fields
      7.15 Changing the Enter Key to "Next" on     268 (2)
      the Soft Keyboard
      7.16 Processing Key-Press Events in an       270 (2)
      Activity
      7.17 Let Them See Stars: Using RatingBar     272 (4)
      7.18 Making a View Shake                     276 (1)
      7.19 Providing Haptic Feedback               277 (4)
      7.20 Navigating Different Activities         281 (2)
      Within a TabView
      7.21 Creating a Custom Title Bar             283 (2)
      7.22 Formatting Numbers                      285 (4)
      7.23 Formatting with Correct Plurals         289 (3)
      7.24 Starting a Second Screen from the       292 (9)
      First
      7.25 Creating a Loading Screen That Will     301 (2)
      Appear Between Two Activities
      7.26 Using SlidingDrawer to Overlap Other    303 (2)
      Components
      7.27 Customizing the SlidingDrawer           305 (2)
      Component to Animate/Transition from the
      Top Down
      7.28 Adding a Border with Rounded Corners    307 (2)
      to a Layout
      7.29 Detecting Gestures in Android           309 (7)
      7.30 Building a UI Using Android 3.0         316 (5)
      Fragments in Android 1.6 and Later
      7.31 Using the Android 3.0 Photo Gallery     321 (3)
      7.32 Creating a Simple App Widget            324 (5)
    8 GUI Alerts: Menus, Dialogs, Toasts, and      329 (32)
    Notifications
      8.1 Introduction: GUI Alerts                 329 (1)
      8.2 Creating and Displaying a Menu           330 (1)
      8.3 Handling Choice Selection in a Menu      331 (2)
      8.4 Creating a Submenu                       333 (3)
      8.5 Creating a Pop-up/Alert Dialog           336 (2)
      8.6 Using a Timepicker Widget                338 (2)
      8.7 Creating an iPhone-like Wheel Picker     340 (3)
      for Selection
      8.8 Creating a Tabbed Dialog                 343 (3)
      8.9 Creating a ProgressDialog                346 (1)
      8.10 Creating a Custom Dialog with           347 (2)
      Buttons, Images, and Text
      8.11 Creating a Reusable About Box Class     349 (4)
      8.12 Customizing the Appearance of a Toast   353 (1)
      8.13 Creating a Notification in the          354 (7)
      Status Bar
    9 GUI: ListView                                361 (26)
      9.1 Introduction: ListView                   361 (1)
      9.2 Building List-Based Applications with    361 (5)
      ListView
      9.3 Creating a "No Data" View for            366 (1)
      ListViews
      9.4 Creating an Advanced ListView with       367 (5)
      Images and Text
      9.5 Using Section Headers in ListViews       372 (5)
      9.6 Keeping the ListView with the User's     377 (1)
      Focus
      9.7 Writing a Custom List Adapter            377 (4)
      9.8 Handling Orientation Changes: From       381 (6)
      ListView Data Values to Landscape Charting
    10 Multimedia                                  387 (20)
      10.1 Introduction: Multimedia                387 (1)
      10.2 Playing a YouTube Video                 387 (1)
      10.3 Using the Gallery with the              388 (3)
      ImageSwitcher View
      10.4 Capturing Video Using MediaRecorder     391 (3)
      10.5 Using Android's Face Detection          394 (4)
      Capability
      10.6 Playing Audio from a File               398 (2)
      10.7 Playing Audio Without Interaction       400 (2)
      10.8 Using Speech to Text                    402 (1)
      10.9 Making the Device Speak with            403 (4)
      Text-to-Speech
    11 Data Persistence                            407 (38)
      11.1 Introduction: Data Persistence          407 (1)
      11.2 Getting File Information                407 (4)
      11.3 Reading a File Shipped with the App     411 (2)
      Rather Than in the Filesystem
      11.4 Listing a Directory                     413 (1)
      11.5 Getting Total and Free Space            414 (1)
      Information About the SD Card
      11.6 Providing User Preference Activity      415 (4)
      with Minimal Effort
      11.7 Checking the Consistency of Default     419 (2)
      Shared Preferences
      11.8 Performing Advanced Text Searches       421 (6)
      11.9 Creating an SQLite Database in an       427 (1)
      Android Application
      11.10 Inserting Values into an SQLite        428 (1)
      Database
      11.11 Loading Values from an Existing        428 (1)
      SQLite Database
      11.12 Working with Dates in SQLite           429 (3)
      11.13 Parsing JSON Using JSONObject          432 (1)
      11.14 Parsing an XML Document Using the      433 (2)
      DOM API
      11.15 Parsing an XML Document Using an       435 (4)
      XmlPullParser
      11.16 Adding a Contact                       439 (3)
      11.17 Reading Contact Data                   442 (3)
    12 Telephone Applications                      445 (26)
      12.1 Introduction: Telephone Applications    445 (1)
      12.2 Doing Something When the Phone Rings    445 (4)
      12.3 Processing Outgoing Phone Calls         449 (4)
      12.4 Dialing the Phone                       453 (1)
      12.5 Sending Single-Part or Multipart SMS    454 (3)
      Messages
      12.6 Receiving an SMS Message in an          457 (1)
      Android Application
      12.7 Using Emulator Controls to Send SMS     458 (1)
      Messages to the Emulator
      12.8 Using Android's TelephonyManager to     459 (12)
      Obtain Device Information
    13 Networked Applications                      471 (14)
      13.1 Introduction: Networking                471 (1)
      13.2 Using a RESTful Web Service             472 (2)
      13.3 Extracting Information from             474 (2)
      Unstructured Text Using Regular
      Expressions
      13.4 Parsing RSS/Atom Feeds Using ROME       476 (5)
      13.5 Using MD5 to Digest Clear Text          481 (1)
      13.6 Converting Text into Hyperlinks         481 (1)
      13.7 Accessing a Web Page Using WebView      482 (2)
      13.8 Customizing a WebView                   484 (1)
    14 Gaming and Animation                        485 (12)
      14.1 Introduction: Gaming and Animation      485 (1)
      14.2 Building an Android Game Using          486 (3)
      flixel-android
      14.3 Building an Android Game Using          489 (6)
      AndEngine (Android-Engine)
      14.4 Processing Timed Keyboard Input         495 (2)
    15 Social Networking                           497 (6)
      15.1 Introduction: Social Networking         497 (1)
      15.2 Integrating Social Networking Using     497 (3)
      HTTP
      15.3 Loading a User's Twitter Timeline       500 (3)
      Using JSON
    16 Location and Map Applications               503 (56)
      16.1 Introduction: Location-Aware            503 (1)
      Applications
      16.2 Getting Location Information            503 (2)
      16.3 Accessing GPS Information in Your       505 (3)
      Application
      16.4 Mocking GPS Coordinates on a Device     508 (2)
      16.5 Using Geocoding and Reverse Geocoding   510 (1)
      16.6 Getting Ready for Google Maps           511 (6)
      Development
      16.7 Adding a Device's Current Location      517 (2)
      to Google Maps
      16.8 Drawing a Location Marker on a          519 (4)
      Google MapView
      16.9 Drawing Multiple Location Markers on    523 (5)
      a MapView
      16.10 Creating Overlays for a Google         528 (1)
      MapView
      16.11 Changing Modes of a Google MapView     529 (1)
      16.12 Drawing an Overlay Icon Without        530 (5)
      Using a Drawable
      16.13 Implementing Location Search on        535 (2)
      Google Maps
      16.14 Placing a MapView Inside a TabView     537 (4)
      16.15 Handling a Long-Press in a MapView     541 (3)
      16.16 Using OpenStreetMap                    544 (3)
      16.17 Creating Overlays in OpenStreetMap     547 (3)
      Maps
      16.18 Using a Scale on an OpenStreetMap      550 (1)
      Map
      16.19 Handling Touch Events on an            551 (3)
      OpenStreetMap Overlay
      16.20 Getting Location Updates with          554 (5)
      OpenStreetMap Maps
    17 Accelerometer                               559 (10)
      17.1 Introduction: Sensors                   559 (1)
      17.2 Checking for the Presence or Absence    560 (1)
      of a Sensor
      17.3 Using the Accelerometer to Detect       561 (3)
      Shaking of the Device
      17.4 Checking Whether a Device Is Facing     564 (1)
      Up or Facing Down Based on Screen
      Orientation Using an Accelerometer
      17.5 Finding the Orientation of an           565 (2)
      Android Device Using an Orientation Sensor
      17.6 Reading the Temperature Sensor          567 (2)
    18 Bluetooth                                   569 (8)
      18.1 Introduction: Bluetooth                 569 (1)
      18.2 Enabling Bluetooth and Making the       569 (2)
      Device Discoverable
      18.3 Connecting to a Bluetooth-Enabled       571 (3)
      Device
      18.4 Listening for and Accepting             574 (1)
      Bluetooth Connection Requests
      18.5 Implementing Bluetooth Device           575 (2)
      Discovery
    19 System and Device Control                   577 (10)
      19.1 Introduction: System and Device         577 (1)
      Control
      19.2 Accessing Phone Network/Connectivity    577 (1)
      Information
      19.3 Obtaining Information from the          578 (1)
      Manifest File
      19.4 Changing Incoming Call Notification     579 (2)
      to Silent, Vibrate, or Normal
      19.5 Copying Text and Getting Text from      581 (1)
      the Clipboard
      19.6 Using LED-Based Notifications           582 (1)
      19.7 Making the Device Vibrate               583 (1)
      19.8 Running Shell Commands from Your        584 (2)
      Application
      19.9 Determining Whether a Given             586 (1)
      Application Is Running
    20 Other Programming Languages and             587 (24)
    Frameworks
      20.1 Introduction: Other Programming         587 (1)
      Languages
      20.2 Running an External/Native              588 (1)
      Unix/Linux Command
      20.3 Running Native C/C++ Code with JNI      589 (5)
      on the NDK
      20.4 Getting Started with the Scripting      594 (3)
      Layer for Android (SL4A, Formerly Android
      Scripting Environment)
      20.5 Creating Alerts in SL4A                 597 (3)
      20.6 Fetching Your Google Documents and      600 (3)
      Displaying Them in a ListView Using SL4A
      20.7 Sharing SL4A Scripts in QR Codes        603 (4)
      20.8 Using Native Handset Functionality      607 (1)
      from WebView via JavaScript
      20.9 Creating a Platform-Independent         608 (3)
      Application Using PhoneGap/Cordova
    21 Strings and Internationalization            611 (12)
      21.1 Introduction: Internationalization      611 (1)
      21.2 Internationalizing Application Text     612 (3)
      21.3 Finding and Translating Strings         615 (2)
      21.4 Handling the Nuances of strings.xml     617 (6)
    22 Packaging, Deploying, and                   623 (18)
    Distributing/Selling Your App
      22.1 Introduction: Packaging, Deploying,     623 (1)
      and Distributing
      22.2 Creating a Signing Certificate          623 (3)
      22.3 Signing Your Application                626 (1)
      22.4 Distributing Your Application via       627 (2)
      Android Play (formerly the Android Market)
      22.5 Integrating AdMob into Your App         629 (4)
      22.6 Obfuscating and Optimizing with         633 (3)
      ProGuard
      22.7 Providing a Link to Other Published     636 (5)
      Apps in the Google Play Market
Index                                              641