PacktLib: Xamarin Mobile Application Development for Android

Xamarin Mobile Application Development for Android

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

The Anatomy of an Android App

The Android platform

The Android applications

Summary

Xamarin.Android Architecture

Why Xamarin.Android?

What is Mono?

Mono and Dalvik side by side

The Android bindings design

Development environments

Summary

Creating the Points of Interest App

The sample app

Installing Xamarin.Android

Creating the app

Behind the scenes

Summary

Creating a Data Storage Mechanism

Creating the Point of Interest entity class

Creating the POI storage interface

Implementing the POI storage services

Summary

Adding a List View

Creating the POI ListView layout

Populating the ListView item

Adding actions to ActionBar

Configuring an SD card for the emulator

Running POIApp

Android Device Monitor

Handling row clicks

Summary

Adding a Detail View

Creating the POIDetail layout

Adding navigation to POIDetailActivity

Adding Save and Delete actions

Adding validation

Adding a Delete confirmation prompt

Toasting success

Refreshing POIListActivity

Wrapping up

Summary

Making POIApp Location Aware

Location services

Adding map integration

Summary

Adding Camera App Integration

Picking an integration approach

Permissions and Features

Configuring the Emulator

Extending the data service

Capturing an image from POIDetailActivity

Displaying existing images in POIDetailActivity

Displaying POI images in POIListActivity

Summary

Deploying Your App

App distribution options

Preparing for a release APK

Publishing a signed APK

Summary

Index