[Android version]
6573 Android v2.3
6575 Android v2.3/v4.0
[Description]
How to customize the default wallpaper for the first boot.
[Solution]
The default Wallpaper can be set to an image or a dynamic wallpaper.
Static Wallpaper
Android v2.3:
ReplaceFrameworks/base/CORE/RES/drawable/default_wallpaper.jpgImage
Android v4.0:
ReplaceFrameworks/base/CORE/RES/drawable-nodpi/default_wallpaper.jpgImage
Dynamic Wallpaper
ModifyFrameworks/base/CORE/RES/values/config. xmlFile
Find <string name = "default_wallpaper_component"> @ null </string>
Change
<String name = "default_wallpaper_component"> com. Android. wallpaper/. Nexus. nexuswallpaper </string>
Com. Android. wallpaper/. Nexus. nexuswallpaper, "/" indicates the package name and class name.
Note:If you want to set a third-party live wallpaper program without source code built into the system as the default live wallpaper, you need to know the class name and package name corresponding to wallpaperservice In the APK, you can use the APK-tool provided by Google to obtain the resource file of the APK. Then you can view the androidmanifest. find the corresponding wallpaper in the XML file.
Service Class Name and package name.