[Android] Chapter 1 location service and Mobile Phone Positioning & mdash; This Chapter provides an example of the main interface, and Chapter 2 of android

Source: Internet
Author: User

[Android] Chapter 1 location service and Mobile Phone Positioning-This Chapter provides an example of the main interface, Chapter 2 of android

Category: C #, Android, VS2015;

Created on: 1. Introduction

Currently, location-based services have developed rapidly, involving business, medical, positioning, tracking, warnings in sensitive areas, work and life. The positioning service integrates multiple technologies such as GPS positioning, mobile communication, and navigation to obtain the location information of users' terminal devices. It provides mobile users with comprehensive application services related to spatial location.

In this chapter, we take the built-in positioning Service of Android and Baidu positioning Service as examples to demonstrate the basic usage of Location Service. Ii. Main Interface of this Chapter

1. Run


2. The code in the MainActivity. cs File

chItems.Add (new Chapter ()
{
     ChapterName = "Chapter 18 Location Services and Mobile Location",
     ChapterItems = new ChItem []
     {
         new ChItem {type = typeof (ch1801MainActivity), Title = "Example 18-1 Basic usage of Android location service", Desc = "Demonstrate basic usage of Android's built-in location service"},
         new ChItem {type = typeof (ch1802MainActivity), Title = "Example 18-2 Basic usage of Baidu location service", Desc = "Demonstrate basic usage of location service provided by Baidu"},
     }
}); 


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.