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

Designing the scaled-up UI


A lot of apps can simply "scale up" to fit the larger screen, and our framework, thankfully, does a lot of the "scaling" part for us. While this works well for games, we do need to do a bit more work to make Filer fit the big screen well.

Getting on with it

If you remember the Filer app from Project 3, Being Productive, there were three views: a start view, a documents view, and the document view. We'll be scrapping the first view—there'd be nothing to do with it to make it work on a larger screen anyway. Instead, we'll focus on the last two views—and, in all honesty, for this task, we're only really going to make a lot of the changes to the first of them.

Let's take a look at the screenshot from the documents view for the Filer app from Project 3, Being Productive:

For our tablet-sized app, we'll display this list of documents horizontally and vertically, rather than just horizontally. On an iPad, this will show about three icons across when in portrait orientation...