James Steele and Nelson To - The Android Developer`s Cookbook

James Steele and Nelson To - The Android Developer`s Cookbook
James Steele and Nelson To - The Android Developer`s Cookbook
45.9 MB
The Android Developer`s Cookbook
Building Applications with the Android SDK
Год: 2011
Автор: James Steele and Nelson To
Жанр: Application development
Издательство: Pearson Education, Inc
ISBN: 978-0-321-74123-3
Язык: Английский
Формат: PDF
Качество: Отсканированные страницы
Интерактивное оглавление: Нет
Количество страниц: 355
Описание: Android is the fastest growing mobile operating system (OS).With over 30 smartphones introduced in the last year and over Io,00(’) applications (apps) being added every month, the Android ecosystem is growing as well.There is enough diversity in device features and wireless carriers to appeal to just about anyone.
Netbooks have always been a natural platform to adopt Android, but the inertia behind Android has fed the growth further into televisions and even automobiles. Many of the world's largest corporations-from banks to fast food chains to airlines-ensure a presence in Android and offer compatible services. Android developers have many opportunities, and relevant apps reach more people than ever before, increasing the satisfaction of creating a relevant app.
Why an Android Cookbook?
The Android OS is simple to learn, and Google provides many libraries to make it easy to implement rich and complex appIications. The only aspect lacking. as mentioned by many in the Android developer conununity. is clear and well-explained documentation. The Fact that Android is open source means anyone can dive in and reverse engineer some documentation. Many developer bulletin boards have excellent examples deduced using exactly this method. Still, a book that has a consistent treatment across all areas of the OS is useful. In addition, a clear working example is worth ".1 thousand words of documentation. Developers faced with a problem usually prefer to do a form of extreme programming; that is, they find examples of working code that does something close to the solution and modify or extend it to meet their needs.The examples also serve as a way to see the coding style and help to shape other parts of the developer's code. This Android Cookbook serves to fill a need by providing many various self-conrained recipes. As each recipe is introduced. the main concepts of the Android OS are also explained.
Who Should Read This Book?
Users who are writing their own Android applications will get the most out of this cookbook. Basic familiarity with java and the Eclipse development environment is assumed, but not required for the majority of the book. Java is a modular language and most (if not all) of the example recipes can be incorporated with minimal change to the reader's own Android project. The motivation for each topic lends itself \vell for use as an Android course supplement.
Примеры страниц
1 Overview ofAndroid 1
2 Application Basics: Activities and lntents 23
3 Threads, Services, Receivers, and Alerts 51
4 Userlnterface Layout 79
5 Userlnterface Events 117
6 Multimedia Techniques 147
7 Hardware Interface 169
8 Networking 195
9 Data Storage Methods 221
10 Location-Based Services 251
11 Advanced Android Development 277
12 Debugging 303