Hi,
I made a wallpaper app and right now it does this:
case R.id.bSetWallpaper:
Bitmap whatever =
BitmapFactory.decodeStream(getResources().openRawResource(toPhone));
try{
getApplicationContext().setWallpaper(whatever);
}catch(IOException e){
e.printStackTrace();
Instead of the Set
please refer this link
http://www.androiddevblog.net/android/creating-android-live-wallpaper
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this
Hey
I've got a bug report for an app of mine where the setWallpaper() call
does not seem to work. Usually when an exception occurs in the call I
catch it and show a toast saying an error occurred while setting
wallpaper but for this one person (HTC Desire running 2.1) there is no
exception and
I am using the setWallpaper method and I am having problems with it.
Rarely it seems to work fine, others I just get a white screen on the
home screen. And I cannot pin point what the difference is. Right now
it is always white. Has anyone else experience problems? Is there any
requirements with
4 matches
Mail list logo