Pro Android Web Apps [electronic resource] : Develop for Android using HTML5, CSS3 & JavaScript /
Oehlman, Damon.author.
Blanc, Sbastien.author.
Developing 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 to also write an application once and have it run a variety of different devices.   While the HTML5 specification is still evolving, there is a lot that can be used right now to build mobile web apps. Mobile web apps are now starting to provide many of the features that were once only available to native-language-based apps in Java, Objective-C, etc. Pro Android Web Apps teaches developers already familiar with web application development, how to code and structure a web app for use on the Android mobile platform. Understand both the why and how of mobile web app development, focusing on the Android platform. Learn how to structure mobile web apps through a number of practical, real-world application examples. Discover what cloud platforms such as Google AppEngine have to offer Android web apps, for both hosting web apps and providing device to cloud data synchronization solutions. Get a real picture of the status of HTML5 on Android and other mobile devices, including some things to watch out for when building your own applications. Understand the capabilities of the web application stack, and how to complement those with native bridging frameworks such as PhoneGap to access native features of the device. Gain an understanding of the different UI frameworks that are available for building mobile web apps. Learn how to include mapping and leverage location-based services in mobile web apps to create engaging mobile experiences. Enable social integration with your Android web app and gain access to millions of potential users.  After reading this book, you will not only have a greater understanding of the world of web apps on Android, but also how to leverage additional tools and frameworks to increase the reach of your mobile web apps. Additionally, through the practical samples in the book you will have been given solid exposure of where both the opportunities and challenges lie when building mobile apps the web way.
Title Page; Copyright Page; Contents at a Glance; Table of Contents; About the Authors; About the Technical Reviewer; Acknowledgments; Introduction; Chapter 1 Getting Started; Understanding Android Platform Capabilities; Device Connectivity; Touch; Geolocation; Hardware Sensors; Local Databases and Storage; Camera Support; Messaging and Push Notifications; WebKit Web Browser; Process Management; Android OS Feature Summary; Preparing the Development Environment; Text Editors and Working Directories; Web Server; Mongoose on Windows; Mongoose on Mac OS; Mongoose on Linux; Running Mongoose
Alternative ApproachesEmulator; Creating an Android Virtual Device; Starting the Emulator; Hello World; Summary; Chapter 2 Building a Mobile HTMLEntry Form; HTML for the Mobile Web; Mobile-Ready Web Pages; Introducing the viewport Meta Tag; Autohiding the URL Bar; Adding Form Elements; Adding Some Style; Form Styles with a Splash of CSS3; appearance (-webkit-appearance); border-radius (-webkit-border-radius); box-shadow (-webkit-box-shadow); gradient fill style (-webkit-gradient); Improving the Page Title Appearance; Coding for Different Screen Sizes; Handling Device Orientation Changes
Adding Form ValidationProviding Feedback with Limited Screen Space; Summary; Chapter 3 HTML5 Storage APIs; The Web Storage API; Saving Objects to Web Storage Using JSON; Local vs. Session Storage; The Web SQL Database; Saving To-Do List Items with a Client-Side Database; Database Versioning and Upgrades; Summary; Chapter 4 Constructing a MultipageApp; Single HTML File, Multiple App Pages; Creating a View Manager; Implementing View Actions; Building the Application's Main Screen; Tweaking ViewManager Functionality; Home Screen Storage Requirements; Wiring Up the Home Screen
Building the All Tasks ScreenImplementing the View Stack; Summary; Chapter 5 Synchronizing with theCloud; Exploring Online Storage Options; Online Synchronization Store Requirements; Avoiding a Three-Tier Architecture; User Authentication; A JavaScript Synchronization Library; Possible Synchronization Solutions; Getting Started with Google App Engine; Deploying jsonengine Locally; Choosing a Suitable Synchronization Mode; Sending Your Offline Data to jsonengine; Updating the User Interface for Online Synchronization; Making a Desktop Interface; Querying a jsonengine Instance
Deploying Your Application on the CloudSummary; Chapter 6 Competing with NativeApps; Adding Lightweight Animations and Native-Like Layouts; Adding a Simple Loading Spinner; Adding Scrollable Content; Sprucing Up the Action Bar; Making Your Application Location-Aware; The W3C Geolocation API Specification; Running Your Application Offline; The Offline Cache Manifest File; Exploring Hidden Offline-Caching Features; Detecting Your Connection Status; Summary; Chapter 7 Exploring Interactivity; Introduction to the HTML5 Canvas; Drawing Interactively to the Canvas
Interactivity: The Way of the Mouse
Includes index.
Developing 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 to also write an application once and have it run a variety of different devices.   While the HTML5 specification is still evolving, there is a lot that can be used right now to build mobile web apps. Mobile web apps are now starting to provide many of the features that were once only available to native-language-based apps in Java, Objective-C, etc. Pro Android Web Apps teaches developers already familiar with web application development, how to code and structure a web app for use on the Android mobile platform. Understand both the why and how of mobile web app development, focusing on the Android platform. Learn how to structure mobile web apps through a number of practical, real-world application examples. Discover what cloud platforms such as Google AppEngine have to offer Android web apps, for both hosting web apps and providing device to cloud data synchronization solutions. Get a real picture of the status of HTML5 on Android and other mobile devices, including some things to watch out for when building your own applications. Understand the capabilities of the web application stack, and how to complement those with native bridging frameworks such as PhoneGap to access native features of the device. Gain an understanding of the different UI frameworks that are available for building mobile web apps. Learn how to include mapping and leverage location-based services in mobile web apps to create engaging mobile experiences. Enable social integration with your Android web app and gain access to millions of potential users.  After reading this book, you will not only have a greater understanding of the world of web apps on Android, but also how to leverage additional tools and frameworks to increase the reach of your mobile web apps. Additionally, through the practical samples in the book you will have been given solid exposure of where both the opportunities and challenges lie when building mobile apps the web way.
Android (Electronic resource)
Mobile computing.
Application software.
Mobile Computing.
Computer Applications.