Programming Android: Java Programming for the New Generation of Mobile Devices [NOOK Book]

Overview

What does it take to build well-engineered Android applications? Explore Android's core building blocks and APIs in depth with this authoritative guide, and learn how to create compelling apps that work on a full range of Android devices. You'll work with proven approaches to app design and implementation—including application frameworks that you can use as a starting point for your own projects.


Delve into sensors, native development, 3D ...

See more details below
Programming Android: Java Programming for the New Generation of Mobile Devices

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$19.99
BN.com price
(Save 44%)$35.99 List Price

Overview

What does it take to build well-engineered Android applications? Explore Android's core building blocks and APIs in depth with this authoritative guide, and learn how to create compelling apps that work on a full range of Android devices. You'll work with proven approaches to app design and implementation—including application frameworks that you can use as a starting point for your own projects.


Delve into sensors, native development, 3D graphics, and many other topics, and discover how to build apps on the platform of your choice. If you're an intermediate to advanced programmer, you'll learn how to make great Android apps.

  • Learn how to use the Android SDK with the Eclipse IDE
  • Apply advanced Java concepts regardless of your experience with the language
  • Create an Android user interface that's captivating and easy to navigate
  • Use the Fragment API for tablet user interfaces
  • Make your application compatible with Honeycomb and earlier versions
  • Understand Android's unique database design issues and the role of SQLite
  • Use sensors and gestures to expand your app's input beyond just tapping and scrolling
  • Explore Android APIs for multimedia, location, communication, NFC, and other applications
Read More Show Less

Product Details

  • ISBN-13: 9781449313005
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 7/15/2011
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 1
  • Pages: 504
  • File size: 7 MB

Meet the Author

Zigurd Mednieks is a consultant to leading OEMs, enterprises, and entrepreneurial ventures creating Android-based systems and software. Previously he was Chief Architect at D2 Technologies, a voice-over-IP (VoIP) technology provider. There he lead engineering and product definition work for products that blended communication and social media in purpose-built embedded systems and on the Android platform.

Laird Dornin is a mobile development architect with extensive experience in Java, Android, J2ME, SavaJe, and the webkit browser library. He was a member of the J2SE development team at Sun Microsystems specializing in java.rmi and Jini technology. Laird is currently a Senior Engineer at a major wireless carrier, where he provides Android architectural guidance and Network API support to members of the carrier's developer community.

Blake Meike, Senior Software Development Engineer at Amazon, has more than 10 years of experience with Java. He’s developed applications using most of the GUI toolkits and several of the Java mobile device platforms.

With over a decade of software engineering experience, Masumi Nakamura has worked in various positions within the mobile technology arena, from building out mobile infrastructure to founding his own mobile company. He was one of the primary Android developers of the Where Android app and now is Principal Architect for the Big Data and Recommendations Group at Where, Inc. Outside of coding, he spends his time practicing Ba Gua Zhang and caring for his two cats.

Read More Show Less

Table of Contents

