Modify the configuration file of Baidu navigation and change the storage location of map data to solve the problem of insufficient space.

Source: Internet
Author: User

My red rice mobile phone, I have switched the internal and external storage location, sdcard0 is my 32G memory card, sdcard1 is the mobile phone's automatic SD card, only more than 900 m, after installing Baidu navigation, when downloading offline data packets, you accidentally select the internal storage when the software prompts you to store the data. The result is that you can only download the National Basic Package. If you want to continue downloading other data, the system prompts that the space is insufficient.

First, I thought of moving the baidunavi directory on the internal storage to the SD card with RE. The result was useless. After Entering Baidu navigation, only offline data was lost and data was downloaded again, baidu navigation has created a new directory in the original location!

It seems that Baidu navigation stores the location information, so it still sacrifices the magic Re and finds the following directory

/Data/COM. Baidu. Navi/shared_prefs

This configuration is found in the Navi. xml file under this directory.

<String name = "set_common_choosed_sdcard_path">/storage/sdcard1 </string>

Use texteditor to change the above sdcard1 to sdcard0, save and exit. In addition, you must use re to move the baidunavi directory on sdcard1 to sdcard0.

Click Baidu navigation again!

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.