Building Mobile Applications with Java(English, Undefined, Marinacci Joshua)
Quick Overview
Product Price Comparison
Do you want to develop mobile apps with Java—and have them work on a variety of devices powered by iOS and Android? You’ve come to the right place. This project-driven book shows you how to build portable apps with two amazing open source frameworks, Google Web Tools (GWT) and PhoneGap. With these tools, you’ll use learn how to write Java code that compiles into cross-platform Javascript and HTML, and discover how to take advantage of features in several popular devices, such as the camera, accelerometer, and GPS. Get started with GWT by building an example Twitter search app Build a example web app and adapt it for mobile with CSS Add touch centric controls with the GWT Mobile UI library Develop a working wine journal app that tracks a user’s GPS location Use techniques to make a mobile version of your web or desktop app Work with HTML5 Canvas to build a mobile video game Package your apps for iOS, webOS, and Android with PhoneGap About the Author Joshua Marinacci first tried Java in 1995 at the request of his favorite TA and never looked back. He has spent the last fifteen years writing Java user interfaces for wireless, web, and desktop platforms. After co-writing Swing Hacks with Chris Adamson, Joshua spent five years at Sun working on Java user interfaces full-time; contributing to Swing, NetBeans, JavaFX, and the Java Store. Then he explored the mobile web for two years as a developer advocate for webOS and has recently joined Nokia as a researcher. Joshua holds a BS in Computer Science from Georgia Tech and lives in Eugene, Oregon with his wife and baby son. Table of Contents Chapter 1 Greetings, Mobile App Developers Chapter 2 Getting Started with GWT What Is GWT? Installing GWT Building a Twitter Search App Next Steps Chapter 3 Getting Started with PhoneGap Packaging a webOS App Packaging an Android App Packaging an iOS App Chapter 4 Customizing Your App for Mobile CSS Overview Styling GWT with CSS Adapting to Device Screen Sizes Adjusting Layout for Mobile Chapter 5 Building a Pure Mobile App with GWT Mobile UI Designing the Wine Journal GWT Mobile UI Building the Screens Saving the Wine Data Getting the User’s Location Taking Photos Polish Next Steps Chapter 6 Advanced Mobile Optimizations Optimizing the Experience Simplify, Simplify, Simplify Other Ways to Simplify Polish, Polish, Then Polish Some More Improving Download Time Chapter 7 Box2D and Canvas Working with Canvas Physics with Box2D Hooking Up the Accelerometer Chapter 8 Next Steps