Enrique Ortiz THIRD EDITION IN ACTION... Android in Action Third Edition Download from Wow!. Android in ActionThird Edition W.. Where those designations appear in the book, and Manning P
Trang 1W Frank Ableson
Robi Sen Chris King
C Enrique Ortiz THIRD EDITION
IN ACTION
Trang 2Android in Action Third Edition
Download from Wow! eBook <www.wowebook.com>
Trang 4Android in Action
Third Edition
W FRANK ABLESON
ROBI SEN CHRIS KING
C ENRIQUE ORTIZ
M A N N I N G
SHELTER ISLAND
Download from Wow! eBook <www.wowebook.com>
Trang 5For 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: orders@manning.com
©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 Development editor: Troy Mott
20 Baldwin Road Copyeditors: Benjamin Berg, Tiffany Taylor
PO Box 261 Typesetter: Dottie Marsico
Shelter Island, NY 11964 Cover designer: 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
Trang 6632 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>
Trang 7Ableson ● 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 fi nd interesting examples on every page as you
explore cross-platform graphics with RenderScript, the updated
notifi cation system, and the Native Development Kit Th is book
also introduces important tablet concepts like drag and drop,
fragments, and the Action Bar, all new in Android 3
What’s Inside
● Covers Android 3.x
●SDK and W ebKit development from the ground up
● Driving a robot with Bluetooth and sensors
● Image processing with Native C code
Th is book is written for hobbyists and developers A
back-ground 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,
respec-tively 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
Android IN ACTION THIRD EDITION
MOBILE TECHNOLOGY
SEE INSERT
—Gabor Paller, Ericsson
for both beginners and experts.
”
—Matthew Johnson Sabaki Engineering
tablet functionalities ”
—Lọc Simon, SII