Preface;
How This Book Is Organized;
Conventions Used in This Book;
Using Code Examples;
Safari® Books Online;
How to Contact Us;
Acknowledgments;
Tools and Basics;
Chapter 1: Installing the Android SDK and Prerequisites;
1.1 Installing the Android SDK and Prerequisites;
1.2 Test Drive: Confirm That Your Installation Works;
1.3 Components of the SDK;
1.4 Keeping Up-to-Date;
1.5 Example Code;
1.6 On Reading Code;
Chapter 2: Java for Android;
2.1 Android Is Reshaping Client-Side Java;
2.2 The Java Type System;
2.3 Scope;
2.4 Idioms of Java Programming;
Chapter 3: The Ingredients of an Android Application;
3.1 Traditional Programming Models Compared to Android;
3.2 Activities, Intents, and Tasks;
3.3 Other Android Components;
3.4 Component Life Cycles;
3.5 Static Application Resources and Context;
3.6 The Android Application Runtime Environment;
3.7 Extending Android;
3.8 Concurrency in Android;
3.9 Serialization;
Chapter 4: Getting Your Application into Users’ Hands;
4.1 Application Signing;
4.2 Placing an Application for Distribution in the Android Market;
4.3 Alternative Distribution;
4.4 Google Maps API Keys;
4.5 Specifying API-Level Compatibility;
4.6 Compatibility with Many Kinds of Screens;
Chapter 5: Eclipse for Android Software Development;
5.1 Eclipse Concepts and Terminology;
5.2 Eclipse Views and Perspectives;
5.3 Java Coding in Eclipse;
5.4 Eclipse and Android;
5.5 Preventing Bugs and Keeping Your Code Clean;
5.6 Eclipse Idiosyncrasies and Alternatives;
About the Android Framework;
Chapter 6: Building a View;
6.1 Android GUI Architecture;
6.2 Assembling a Graphical Interface;
6.3 Wiring Up the Controller;
6.4 The Menu and the Action Bar;
6.5 View Debugging and Optimization;
Chapter 7: Fragments and Multiplatform Support;
7.1 Creating a Fragment;
7.2 Fragment Life Cycle;
7.3 The Fragment Manager;
7.4 Fragment Transactions;
7.5 The Support Package;
7.6 Fragments and Layout;
Chapter 8: Drawing 2D and 3D Graphics;
8.1 Rolling Your Own Widgets;
8.2 Bling;
Chapter 9: Handling and Persisting Data;
9.1 Relational Database Overview;
9.2 SQLite;
9.3 The SQL Language;
9.4 SQL and the Database-Centric Data Model for Android Applications;
9.5 The Android Database Classes;
9.6 Database Design for Android Applications;
9.7 Using the Database API: MJAndroid;
A Skeleton Application for Android;
Chapter 10: A Framework for a Well-Behaved Application;
10.1 Visualizing Life Cycles;
10.2 Visualizing the Fragment Life Cycle;
10.3 The Activity Class and Well-Behaved Applications;
10.4 Life Cycle Methods of the Application Class;
Chapter 11: Building a User Interface;
11.1 Top-Level Design;
11.2 Visual Editing of User Interfaces;
11.3 Starting with a Blank Slate;
11.4 Laying Out the Fragments;
11.5 Folding and Unfolding a Scalable UI;
11.6 Making Activity, Fragment, Action Bar, and Multiple Layouts Work Together;
11.7 The Other Activity;
Chapter 12: Using Content Providers;
12.1 Understanding Content Providers;
12.2 Defining a Provider Public API;
12.3 Writing and Integrating a Content Provider;
12.4 File Management and Binary Data;
12.5 Android MVC and Content Observation;
12.6 A Complete Content Provider: The SimpleFinchVideoContentProvider Code;
12.7 Declaring Your Content Provider;
Chapter 13: A Content Provider as a Facade for a RESTful Web Service;
13.1 Developing RESTful Android Applications;
13.2 A “Network MVC”;
13.3 Summary of Benefits;
13.4 Code Example: Dynamically Listing and Caching YouTube Video Content;
13.5 Structure of the Source Code for the Finch YouTube Video Example;
13.6 Stepping Through the Search Application;
13.7 Step 1: Our UI Collects User Input;
13.8 Step 2: Our Controller Listens for Events;
13.9 Step 3: The Controller Queries the Content Provider with a managedQuery on the Content Provider/Model;
13.10 Step 4: Implementing the RESTful Request;
Advanced Topics;
Chapter 14: Search;
14.1 Search Interface;
14.2 Query Suggestions;
Chapter 15: Location and Mapping;
15.1 Location-Based Services;
15.2 Mapping;
15.3 The Google Maps Activity;
15.4 The MapView and MapActivity;
15.5 Working with MapViews;
15.6 MapView and MyLocationOverlay Initialization;
15.7 Pausing and Resuming a MapActivity;
15.8 Controlling the Map with Menu Buttons;
15.9 Controlling the Map with the Keypad;
15.10 Location Without Maps;
15.11 StreetView;
Chapter 16: Multimedia;
16.1 Audio and Video;
16.2 Playing Audio and Video;
16.3 Recording Audio and Video;
16.4 Stored Media Content;
Chapter 17: Sensors, NFC, Speech, Gestures, and Accessibility;
17.1 Sensors;
17.2 Near Field Communication (NFC);
17.3 Gesture Input;
17.4 Accessibility;
Chapter 18: Communication, Identity, Sync, and Social Media;
18.1 Account Contacts;
18.2 Authentication and Synchronization;
18.3 Bluetooth;
Chapter 19: The Android Native Development Kit (NDK);
19.1 Native Methods and JNI Calls;
19.2 The Android NDK;
19.3 Native Libraries and Headers Provided by the NDK;
19.4 Building Your Own Custom Library Modules;
19.5 Native Activities;
Colophon;

