Android-Modify default Wallpaper

Source: Internet
Author: User

First, create the custom directory under the/device/vimicro/v971/directory, and then create the directory overlay \ frameworks \ base \ core \ res \ drawable. Put the default wallpaper default_wallpaper.jpg on the bottom. Then, create the device_custom.mk file in the Custom directory and write it in it

# Set overwrite directory
Device_package_overlays: = device/vimicro/v971/custom/overlay

Of course, many user-level files can be customized under the custom directory, such as app and media, and then processed in the device_custom.mk file! It is best to include the device_custom.mk file in an MK file, for example, $ (call inherit-product-if-exists, device/vimicro/v971/custom/device_custom.mk) in this way, the android compilation system can be traversed.

 

Reason:

Based on overlays \ backup \ frameworks \ base \ packages \ settingsprovider \ res \ values \ defaults. XML in the device \ sample directory,

In the device \ sample \ products directory, backup_overlay.mk product_package_overlays: = device/sample/overlays/backup

In this way, the original ults. xml file is replaced. Then we can replace the default wallpaper of Android.

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.