Android in Action 2e - Ableson, Sen, King - Manning (2011).pdf

(13768 KB) Pobierz
813326893.002.png
Android in Action
S ECOND E DITION
W. FRANK ABLESON
ROBI SEN
CHRIS KING
Revised Edition of Unlocking Android
MANNING
Greenwich
(74° w. long.)
813326893.003.png
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.
180 Broad St.
Suite 1323
Stamford, CT 06901
Email: orders@manning.com
©2011 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
180 Broad St.
Copyeditors: Joan Celmer, Liz Welch
Suite 1323
Typesetter: Dottie Marsico
Stamford, CT 06901
Cover designer: Marija Tudor
ISBN 978-1-935182-72-6
Printed in the United States of America
12 34567 8910– MAL–16 151413 1211
813326893.004.png 813326893.005.png
brief contents
P ART 1
W HAT IS A NDROID ?—T HE B IG P ICTURE ........................1
Introducing Android
3
1
Android’s development environment
31
2
P ART 2
E XERCISING THE A NDROID SDK ..................................61
User interfaces
63
3
Intents and Services
101
4
Storing and retrieving data
129
5
Networking and web services
159
6
Telephony
187
7
Notifications and alarms
205
8
Graphics and animation
222
9
Multimedia
246
10
Location, location, location
267
11
P ART 3
A NDROID APPLICATIONS . ...........................................291
Putting Android to work in a field service application
293
12
Building Android applications in C
338
13
v
813326893.001.png
vi
BRIEF CONTENTS
P ART 4
T HE MATURING PLATFORM ........................................365
Bluetooth and sensors
367
14
Integration
387
15
Android web development
421
16
AppWidgets
454
17
Localization
491
18
Android Native Development Kit
506
19
Zgłoś jeśli naruszono regulamin