Book Image

Mastering Cross-Platform Development with Xamarin

Book Image

Mastering Cross-Platform Development with Xamarin

Overview of this book

The main goal of this book is to equip you with the required know-how to successfully analyze, develop, and manage Xamarin cross-platform projects using the most efficient, robust, and scalable implementation patterns. This book starts with general topics such as memory management, asynchronous programming, local storage, and networking, and later moves onto platform-specific features. During this transition, you will learn about key tools to leverage the patterns described, as well as advanced implementation strategies and features. The book also presents User Interface design and implementation concepts on Android and iOS platforms from a Xamarin and cross-platform perspective, with the goal to create a consistent but native UI experience. Finally, we show you the toolset for application lifecycle management to help you prepare the development pipeline to manage and see cross-platform projects through to public or private release.
Table of Contents (19 chapters)
Mastering Cross-Platform Development with Xamarin
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Location data


Nowadays, geo-context (location awareness) is becoming more and more crucial for applications, especially the ones running on mobile platforms. For instance, search engines optimize results according to the location information they gather from the client platform, social media and photo applications add geo-tags to posts and media items, and there are many more use cases for the data about not how or on which platform the application is running, but where.

On Xamarin platforms, the location information is provided making use of several different sources. The most accurate of these sources is GPS (Global Position System). This option consumes the most power and, generally, is only available for foreground applications. Other options that can provide somewhat less accurate data are network providers such as Wi-Fi or Cellular data. iBeacon is another technology introduced by Apple and applicable to iOS 7+ devices. iBeacon-compatible devices transmit location information using...