Android combines the ubiquity of cell phones, the excitement of open source software, and the corporate backing of Google and other Open Handset Alliance members. The result is a mobile platform you can't afford not to learn. This second edition is completely updated for Android 1.5 (Cupcake) and Android 1.6 (Donut). Android is a software toolkit for mobile phones, created by Google and the Open Handset Alliance. It's inside millions of cell phones and other mobile devices, making Android a major platform for application developers. That could be your own program running on all those devices. Getting started developing with Android is easy. You don't even need access to an Android phone, just a computer where you can install the Android SDK and the phone emulator that comes with it. Within minutes, "Hello, Android" will get you creating your first working application: Android's version of "Hello, World." From there, you'll build up a more substantial example: an Android Sudoku game. By gradually adding features to the game throughout the course of the book, you'll learn about many aspects of Android programming including user interfaces, multimedia, and the Android life cycle. This second edition has been completely revised for Android 1.5 (Cupcake) and Android 1.6 (Donut). Every page and example was reviewed and updated for compatibility with the new version. In addition, two new appendixes show you how to create Widgets for the Home screen and publish your application to the Android Market. If you're a busy developer who'd rather be coding than reading about coding, this book is for you. To help you find what you need to know fast, each chapter ends with a "Fast-Forward" section. These sections provide guidance for where you should go next when you need to read the book out of order.
Written by an Android authority, this up-to-date resource shows you how to leverage the features of Android 2 to enhance existing products or create innovative new ones. Serving as a hands-on guide to building mobile apps using Android, the book walks you through a series of sample projects that introduces you to Android’s new features and techniques. Using the explanations and examples included in these pages, you’ll acquire the foundation needed to write compelling mobile applications that use Android, along with the flexibility to quickly adapt to future enhancements.
Professional Android 2 Application Development:
■Reviews Android as a development platform and¿best practices for mobile development
■Provides an in-depth look at the Android application components
■Details creating layouts and Views to produce compelling resolution independent user interfaces
■Examines Intents and Content Providers for sharing data
■Introduces techniques for creating map-based applications and using location-based services such as GPS
■Looks at how to create and use background Services, Notifications, and Alarms
■Demonstrates how to create interactive homescreen components
■Explores the Bluetooth, telephony, and networking APIs
■Examines using hardware, including the camera and sensors such as the compass and accelerometers
Three of CouchDB’s creators show you how to use this document-oriented database as a standalone application framework or with high-volume, distributed applications. With its simple model for storing, processing, and accessing data, CouchDB is ideal for web applications that handle huge amounts of loosely structured data. That alone would stretch the limits of a relational database, yet CouchDB offers an open source solution that’s reliable, scales easily, and responds quickly.
CouchDB works with self-contained data that has loose or ad-hoc connections. It’s a model that fits many real-world items, such as contacts, invoices, and receipts, but you’ll discover that this database can easily handle data of any kind. With this book, you’ll learn how to work with CouchDB through its RESTful web interface, and become familiar with key features such as simple document CRUD (create, read, update, delete), advanced MapReduce, deployment tuning, and more.
How does MongoDB help you manage a huMONGOus amount of data collected through your web application? With this authoritative introduction, you’ll learn the many advantages of using document-oriented databases, and discover why MongoDB is a reliable, high-performance system that allows for almost infinite horizontal scalability. Written by engineers from 10gen, the company that develops and supports this open source database, MongoDB: The Definitive Guide provides guidance for database developers, advanced configuration for system administrators, and an overview of the concepts and use cases for other people on your project. Learn how easy it is to handle data as self-contained JSON-style documents, rather than as records in a relational database.
Explore ways that document-oriented storage will work for your project
Learn how MongoDB’s schema-free data model handles documents, collections, and multiple databases
Execute basic write operations, and create complex queries to find data with any criteria
Use indexes, aggregation tools, and other advanced query techniques
Learn about monitoring, security and authentication, backup and repair, and more
Set up master-slave and automatic failover replication in MongoDB
Use sharding to scale MongoDB horizontally, and learn how it impacts applications
Get example applications written in Java, PHP, Python, and Ruby
The Only Official Best-Practice Guide to Qt 4 Programming
Using Trolltech's Qt you can build industrial-strength C++ applications that run natively on Windows, Linux/Unix, Mac OS X, and embedded Linux--without making source code changes. With this book Trolltech insiders have written a start-to-finish guide to getting great results with the most powerful version of Qt ever created: Qt 4.1.
Using C++ GUI Programming with Qt 4 you'll discover the most effective Qt 4 programming patterns and techniques as you master key technologies ranging from Qt's model/view architecture to Qt's powerful new 2D paint engine. The authors provide readers with unparalleled insight into Qt's event model and layout system. Then, using realistic examples, they introduce superior techniques for everything from basic GUI development to advanced database and XML integration.
Includes new chapters on Qt 4's model/view architecture and Qt's new plugin support, along with a brief introduction to Qtopia embedded programming
Covers all Qt fundamentals, from dialogs and windows to implementing application functionality
Introduces best practices for layout management and event processing
Shows how to make the most of Qt 4's new APIs, including the powerful new 2D paint engine and the new easy-to-use container classes
Contains completely updated material in every chapter
Presents advanced Qt 4 techniques covered in no other book, from creating both Qt and application plugins to interfacing with native APIs
Contains an in-depth appendix on C++/Qt programming for experienced Java developers