Remove All Ads from XDA
Find Your Device:
Or Continue to Thread: [App 2.3+] Wallpaper Gallery |…
21st February 2014, 05:12 PM |#2  
OP Senior Member
Thanks Meter: 2,390
Guide: Make your own Gallery!

You can decompile this application and then you can replace, add more wallpapers. You can also add HD/High Quality wallpapers if you wish. Remember, the compiled apk size depends on the size of the wallpapers added. If the wallpapers are big, the apk also become big.

Want to download High Quality Wallpapers?


Step:1 - DeCompile apkVTS Screens:

Step:2 - Choosing Wallpapers
  • Go to decompiled folder.
  • \Data\res\drawable-ldpi - folder contains wallpaper files and application icon.
  • These represent each set of wallpaper,
  • wallpaper_xx.jpg - The original wallpaper file.
  • wallpaper_xx_small.jpg - Resolution reduced preview image for the wallpaper.
  • you can replace 'xx' by '01, 02, 03,....' numbers.
  • This app contains 10 default wallpapers. You can append more wallpapers by adding 'wallpaper_11.jpg' & 'wallpaper_11_small.jpg'

You can use some Image Resizer tools for making previews.
(Small files about resolution reduced to 20% of the original files)
Search Google for such tools
I use FastStone Image Viewer for batch resize images.

Step:3 - Adding Wallpaper Names to arrays.xml
  • Go to \Data\res\values-ldpi - folder
  • Open 'arrays.xml' file with Notepad++ / Wordpad or any other text editor.
  • <item>wallpaper_11</item> - This line adds the newly added wallpaper to the list.
  • Do not touch any other text in the xml file. Edit BLACK text only (Notepad++)
    <?xml version="1.0" encoding="utf-8"?>
        <string-array name="wallpapers">
  • Now save the xml file.

Step:4 - Setting Application Icon
  • 'brijeshep_icon.png' - This image is the application icon. You can replace it with any png file with 48x48 pixels. Do not rename the icon file.

Step:5 - Setting Application Label and Title
  • If you want to change the application title "Wallpapers",
  • Go to \Data\res\values - folder
  • Open 'strings.xml' file with Notepad++

  • Edit the Application Name: <string name="app_name">Kitkat Gallery</string> like...
  • Edit the Wallpaper Setting title: <string name="app_label">KK-Wallpapers</string>
  • Save the xml file.
    <?xml version="1.0" encoding="utf-8"?>
        <string name="app_name">Kitkat Gallery</string>
        <string name="app_label">KK-Wallpapers</string>
        <string name="set_wallpaper">Set Wallpaper</string>
        <string name="no_wallpaper">No Wallpaper</string>

Step:6 - Compile the Project files
  • If you have finished modding, Compile the project to make the modified apk.

  • You can compile the project by clicking 'Build all' button if you are in VTS.
  • Go to project's 'Binary' folder to get the recompiled apk.
Last edited by brijeshep; 21st February 2014 at 06:12 PM.
The Following User Says Thank You to brijeshep For This Useful Post: [ View ] Gift brijeshep Ad-Free