Open source Android Traffic assistant app based on Baidu Map SDK

Source: Internet
Author: User

Baidumap-trafficassistant

?? The project is based on the Baidu Map SDK development of a traffic assistant app, has been launched on-line pea pod, Meizu application market, Sogou mobile phone assistant and many other Android application market. At the moment I decided to open up the project to provide services and facilities for more Android app developers or developers based on Baidu Map SDK. Of course, there are many bug and extensible function modules in the app, and I hope that developers will contribute their code power to the project. Project Address: Https://github.com/chenyufeng1991/BaiduMap-TrafficAssistant

1. Project Introduction

?? This version of the Baidu Map SDK for v3.2.0. Using the Baidu Map SDK to achieve the functions are: General map display, satellite map display, traffic flow map display, City Heat chart Display, positioning function, mode switching (normal mode, follow mode, compass mode), bus subway query, offline map download and navigation functions. Additional features include Browse Web features and address Book features.
?? I also set aside a number of interfaces for everyone to develop other modules: Login registration, smart Assistant and entertainment features. If you have good idea, you can do it in the app. I hope that with the concerted efforts of more developers, the application will be developed into a good product. The main system interface is as follows:


2. Development Guide

?? If you download or clone code, in fact, not in your real computer or simulator to display Baidu map, but also need to carry out a simple Baidu Map SDK development configuration. The configuration is as follows:

(1) Create an app

?? You need to go to Baidu Map SDK platform website Http://developer.baidu.com/map/index.php?title=%E9%A6%96%E9%A1%B5 to apply for a key value, go to the upper right corner of the "API console", Then create an app.

(2) Get key

?? What we need to create is an Android app. :


(3) Security Code

?? In the previous step, you need to fill in a security code, this is very critical! Security Code = Digital Signature +;+ package name. The app's package name is: com.android.traffic. How do I get a digital signature? You can go to preferences–>android–>build under Eclipse, where SHA1 fingerprint is the digital signature we want.


(4) Get AK Copy to Project

?? After completing the above steps, you can obtain an Access application (AK) and then copy the AK to the Api_key location under the project Androidmenifest.xml file.





(5) Running the project

?? So far, you can already run the app on a real machine or simulator. Note, however, that the simulator runtime positioning feature will not be available, and personal advice is best to run debugging on a real machine.

3. Development recommendations

?? By looking at the main interface you can know that login registration module, intelligent Assistant module and entertainment module is not implemented, if you have other better implementation, can also be reflected. Hope this open source project can be in everyone's efforts to get better and look forward to your code.

4. Operation effect (1) Positioning function



(2) Satellite map



(3) Traffic flow chart



(4) Urban heat Force diagram



(5) Compass mode



(6) Bus Subway enquiry






(7) Offline map download



5.Github Home

?? My GitHub homepage: https://github.com/chenyufeng1991, Welcome to visit us!

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Open source Android Traffic assistant app based on Baidu Map SDK

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.