For some reason my onPostExecute() is not called after my AsyncTask finishes.
onPostExecute()
AsyncTask
My class decleration:
public class setWallpaper
Did you start the task with execute() method? The onPostExecute wouldn't run if you just invoke the doInBackground.
execute()
onPostExecute
doInBackground