没有合适的资源?快使用搜索试试~ 我知道了~
首页Pro Android Web Apps, Develop For Android Using HTML5 CSS3 & JavaScript.pdf
资源详情
资源评论
资源推荐
Oehlman
Blanc
Companion
eBook
Available
Trim: 7.5 x 9.25 spine = 0.875" 392 page count 444ppi
The “Build Once” Approach
for Mobile App Development
COMPANION eBOOK SEE LAST PAGE FOR DETAILS ON $10 eBOOK VERSION
US $44.99
Shelve in
Mobile Computing
User level:
Intermediate–Advanced
www.apress.com
SOURCE CODE ONLINE
BOOKS FOR PROFESSIONALS BY PROFESSIONALS
®
ISBN 978-1-4302-2629-1
9 781430 226291
54499
this print for content only—size & color not accurate
CYAN
MAGENTA
YELLOW
BLACK
PANTONE 123 C
SPOT MATTE
D
eveloping applications for Android and other mobile devices using web
technologies is now well within reach. When the capabilities of HTML5
are combined with CSS3 and JavaScript, web application developers have an
opportunity to develop compelling mobile applications using familiar tools.
Not only is it possible to build mobile web apps that feel as good as native
apps, but also to write an application once and have it run a variety of dier-
ent devices.
Pro Android Web Apps teaches developers already familiar with web appli-
cation development how to code and structure a web app for use on the
Android mobile platform.
•
Learn how to structure mobile web apps through real-world application
examples.
•
Discover what cloud platforms such as Google App Engine have to oer
Android web apps.
•
Get a real picture of the status of HTML5 on Android and other mobile
devices.
•
Understand how to use native bridging frameworks such as PhoneGap
to device-level features.
•
Explore the dierent UI frameworks that are available for building
mobile web apps.
•
Learn how to include mapping and leverage Location-Based Services in
mobile web apps.
•
Enable social integration with your Android web.
After reading Pro Android Web Apps, you will have a greater understanding
of not only the world of web apps on Android, but also how to leverage
additional tools. Through the practical samples in the book, you will gain
solid exposure of where the opportunities and challenges lie when building
mobile apps the web way.
ISBN 978-1-4302-3276-6
9 781430 232766
54499
Pro
Android Web Apps
Develop for Android Using HTML5, CSS3 & JavaScript
Damon Oehlman
|
Sébastien Blanc
Android Web Apps
Pro
iv
For your convenience Apress has placed some of the front
matter material after the index. Please use the Bookmarks
and Contents at a Glance links to access them.
iii
Contents at a Glance
■Contents .......................................................................................................... v
■About the Authors ........................................................................................... x
■About the Technical Reviewer ........................................................................ xi
■Acknowledgments ......................................................................................... xii
■Introduction .................................................................................................. xiii
■Chapter 1: Getting Started ............................................................................... 1
■Chapter 2: Building a Mobile HTML Entry Form ............................................. 21
■Chapter 3: HTML5 Storage APIs ..................................................................... 47
■Chapter 4: Constructing a Multipage App ..................................................... 65
■Chapter 5: Synchronizing with the Cloud ...................................................... 95
■Chapter 6: Competing with Native Apps ...................................................... 111
■Chapter 7: Exploring Interactivity ............................................................... 129
■Chapter 8: Location-Based Services and Mobile Mapping .......................... 161
■Chapter 9: Native Bridging with PhoneGap ................................................. 193
■Chapter 10: Integrating with Social APIs .................................................... 221
■Chapter 11: Mobile UI Frameworks Compared ............................................ 255
■Chapter 12: Polishing and Packaging an App for Release .......................... 299
■Chapter 13: The Future of Mobile Computing .............................................. 337
■Appendix: Debugging Android Web Apps .................................................... 351
■Index ............................................................................................................ 359
■ CONTENTS
xiii
Introduction
As we move into a world where mobile devices are becoming the primary mechanism for people
to connect with the Internet, it should come as no surprise that the ability to develop applications
for mobile devices is becoming a sought after skill. We also have very strong vendor competition
in the space, resulting in a marketplace filled with a variety of devices.
We see vendors promoting development tools and marketplaces for their own devices,
attempting to create software ecosystems around their products. For the most part, the strategy is
working too (for some vendors more than others). Developers are using those tools and creating
“native” applications for a particular device, and then having to rebuild large portions of their
applications to target each different device.
For some companies building mobile applications, this is an acceptable approach. It is,
however, one that is entirely unsustainable for the longer term. Consider that each company with
a web product will be expected to provide both a desktop web application and suitable mobile
clients for multiple devices in the next few years (if not months). Then consider the number of
software developers - people like you and me, that there are in the world. Do we have the
required resources to meet this demand? I would venture not. There must be a better way. And
there is.
Building mobile web apps is this better way. It is an approach to mobile app development
that when done right, will have you rewriting a lot less code to target the variety of devices that
exist in the marketplace. This book focuses on writing mobile web apps for Android, but in reality
many of the concepts can be easily ported across to other mobile devices (which is the whole
point).
What’s a Mobile Web App?
A mobile web app is an application that is built with the core client web technologies of HTML,
CSS, and JavaScript, and is specifically designed for mobile devices. Helping mobile web apps get
a bit of attention are the trends toward HTML5 and CSS3—the latest “versions” of two of the
technologies. We explore both HTML5 and CSS3 in detail in the book, along with a lot of
JavaScript.
JavaScript is the language that many developers love to hate. Some don’t even regard it as a
programming language at all. However, JavaScript is here for the long haul, and is likely to be one
of the most in demand skillsets for the next five years.
Which Technologies Are Used in This Book?
In the book, we work through lots (and lots) of JavaScript code. There’s obviously quite a bit of
HTML and CSS there too, but JavaScript really is the language of mobile web app development.
If you haven’t worked with JavaScript in the past, we don’t completely drop you in at the
deep end, but we would recommend getting hold of some learning materials, as this isn’t a
■ INTRODUCTION
xiv
JavaScript fundamentals book. We also make extensive use of the excellent jQuery JavaScript
library to make life generally easier during development. If that is something that is new to you,
we recommend having a jQuery tutorial or two handy as well. If you have experience with
Prototype, MooTools, or another of jQuery’s “competitors,” then you should be able to adapt the
sample code in the book with relative ease.
In terms of mobile web apps (and other JavaScript-rich web apps), learning how to structure
your applications for readability and maintainability is important. This is one of the reasons that
we have chosen to work through a couple of small application-sized projects in the book rather
than small code-snippets showing particular functionality. This will allow you to become familiar
with the different technical aspects of mobile web app development, and also gain an
understanding of how you might effectively put a real-world mobile web application together.
If you are already familiar with web application development, this book should make the
transition to mobile web app development simple. If, however, you are coming from a mobile
application development perspective, and are looking to explore the web app approach, having
those extra learning materials will make a big difference.
What’s in This Book
This book is structured around two application samples that will teach you the various aspects of
mobile web app development. Chapters 2–6 deal with the first mini application of a simple “To
Do List”, and Chapters 8–12 guide you through the beginnings of building a simple location-
aware game.
In and around these two “main meals” we have three “snack” chapters. Chapter 1 is focused
on getting you up and running with the basic concepts for writing Android web apps. Chapter 7 is
a short look at working with interactivity and the HTML5 canvas. And finally, Chapter 13 takes a
look at some of the things that might be coming our way in the world of mobile apps.
剩余381页未读,继续阅读
心平至和
- 粉丝: 6
- 资源: 42
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
- SPC统计方法基础知识.pptx
- MW全能培训汽轮机调节保安系统PPT教学课件.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0