You can also do it as:
WallpaperManager wlp = WallpaperManager.getInstance(*this*); Drawable d = wlp.getDrawable(); textView.setBackgroundDrawable(d); Regards, Rajiv On Thu, Jun 3, 2010 at 11:47 AM, Ericson, Anders < [email protected]> wrote: > Hi, > > In your "AndroidManifest.xml" you can add this to your activity: > android:theme="@android:style/Theme.Wallpaper" > > /Anders > > -----Original Message----- > From: [email protected] [mailto: > [email protected]] On Behalf Of AndroidNewbie > Sent: den 3 juni 2010 05:49 > To: Android Developers > Subject: [android-developers] Set wallpaper as background > > Hi , > > I want to set current wallpaper as my application background . Any > ideas to do it through XML or Java code ? > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

