IN ACTION
THIRD EDITION
W. Frank Ableson
Robi Sen
Chris King
C. Enrique Ortiz
MANNING
Android in Action
Third Edition
Download from Wow! eBook <www.wowebook.com>
Download from Wow! eBook <www.wowebook.com>
Android in Action
Third Edition
W. FRANK ABLESON
ROBI SEN
CHRIS KING
C. ENRIQUE ORTIZ
MANNING
SHELTER ISLAND
Download from Wow! eBook <www.wowebook.com>
For online information and ordering of this and other Manning books, please visit
www.manning.com. The publisher offers discounts on this book when ordered in quantity.
For more information, please contact
Special Sales Department
Manning Publications Co.
20 Baldwin Road
PO Box 261
Shelter Island, NY 11964
Email:
©2012 by Manning Publications Co. All rights reserved.
No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in
any form or by means electronic, mechanical, photocopying, or otherwise, without prior written
permission of the publisher.
Many of the designations used by manufacturers and sellers to distinguish their products are
claimed as trademarks. Where those designations appear in the book, and Manning
Publications was aware of a trademark claim, the designations have been printed in initial caps
or all caps.
Recognizing the importance of preserving what has been written, it is Manning’s policy to have
the books we publish printed on acid-free paper, and we exert our best efforts to that end.
Recognizing also our responsibility to conserve the resources of our planet, Manning books
are printed on paper that is at least 15 percent recycled and processed without the use of
elemental chlorine.
Manning Publications Co.
20 Baldwin Road
PO Box 261
Shelter Island, NY 11964
Development editor:
Copyeditors:
Typesetter:
Cover designer:
Troy Mott
Benjamin Berg, Tiffany Taylor
Dottie Marsico
Marija Tudor
ISBN 9781617290503
Printed in the United States of America
1 2 3 4 5 6 7 8 9 10 – MAL – 16 15 14 13 12 11
Download from Wow! eBook <www.wowebook.com>
632
INDEX
WebViewFragment 548, 550
widget instance, create 497
widgets 48
zombie 490
Wi-Fi 161
Bluetooth similar to 386
no emulation layer 161
WiMAX 161
Windows 7
finding IP address 168
NTLM 177
Windows Mobile 10
WinRAR 53
WinZip 53
Workbench 592
Worldwide Interoperability for Microwave Access.
See WiMAX
WRITE_EXTERNAL_STORAGE 276
WRITE_EXTERNALSTORAGE permission 267
WS-* 186
X
XML
drawing graphics with 228–230
layout 229
shapes 230–231
type tag 229
parsing 182
resources 140
Schema 185
stream 354
xmldrawable.xml 230
XmlPullParser 142
Z
zombie widgets 490
Download from Wow! eBook <www.wowebook.com>
MOBILE TECHNOLOGY
Android IN ACTION THIRD EDITION
SEE INSERT
Ableson Sen King Ortiz
●
●
●
W
hen it comes to mobile apps, Android can do almost
anything—and with this book, so can you! Android,
Google’s popular mobile operating system and SDK
for tablets and smart phones, is the broadest mobile platform
available. It is Java-based, HTML5-aware, and loaded with the
features today’s mobile users demand.
Android in Action, Third Edition takes you far beyond “Hello
Android.” You’ll master the SDK, build WebKit apps using
HTML 5, and even learn to extend or replace Android’s built-in
features. You’ll find interesting examples on every page as you
explore cross-platform graphics with RenderScript, the updated
notification system, and the Native Development Kit. This book
also introduces important tablet concepts like drag and drop,
fragments, and the Action Bar, all new in Android 3.
—Gabor Paller, Ericsson
the best single book
“forStillboth
beginners and
experts.
”
—Matthew Johnson
Sabaki Engineering
covers most Android
“Fully
tablet functionalities.
”
—Loïc Simon, SII
What’s Inside
Covers Android 3.x
SDK and WebKit development from the ground up
● Driving a robot with Bluetooth and sensors
● Image processing with Native C code
●
●
This book is written for hobbyists and developers. A background in Java is helpful—no prior experience with Android is
assumed.
Frank Ableson and Robi Sen are entrepreneurs focused on mobile
and web products, and on novel wireless technologies, respectively. Chris King is a senior mobile engineer and C. Enrique Ortiz
a mobile technologist, developer, and author.
For access to the book’s forum and a free ebook for owners of this
book, go to manning.com/AndroidinActionThirdEdition
MANNING
Gold standard of Android
“training
books.
”
$49.99 / Can $52.99
[INCLUDING eBOOK]