Book Image

PhoneGap 2.x Mobile Application Development HOTSHOT

By : Kerri Shotts
Book Image

PhoneGap 2.x Mobile Application Development HOTSHOT

By: Kerri Shotts

Overview of this book

<p>Do you want to create mobile apps that run on multiple mobile platforms? With PhoneGap (Apache Cordova), you can put your existing development skills and HTML, CSS, and JavaScript knowledge to great use by creating mobile apps for cross-platform devices.</p> <p>"PhoneGap 2.x Mobile Application Development Hotshot" covers the concepts necessary to let you create great apps for mobile devices. The book includes ten apps varying in difficulty that cover the gamut – productivity apps, games, and more - that are designed to help you learn how to use PhoneGap to create a great experience.</p> <p>"PhoneGap 2.x Mobile Application Development Hotshot" covers the creation of ten apps, from their design to their completion, using the PhoneGap APIs. The book begins with the importance of localization and how HTML, CSS, and JavaScript interact to create the mobile app experience. The book then proceeds through mobile apps of various genres, including productivity apps, entertainment apps, and games. Each app covers specific items provided by PhoneGap that help make the mobile app experience better. This book covers the camera, geolocation, audio and video, and much more in order to help you create feature-rich mobile apps.</p>
Table of Contents (19 chapters)
PhoneGap 2.x Mobile Application Development HOTSHOT
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
InstallingShareKit 2.0
Index

Can you take the HEAT? The Hotshot Challenge


There are several ways you can improve upon this app:

  • Our app only asks the user if they really want to delete a file, but other operations are equally dangerous. Add in confirmations if the action the user is about to perform would overwrite data (for example, renaming a document to an existing document's name or creating a document with the same name as an existing document).

  • Add functionality to check if the filename a user is supplying is valid. Then, either indicate this to the user or silently change the invalid characters to valid characters.

  • We don't provide subdirectory functionality, but there's no reason why you couldn't. In fact, we explicitly ignore subdirectories in our code, as they add a lot of complexity to the file management system. Why don't you add subdirectory management to the app?

  • Instead of storing notes, perhaps you could store some forms instead. Perhaps simple addresses or reminders—really, just about anything.