Learning Mobile App Development: A Hands-on Guide to Building Apps with iOS and Android

Learning Mobile App Development: A Hands-on Guide to Building Apps with iOS and Android

Jakob Iversen, Michael Eierman

Language: English

Pages: 464

ISBN: 032194786X

Format: PDF / Kindle (mobi) / ePub


The Only Tutorial Covering BOTH iOS and Android—for students and professionals alike!

 

Now, one book can help you master mobile app development with both market-leading platforms: Apple’s iOS and Google’s Android. Perfect for both students and professionals, Learning Mobile App Development is the only tutorial with complete parallel coverage of both iOS and Android. With this guide, you can master either platform, or both—and gain a deeper understanding of the issues associated with developing mobile apps.

 

You’ll develop an actual working app on both iOS and Android, mastering the entire mobile app development lifecycle, from planning through licensing and distribution.

Each tutorial in this book has been carefully designed to support readers with widely varying backgrounds and has been extensively tested in live developer training courses. If you’re new to iOS, you’ll also find an easy, practical introduction to Objective-C, Apple’s native language.

 

All source code for this book, organized by chapter, is available at https://github.com/LearningMobile/BookApps

 

Coverage includes

  • Understanding the unique design challenges associated with mobile apps
  • Setting up your Android and iOS development environments
  • Mastering Eclipse development tools for Android and Xcode 5 tools for iOS
  • Designing interfaces and navigation schemes that leverage each platform’s power
  • Reliably integrating persistent data into your apps
  • Using lists (Android) or tables (iOS) to effectively present data to users
  • Capturing device location, displaying it, and using it in your apps
  • Accessing hardware devices and sensors
  • Publishing custom apps internally within an organization
  • Monetizing your apps on Apple’s AppStore or the Google Play marketplace, as well as other ways of profiting from app development, such as consulting and developer jobs

 

 

High Performance Computing in Science and Engineering '10: Transactions of the High Performance Computing Center, Stuttgart (HLRS) 2010

Sams Teach Yourself Xcode 4 in 24 Hours

How to Do Everything Windows 8 (How to Do Everything)

Raspberry Pi Projects for Kids

PC Gamer (August 2015)

New Perspectives on Microsoft Excel 2010

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

6, “Lists in Android: Navigation and Information Display,” when you implement the contact list functionality of your app. Layout A layout is the visual component of a user interface in Android. The layout is not a class but rather an XML file that is used to tell the operating system what visual objects are to be displayed, how those objects are configured, and where those objects should be displayed on the screen. The XML in the file does use objects. The objects that make up an Android

underlined in yellow. This indicates that the method is never used. To use it, enter initListButton(); after the setContent (R.layout.activity_contact) line of code in the onCreate method at the beginning of the file. This code calls the button initiation code at creation of the activity so that it is ready for use when the user sees the layout. The yellow line should disappear. Complete the navigation bar code by copying the preceding code for each of the two remaining ImageButtons, and make the

isBetter = true; } else if (location.getTime() - currentBestLocation.getTime() > 5*60*1000) { isBetter = true; } return isBetter; } //1 //2 //3 This method is an example of the types of checks that can be done to determine if a new location is better than another location. 1. The first check determines if there is an existing location. If not, the new location is considered better. 2. The second check determines if the new location has better accuracy than the existing location. If so, it is

considered better. 3. The last check determines how much newer the new location is. Each Location object gets a time stamp when it is created. In this check, if the new location is newer than the old location by more than five minutes, it is considered better, even though it may not be as accurate. This type of check is especially important if you design the app to be used when the device is in motion. This new method should be called in the onLocationChanged method of both sensor listeners to

whether the contact has an ID. If not, a message is posted for the user. If there is an ID, that ID is passed to the ContactMapActivity. Switch to ContactMapActivity.java. Delete the code in the onCreate method associated with enabling the device’s location and the location changed listener. The first step is to get the data for mapping. This is done by checking for any extras. If there are no extras, all the contacts are retrieved. If there is an extra, just the information for one contact is

Download sample

Download