Beginning Android

Front Cover
Apress, Jun 26, 2009 - Computers - 384 pages
0 Reviews

Learn how to develop applications for Android mobile devices using simple examples, ready to run with your copy of the software development kit. Author and Android columnist, writer, developer, and community advocate Mark L. Murphy shows you what you need to know to get started on programming Android applications–everything from crafting graphical user interfaces to using GPS, accessing web services, and more!

The Android development platform, created by Google and the Open Handset Alliance, is a platform in its truest sense, encompassing hundreds of classes beyond the traditional Java classes and open source components that ship with the SDK. Some Android books race through the material, trying to cover as much ground as possible in as few pages as possible. Experienced writer and community advocate Mark Murphy shows you how to develop Android applications simply and with care.

The book includes dozens of sample projects, ready to run with your copy of the SDK—not just one huge project where you have difficulty finding the specific examples of the technique you are looking for. You can even get these sample programs online at Apress.com.

What you’ll learn Discover what Android is and how to use Android to build Java-based mobile applications for Google Phones G1 and more phones as they hit the market Work with the new Android 1.x SDK Create user interfaces using both the Android Widget framework and the built-in WebKit-powered web browser components Use scripting with BeanShell Work with menu inflation, fonts, SDK tools, rotation events, and more Work with TabActivity, MyLocationOverlay, DDMS, and more Utilize the distinctive capabilities of the Android engine including maps, Internet access, integrated search, media playback, and more Use and create similar sample Android applications for services, content providers, mapping, and location-based services/events. Who this book is for

This book is aimed at people new to mobile development, perhaps even to Java itself.

Table of Contents The Big Picture Project Structure Inside the Manifest Creating a Skeleton Application Using XML-Based Layouts Employing Basic Widgets Working with Containers Using Selection Widgets Getting Fancy with Lists Employing Fancy Widgets and Containers Applying Menus Fonts Embedding the WebKit Browser Showing Pop-Up Messages Dealing with Threads Handling Activity Lifecycle Events Using Preferences Accessing Files Working with Resources Managing and Accessing Local Databases Leveraging Java Libraries Communicating via the Internet Creating Intent Filters Launching Activities and Sub-Activities Finding Available Actions via Introspection Handling Rotation Using a Content Provider Building a Content Provider Requesting and Requiring Permissions Creating a Service Invoking a Service Alerting Users Via Notifications Accessing Location-Based Services Mapping with MapView and MapActivity Handling Telephone Calls Searching with SearchManager Development Tools Where Do We Go From Here?
 

What people are saying - Write a review

We haven't found any reviews in the usual places.

Contents

24198_ch02_final
7
24198_ch03_final
9
24198_ch04_final
13
24198_ch05_final
21
24198_ch06_final
27
24198_ch07_final
37
24198_ch08_final
55
24198_ch09_final
71
24198_ch22_final
207
24198_ch23_final
213
24198_ch24_final
221
24198_ch25_final
231
24198_ch26_final
237
24198_ch27_final
251
24198_ch28_final
259
24198_ch29_final
269

24198_ch10_final
93
24198_ch11_final
113
24198_ch12_final
125
24198_ch13_final
129
24198_ch14_final
137
24198_ch15_final
141
24198_ch16_final
147
24198_ch17_final
151
24198_ch18_final
167
24198_ch19_final
175
24198_ch20_final
193
24198_ch21_final
201
24198_ch30_final
273
24198_ch31_final
279
24198_ch32_final
285
24198_ch33_final
291
24198_ch34_final
299
24198_ch35_final
309
24198_ch36_final
313
24198_ch37_final
321
24198_ch38_final
337
24198_app_final
339
24198_IDX_final
347
Copyright

Other editions - View all

Common terms and phrases

About the author (2009)

Mark Murphy is the founder of CommonsWare and the author of The Busy Coder's Guide to Android Development. A three-time entrepreneur, his experience ranges from consulting on open source and collaborative development for Fortune 500 companies to application development on just about anything smaller than a mainframe. He has been a software developer for over 25 years, working on platforms ranging from the TRS-80 to the latest crop of mobile devices. A polished speaker, Mark has delivered conference presentations and training sessions on a wide array of topics internationally. Mark writes the "Building Droids" column for AndroidGuys and the "Android Angle" column for NetworkWorld. Outside of CommonsWare, Mark has an avid interest in how the Internet will play a role in citizen involvement with politics and government. He is a contributor to the Rebooting America essay collection, and his personal blog features many posts discussing "cooperative democracy."

Bibliographic information