文件名称:
Android 3.0 Application Development Cookbook
开发工具:
文件大小: 10mb
下载次数: 0
上传时间: 2019-03-04
详细说明:Android 3.0 Application Development CookbookAndroid 3.0 Application Development
Cookbook
Copyright c 2011 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system,
or transmitted in any form or by any means, without the prior written permission of the
publisher, except in the case of brief quotations embedded in critical articles or reviews
Every effort has been made in the preparation of this book to ensure the accuracy of the
information presented. However, the information contained in this book is sold without
warranty, either express or implied. Neither the author, nor Packt Publishing, and its
dealers and distributors will be held liable for any damages caused or alleged to be
caused directly or indirectly by this book
Packt Publishing has endeavored to provide trademark information about all of the
companies and products mentioned in this book by the appropriate use of capitals
However, Packt Publishing cannot guarantee the accuracy of this information
First published: July 2011
Production reference: 1150711
Published by Packt Publishing Ltd
32 Lincoln road
Olton
Birmingham, B27 6PA, UK
SBN9781849512947
www.packtpub.com
Cover Image by Javier Barria C. barriacayahoo com
Credits
Author
Project Coordinator
Kyle Merrifield Mew
Srimoyee ghoshal
Reviewers
Proofreade
Md. Mahmud ahsan
Aaron Nash
Dr Frank grutzmacher
Indexer
Bob Kerns
Tejal daruwale
uisition editor
Graphics
Tarun Singh
Nilesh mohite
Development Editor
Production Coordinators
Alina lewis
Kruthika Banger
Technical Editor
Adline Swetha jesuthas
Aaron rosario
Cover work
Copy Editor
Kruthika banger
Neha shetty
About the author
Kyle Merrifield Mew lives in London and is currently a self employed writer and
developer. amongst other things he has also been a soldier, a cartoonist, a teacher, a
charity fundraiser, and a web designer
Kyle has been programming since the early eighties, has written for several technology
websites, and also done three radio plays
About the reviewers
Md. Mahmud Ahsan has been developing web applications for over six years he has
developed some medium to large web applications and was also an architect on some
web applications. He's a Zend certified Engineer and an expert in Facebook, Linkedin
Twitter, Twilio APl, and mashup application development. Beside his full time freelance
workheblogsathttp://thinkdiff.netandwritesarticlesondifferenttechnologies
especially Facebook application development. For the past year he's been developing
loS applications as a hobby and also developed some android applications. He lives in
Bangladesh with his wife Jinat
Currently he's working as a Freelancer, managing and developing social web applications
and ios applications
HepublisheshisownioSapplicationsathttp://ithinkaiff.net
He was a technical reviewer for the titles zend Framework 1.8 Web Application
Development and phP jQuery Cookbook by packt
Im very grateful to my father who bought a computer for me in 2001, since
then I have loved programming and working with various technologies
Dr Frank Grutzmacher has spent some years in the research of distributed electronic
design tools and worked for several german blue chip companies such as deutsche Post
and AEG. He was involved in android platform extensions for a mobile manufacturer
Therefore on one hand he knows how to build large enterprise apps, and on the other
hand he knows how to make android system apps
He is currently working for the it daughter of the largest German Telco company
In the past he already reviewed corba and Java related books for American and German
publishers
Bob Kerns has been writing software for 40 years, in fields as diverse as artificial
intelligence, computer mathematics, computer networking, internationalization, device
drivers, compilers, language design-and Android
While studying at mIt, he worked on the pioneering Computer Algebra system Macsyma
and helped maintain the maclisp compiler and interpreter. he also created the first
distance learning environment accessible over the Internet(then called arpanet).
teaching Lisp programming to all comers, young and old
After ending his studies he continued to develop the lisp language with NiL Lisp for
VAX/VMS, before leaving MiT in 1981 to join the startup Symbolics, a vendor of lisp
workstations. During his tenure at symbolics, he worked on virtually every part of
the system He extended the e-mail client to include early support for conversation
management akin to what is provided in gmail today. He enhanced the os support for
multiple languages, including support for Japanese. He managed development groups,
and created and managed the group responsible for QA, release management, and
software support
After leaving Symbolics, he worked on expert systems and Lisp language development
in Japan and the Us, ported the common Lisp Interface Manager (CLIM)to Macintosh,
developed early tools for working with Unicode and international character sets. He worked
with Mcc and Digital Equipment Corporation on the cyc knowledge engineering project
He then worked for Expert System pioneer Inference on their Art* Enterprise expert
system shell, and follow-on products through a succession of spinoffs and acquisitions
In 1995, as the Web was just beginning to become popular, he pushed for and developed
techniques for integrating art* Enterprise into web services. This work then became the
foundation for a series of further products combining Al and web technologies
For the past decade bob has worked with a wide array of technologies including Al
neuroscience, XML, knowledge representation, statistical inferencing, 3D computer
graphics, Encryption, and software security, and of course web and mobile technologies.
He is currently working on al technology for a major vendor to the financial sector
Bob resides with his family in marin county california
wwW, PacktPub com
Support files, eBooks, discount offers and more
Youmightwanttovisitwww.PacktPubcomforsupportfilesanddownloadsrelatedto
your book.
Did you know that Packt offers e Book versions of every book published, with PDF and
epubfilesavailable?YoucanupgradetotheebooKversionatwww.Packtpub.comand
as a print book customer, you are entitled to a discount on the e Book copy. Get in touch
with us at servicepacktpub com for more details.
Atwww.Packtpub.comyoucanalsoreadacollectionoffreetechnicalarticlessignup
for a range of free newsletters and receive exclusive discounts and offers on Packt books
and e books
PACKTLIB°
http://packtlib.Packtpub.com
Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book
library. Here, you can access, read and search across Packt's entire library of books
Why Subscribe?
Fully searchable across every book published by Packt
Copy and paste, print and bookmark content
On demand and accessible via web browser
Free access for packt account holders
Ifyouhaveanaccountwithpacktatwww.Packtpub.com,youcanusethistoaccess
PacktLib today and view nine entirely free books Simply use your login credentials for
immediate access
Table of contents
Preface
Chapter 1: Activities
Introductlon
1556
Declaring an activity
Starting a new activity with an intent object
10
Switching between activities
14
Returning a result from an activity
Storing an activity 's state
20
Storing persistent activity data
24
Managing the activity lifecycle
27
Chapter 2: Layouts
33
Introduction
33
Declaring a layout
34
Applying a relative layout
Applying a table layout
40
Using Listviews and listAdapters
42
Applying gravity and weight
45
Controlling layout during runtime
48
Optimizing for tablets and multiple screens
50
Dividing the screen into fragments
3
Running 3.0 and higher applications on older platforms
58
Chapter 3: Widget
61
Introduction
61
Inserting a widget into a layout
62
Adding images to widgets
64
Creating a widget at runtime
68
Applying a style
70
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.