How do I update the system wallpaper in an Android 1.6 service after changing it with setWallpaper()

Posted by Majakk on Stack Overflow See other posts from Stack Overflow or by Majakk
Published on 2010-06-02T09:58:19Z Indexed on 2010/06/02 12:34 UTC
Read the original article Hit count: 245

Filed under:
|
|
|

So basically the code "almost" works - the problem is that the system does not appear to know that the system wallpaper have been changed or does not do anything about it. Starting and closing another app manually appears to enforce an update.

In an event call the following is done: getApplicationContext().setWallpaper(pWallOne);

Is there some way of telling the android system to update the graphics or to do some cheap trick that forces it to? Any help or tip would be very much appreciated!!

© Stack Overflow or respective owner

Related posts about android

Related posts about graphics