Read More Show Less

Customer Reviews

Average Rating 5
( 3 )
Rating Distribution

5 Star

(3)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 3 Customer Reviews
  • Anonymous

    Posted February 11, 2013

    I hate people who do this

    Gjkjcddigjdfjfjdfjhdjgjddjgjsdfjhfjfjskfksnffkshdjdhfjdjfjjjdjddjddjdjjjkssokngjifnvkdgdlncslcjsjgggggggggggggggghggghghjgxfgnhccgtcgghyggggggggggggggggggggggggggggggggggggggfjkh

    0 out of 15 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted January 27, 2013

    Bdbcdgy cbd ncbxshsssbdhssjjjdnnhhhbcfnddcejdwhcshdddhcjcj v










    Xbx jxchccbssbxxbbbvcvddxxhshshhscccccknc,alskqoqpwooqqqpppqqqpqpqppoqosiwusoshxkxbcbhchcdjjdjgbchdxgfhgfffhfjjhsjsshhaasdbcnbbccjhhhsfruugfuftttthtyrryrrrnvvvifjfhfwhhhfbjrbjfhjhjrhhrbffbfhhbvfvvhvfuffheurbejhrufuhddduijrjkirjkkrrfreehrgfrerdedgvd jjdaACCHFFFBFBVFBGBHHHRHQaoaajjjxhdjfdjjdwwvvcfvvbdsssskwlqwwqlkdoejlqkqkqkowkidssiwlddidjfhffjfjvjhffjdjfjfhghjdhhhfhfhhvffjccjcjcjcjjdjdhvvjfjbvjfmdhkzkskkkkdjbjhxjsbhsjdkkncccncd.x cccdwhsjdjsddjdssmx bbcncbfggfgffcgdbddguttthhj bxsssshheuwddjdheheheegdgfjdhdsjrrkjrddhdhjdhhfbbbjcfjfhffkjffbfbfjvfhfffhrhghfhdnbdhnfhdffbfnfbfmgvvnvmfbfmfvjgggfnfbdgvvbfhffbfnbfnfbbhvbfnfdbfsbffnffbddbnnfllnfjdmdbffhfjdhfhfhheshdjdhhffhffgfjdjkwffhfhfjfgjfhrkjlqqwwieddjeojvvjbjrhhfhffhfhfjfhfhhfhfjffjhhdhcbccjcchdddddhdhejehehhjjjwdbfjfhhrjdfbththrhtffbcurhridjrufhrhggiththttythuttthhjjtgtbgjtbftbbthfbh jrrhrb rbgh ffhrhr hrrr rbu eunrr gjykhhh hff msshhccgdggrvc c xm bxmx d..


    Bddhhegbwwgvjrheyydddyrrrrrhrgryygryygffhhdfgfhgbfhgcjghyyyrhffhgdrr

    0 out of 16 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted March 5, 2013

    No text was provided for this review.

Sort by: Showing all of 3 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)