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?

Instructions:-

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++)
    Code:
    Select Code
    <?xml version="1.0" encoding="utf-8"?>
    <resources>
        <string-array name="wallpapers">
            <item>wallpaper_01</item>
            <item>wallpaper_02</item>
            <item>wallpaper_03</item>
            <item>wallpaper_04</item>
            <item>wallpaper_05</item>
            <item>wallpaper_06</item>
            <item>wallpaper_07</item>
            <item>wallpaper_08</item>
            <item>wallpaper_09</item>
            <item>wallpaper_10</item>
            <item>wallpaper_11</item>		
        </string-array>
    </resources>
  • 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.
    Code:
    Select Code
    <?xml version="1.0" encoding="utf-8"?>
    <resources>
        <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>
    </resources>

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.