{"id":3431,"date":"2020-04-24T14:15:57","date_gmt":"2020-04-24T04:15:57","guid":{"rendered":"https:\/\/learntodroid.com\/?p=3431"},"modified":"2021-01-13T09:55:28","modified_gmt":"2021-01-12T23:55:28","slug":"how-to-create-a-wallpaper-app-for-android-tutorial-with-code","status":"publish","type":"post","link":"http:\/\/10.0.0.14:32769\/how-to-create-a-wallpaper-app-for-android-tutorial-with-code\/","title":{"rendered":"How to Create a Wallpaper App for Android Tutorial with Code"},"content":{"rendered":"\n

For my second app in the series of posts on how to create different types of apps from scratch<\/a>, I have put together a tutorial on how to build a wallpaper app for Android.<\/p>\n\n\n\n

In addition to showing you how to create an Android app in to set the wallpaper we will also cover how to create an interactive live wallpaper app.<\/p>\n\n\n\n

I have published the source code used for this tutorial written in Java in GitHub which you are free to clone and use.<\/p>\n\n\n\n

https:\/\/github.com\/learntodroid\/WallpaperAppTutorial<\/a><\/p>\n\n\n\n

Wallpaper Android App Tutorial<\/h2>\n\n\n\n

Summary of the Wallpaper App<\/h3>\n\n\n\n

The wallpaper Android app we will be creating will contain a vertical scrolling RecyclerView. This RecyclerView will contain a list of cards for the each wallpaper. The wallpaper card will show an image of the wallpaper and a title underneath.<\/p>\n\n\n\n

When the wallpaper card image is selected, it will set the wallpaper on the device to the image selected.<\/p>\n\n\n\n

Take a look at a screenshot of wallpaper Android App we will be creating below.<\/p>\n\n\n\n

\"\"<\/figure><\/div>\n\n\n\n

Step 1: Requesting Permissions in the Android Manifest<\/h3>\n\n\n\n

We will need to request the following two Android permissions in the manifest file for our Android wallpaper app to work.<\/p>\n\n\n\n