Professional Android Programming with Mono for Android and .NET/C#

Book description

A one-of-a-kind book on Android application development with Mono for Android

The wait is over! For the millions of .NET/C# developers who have been eagerly awaiting the book that will guide them through the white-hot field of Android application programming, this is the book. As the first guide to focus on Mono for Android, this must-have resource dives into writing applications against Mono with C# and compiling executables that run on the Android family of devices.

Putting the proven Wrox Professional format into practice, the authors provide you with the knowledge you need to become a successful Android application developer without having to learn another programming language. You'll explore screen controls, UI development, tables and layouts, and MonoDevelop as you become adept at developing Android applications with Mono for Android.

  • Answers the demand for a detailed book on the extraordinarily popular field of Android application development

  • Strengthens your existing skills of writing applications and shows you how to transfer your talents to building Android apps with Mono for Android and .NET/C#

  • Dives into working with data, REST, SOAP, XML, and JSON

  • Discusses how to communicate with other applications, deploy apps, and even make money in the process

Professional Android Programming with Mono for Android and .NET/C# gets you up and running with Android app development today.

Table of contents

  1. Cover
  2. Chapter 1: Introduction to Android, Mobile Devices, and the Marketplace
    1. Product Comparison
    2. Mobile Development
    3. Android
    4. Cross-Platform Alternatives
    5. Summary
  3. Chapter 2: Introduction to Mono for Android
    1. Before You Begin Developing
    2. Visual Studio Development with Mono for Android
    3. Mono for Android Development with MonoDevelop
    4. Summary
  4. Chapter 3: Understanding Android/Mono for Android Applications
    1. What Is an Android Application?
    2. Binding the Components: The Android Manifest
    3. Summary
  5. Chapter 4: Planning and Building Your Application's User Interface
    1. Guidelines for a Successful Mobile UI
    2. Building an Android UI
    3. Choosing a Control Layout
    4. Designing Your User Interface Controls
    5. Controlling Your Menus
    6. Resolution-Independent UI
    7. Constructing a User Interface: A Phone and Tablet Example
    8. Summary
  6. Chapter 5: Working with Data
    1. Working with SQLite
    2. Upgrading Strategies
    3. Android-Specific Database Options
    4. Working with Remote Data
    5. Retrieving Data Using LINQ and XML
    6. Using Web Services Responsibly
    7. Working with Remote SQL Server Databases
    8. Summary
  7. Chapter 6: Binding Data to Controls
    1. Databinding in Mono for Android
    2. Working with Cursors
    3. Working with Lists
    4. Summary
  8. Chapter 7: Working with the File System and Application Preferences
    1. Working with the File System
    2. Working with Application Preferences
    3. Summary
  9. Chapter 8: Programming with the Device Hardware
    1. Working with Sensors
    2. Responding to Acceleration
    3. Building a Compass
    4. Vibration
    5. Networking Connectivity
    6. Bluetooth Manager
    7. Enabling Voice Recognition in Your App
    8. Getting Turn-by-Turn Directions
    9. Summary
  10. Chapter 9: Using Multimedia — Audio, Video, and the Camera
    1. Android Media Classes
    2. Playing Audio and Video
    3. Recording Audio and Video
    4. Images and Using the Camera
    5. Adding New Media to the Media Store
    6. Speech Recognition
    7. Summary
  11. Chapter 10: Talking to Other Applications and Libraries
    1. Android Application Integration
    2. Application Integration
    3. Integrating with Contacts
    4. Summary
  12. Chapter 11: Developing Background Services and Asynchronous Code
    1. The Life Cycle of a Service
    2. Using Threads for Asynchronous Processing
    3. Communicating with the UI
    4. Notifying the User with Notifications
    5. Summary
  13. Chapter 12: Canvas and Drawables: Building Custom Android Graphics
    1. Working with Graphics in Mono for Android
    2. Using the Canvas Object
    3. The 2D Graphics Library
    4. Using Drawables
    5. Summary
  14. Chapter 13: Working with Location Information
    1. Understanding Location Basics
    2. Selecting a Location Provider
    3. Geocoding
    4. Constructing Proximity Alerts
    5. Using Google Maps
    6. Summary
  15. Chapter 14: Internationalization and Localization
    1. Selecting a Localization Strategy
    2. Updating Language and Regional Settings
    3. Understanding the Mechanics of Android Localization
    4. Supporting Multiple Languages
    5. Localizing Other Resources
    6. Advanced Usage of Strings.xml
    7. Working with Format Conversions
    8. Summary
  16. Chapter 15: Sharing Code between Mono for Android, MonoTouch, and Windows Phone 7
    1. Overview of the Three Platforms
    2. Using Class Libraries to Separate the Code
    3. Assemblies Available on Each Platform
    4. One Class Library to Rule Them All
    5. Putting It All Together: Creating a Cross-Platform Application
    6. Summary
  17. Chapter 16: Preparing and Publishing Your Application to the Market
    1. Preparing Your Application
    2. Publishing Your Application to the Android Market
    3. Summary
  18. Chapter 17: Android Tablets
    1. Examining the Android Tablet Marketplace
    2. Designing a Tablet UI
    3. Using the Action Bar
    4. Partial Screen Control Using Fragments
    5. Summary
  19. Appendix A
  20. Foreword
  21. Introduction
  22. Advertisements

Product information

  • Title: Professional Android Programming with Mono for Android and .NET/C#
  • Author(s):
  • Release date: April 2012
  • Publisher(s): Wrox
  • ISBN: 9781118026434