Xamarin Blueprints.
Leverage the power of Xamarin to create stunning cross-platform and native appsAbout This Book Helps you get a clear practical understanding of creating professional-grade apps with Xamarin Covers Xamarin. Forms, Xamarin Android, and Xamarin iOS If you want to transform yourself from an amateur mobi...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Packt Publishing,
2016.
|
Edición: | 1. |
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Author; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Building a Gallery Application; Create an iOS project; Creating a UIViewController and UITableView; Customizing a cell's appearance; Creating an Android project; Creating an XML interface and ListView; Shared projects; Custom row appearance; Bitmap functions; The ALAssetLibrary; Adding the iOS photo screen; Adding the Android photo screen; Summary; Chapter 2: Building a SpeechTalk Application; Cross-platform development with Xamarin. Forms.
- So how would this look in Xamarin. Forms?Setting up platform projects; So what is happening here?; Setting up the SpeechTalk.iOS project; Setting up the SpeechTalk. Droid project; Xamarin. Forms, Windows Phone, and Visual Studio; What can we see here?; Inversion of Control (IoC) with Xamarin. Forms; So why should we use it?; So how do we benefit from this?; Autofac; iOS text-to-speech implementation; Bindings; Android text-to-speech implementation; Setting up IoC with Android; WinPhone text-to-speech implementation; IoC with Windows Phone; Platform independent styling; Summary.
- Chapter 3: Building a GPS Locator ApplicationCore location and GPS; Project setup; Navigation with Xamarin. Forms; Why would we do this?; Building the navigation control; View model navigation; Integrating Google Maps using Xamarin. Forms. Maps; Reactive Extensions; Core location with iOS and the CLLocationManager library; Handling location updates; Android and the LocationManager; Creating an exit point; Creating an API key for Android; Creating our Windows project; Core Location Services with Windows Phone; The Application class; Web services and data contracts; What about data contracts?
- Creating another API key for geocodingCreating GeocodingWebServiceController; Newtonsoft. Json and Microsoft HTTP client libraries; ModernHttpClient and client message handlers; Feeding JSON data into the IObservable framework; More Reactive Extensions; Resource (RESX) files; Using GeocodingWebServiceController; OnNavigatedTo and OnShow; Pythagoras equirectangular projection; How are we going to calculate the closest position?; Summary; Chapter 4: Building an Audio Player Application; Solution setup; Inversion of control with MVVMCross; View-models with Xamarin native; Creating the bindings.
- NSLayoutContraintsMVVMCross setup inside the PCL; Setting up MVVMCross with iOS; Setting up MVVMCross with Android; The SoundHandler interface; Implementing the iOS SoundHandler using the AVAudioPlayer framework; The Mvx IoC container; The audio player; A cleaner code approach to NSLayout; Creating AudioPlayerPageViewModel; Implementing the Android SoundHandler using the MediaPlayer framework; XML and Mvx bindings; MvxActivities; Summary; Chapter 5: Building a Stocklist Application; Understanding the backend; Creating an ASP.Net Web API 2 project; Building an API controller.