• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps How can I change the users background?

This is pretty self explanatory, try using
Code:
.setBackground...()
for example,
.setBackgroundColor(Color.RED);
or
.setBackgroundDrawable(Drawable d);
or finally
.setBackgroundResource(R.id.example);

all used of coarse, on an

Code:
RelativeLayout rev = (RelativeLayout) findViewById(R.id.RelativeLayout01);
 
Thanks for the reply but I am looking for a way to change the users background not the app's background in other words the background on the home screen. Sorry for the ambiguity.
 
Thanks for the reply but I am looking for a way to change the users background not the app's background in other words the background on the home screen. Sorry for the ambiguity.

I'm sorry, I misunderstood the question, I obviously thought you meant the application currently running's background, sorry for the misunderstanding, this is a great question and I'm also looking forward to finding an answer to this, It would be nice to figure out how to do it!
 
Hey, I stumbled a crossed the answer to this and remembered u asked this question: look up the wallpaperManager class, this will solve your problem!
 
Back
Top Bottom