Android Baidu map and simple Renren app (get routes and share with everyone)

Source: Internet
Author: User

 

Now many well-known websites provide open platforms for developers, such as Baidu and Renren! Here is an example of Baidu map provided by Baidu.Program, Has the following features:

(1) Locating the current location (GPS is not used, and positioning is fast and accurate ),

(2) find nearby locations (scenic spots, KFC, etc ),

(3) Get the route to this location

(4) share the route to everyone

 

Let's make it more intuitive:

1. Start Interface

2. Renren login interface

3. the logon is successful and the current location is automatically located (this step cannot be implemented due to the simulator used. I hope you can test it on a real machine ), on this page, press the "menu" key to display the surrounding tourist attractions. If the location cannot be properly located, the default city is Nanjing.

4. Search for some scenic spots

5. some scenic spots (incomplete, you have to make more search keywords, such as "scenic spots, mountains, lakes, scenic spots and monuments)

6. Confirm the departure location and destination (automatic matching)

7. Select the route

8. Obtain the route

9. Share the route to everyone

 

 

 

BecauseCodeI downloaded the complete Baidu map I downloaded online and imitated the two projects and detailed tutorials of the android client for everyone. The projects I wrote have been compressed and uploaded for your convenience:

: Http://download.csdn.net/detail/pzhtpf/4130584

 

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.