Xamarin Studio for Android Programming: A C# Cookbook

Over 50 hands-on recipes to help you get grips with Xamarin Studio and C# programming to develop market-ready Android applications

Xamarin Studio for Android Programming: A C# Cookbook

Mathieu Nayrolles

1 customer reviews
Over 50 hands-on recipes to help you get grips with Xamarin Studio and C# programming to develop market-ready Android applications
Mapt Subscription
FREE
$29.99/m after trial
eBook
$25.20
RRP $35.99
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$25.20
$44.99
$29.99p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781849691406
Paperback298 pages

Book Description

Multiplatform applications have taken the development world by storm. This has revolutionized the selection of the right tools for the efficient development and deployment of applications. Xamarin studio is emerging as the preferred choice among .NET/C# developers. It enables them to design cross-platform applications using their favorite language and IDE. Xamarin studio is supported by the Mac OS and Windows platforms, and you can develop your own applications for iOS, Windows, or Android with its help.

This book takes you through all the stages of application development, right from getting started with Xamarin and developing a GUI to putting up your application on the store. The recipes will help you in acquiring sufficient knowledge to go about creating applications.

Starting with introducing Xamarin studio, its underlying technologies, and the Android ecosystem, the book goes on to cover the graphical aspects of creating Android applications. Moving on, you will learn more about data management with Android services. This is followed by techniques on how to interact with the Android OS and the phone's hardware, before finally concluding with mobile advertisements and Google Play. By the end of this book, you will have discovered all the specialties related to developing Android application with Xamarin Studio.

Table of Contents

Chapter 1: Getting Started
Introduction
Installing the Xamarin suite
Building a Hello World App!
Chapter 2: Mastering the Life and Death of Android Apps
Introduction
Understanding Android activities
Practicing the activities' lifecycles
Going through state-saving management
Chapter 3: Building a GUI
Introduction
The multiscreen application
Using form elements
Using rotation
Adding layouts
Customizing components
Chapter 4: Using Android Resources
Introduction
Creating a SplashScreen
Using an icon for your application
Playing a song
Playing a movie
Chapter 5: Using On-Phone Data
Introduction
Storing preferences
Simple file reading/writing
Serializing and deserializing objects into files
Using the SQLite database
Chapter 6: Populating Your GUI with Data
Introduction
Populating simple objects
Populating the datepicker
Populating the spinner
Populating ListView
Creating a custom adapter
Chapter 7: Using Android Services
Introduction
Implementing a started service
Implementing a bound service
Send notifications from your service
Creating a news feed service
Chapter 8: Mastering Intents – A Walkthrough
Introduction
Opening external applications
Monitoring time
Application monitoring
Solving equations
Sending an SMS
Chapter 9: Playing with Advanced Graphics
Introduction
Using the camera
Taking screenshots with the camera
Creating animations
Creating your own gestures
Chapter 10: Taking Advantage of the Android Platform
Introduction
Mastering fragments
Exploring Jelly Bean
Exploring KitKat
Integrating maps
Chapter 11: Using Hardware Interactions
Introduction
Beaming messages with NFC
Using the accelerometer and other sensors
Using Bluetooth
Using GPS
Chapter 12: Debugging and Testing
Introduction
Debugging in an emulator
Debugging on a phone
Unit testing
Chapter 13: Monetizing and Publishing Your Applications
Introduction
Creating an Ad unit
Installing the required SDKs
Integrating advertisements in your applications
Preparing your application for publishing
Publishing your application
Conclusion

What You Will Learn

  • Build a GUI for your Android applications
  • Explore Android activities and understand configuration changes
  • Manage multiscreens, icons, and multimedia in your applications
  • Start and bind Android services and create notifications
  • Create beautiful applications using the camera and animations
  • Effectively couple your phone's hardware with applications
  • Integrate advertisements and select the right advertisement providers for your applications

Authors

Table of Contents

Chapter 1: Getting Started
Introduction
Installing the Xamarin suite
Building a Hello World App!
Chapter 2: Mastering the Life and Death of Android Apps
Introduction
Understanding Android activities
Practicing the activities' lifecycles
Going through state-saving management
Chapter 3: Building a GUI
Introduction
The multiscreen application
Using form elements
Using rotation
Adding layouts
Customizing components
Chapter 4: Using Android Resources
Introduction
Creating a SplashScreen
Using an icon for your application
Playing a song
Playing a movie
Chapter 5: Using On-Phone Data
Introduction
Storing preferences
Simple file reading/writing
Serializing and deserializing objects into files
Using the SQLite database
Chapter 6: Populating Your GUI with Data
Introduction
Populating simple objects
Populating the datepicker
Populating the spinner
Populating ListView
Creating a custom adapter
Chapter 7: Using Android Services
Introduction
Implementing a started service
Implementing a bound service
Send notifications from your service
Creating a news feed service
Chapter 8: Mastering Intents – A Walkthrough
Introduction
Opening external applications
Monitoring time
Application monitoring
Solving equations
Sending an SMS
Chapter 9: Playing with Advanced Graphics
Introduction
Using the camera
Taking screenshots with the camera
Creating animations
Creating your own gestures
Chapter 10: Taking Advantage of the Android Platform
Introduction
Mastering fragments
Exploring Jelly Bean
Exploring KitKat
Integrating maps
Chapter 11: Using Hardware Interactions
Introduction
Beaming messages with NFC
Using the accelerometer and other sensors
Using Bluetooth
Using GPS
Chapter 12: Debugging and Testing
Introduction
Debugging in an emulator
Debugging on a phone
Unit testing
Chapter 13: Monetizing and Publishing Your Applications
Introduction
Creating an Ad unit
Installing the required SDKs
Integrating advertisements in your applications
Preparing your application for publishing
Publishing your application
Conclusion

Book Details

ISBN 139781849691406
Paperback298 pages
Read More
From 1 reviews

Read More Reviews