Configure default Wallpaper into Build

3,094 views
Skip to first unread message

Martin Espericueta

unread,
Feb 17, 2014, 1:52:27 PM2/17/14
to android-...@googlegroups.com
Hello Folks,

I've Googled to no avail (results show how to set wallpaper from within Android, and not building one in) about how to configure a default wallpaper into a build.

Anyone care to take the time to tell me which (I've looked in build repo....) repository/project you add the wallpaper, and what config.mk you use to call it?

I have successfully created and have build into my ROM, a new boot animation, but can't find the wallpapers...

Thanks in advance!

andrew2hart

unread,
Feb 18, 2014, 4:53:38 AM2/18/14
to android-...@googlegroups.com
I was looking for this too and only found files like this : packages/apps/Launcher2/res/drawable-xhdpi/wallpaper_01.jpg
I couldn't guess how the default is set but you could just change it to a different image, no?

Martin Espericueta

unread,
Feb 18, 2014, 12:13:10 PM2/18/14
to android-...@googlegroups.com, andrew...@gmail.com
True Andrew, we can change that, and see if that'll work. That requires forking the Launcher2 repo tho, which is fine by me, but just ANOTHER project to keep up with for commit changes lol. Ah the life of a developer.....

Alok Verma

unread,
Feb 18, 2014, 11:38:47 PM2/18/14
to android-...@googlegroups.com
It should be easy. look for default_wallpaper.jpg  in  frameworks/base/core/res/res/drawable* directories. replace those with your own. build image are you are done.

Barış İnanç

unread,
Feb 19, 2014, 8:28:38 AM2/19/14
to android-...@googlegroups.com
You can use AOSP overlay mechanism for that. By this way you can modify default values without modifying Launcher repo.

http://stackoverflow.com/questions/5340048/how-does-the-android-source-overlays-work


--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en
 
---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-buildi...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Barış İNANÇ

Martin Espericueta

unread,
Feb 19, 2014, 2:03:46 PM2/19/14
to android-...@googlegroups.com
Thanks! Funny thing is, when I flash the ROM, the wallpaper that is set is NOT what's in the drawable... directories. Funny lol....

Martin Espericueta

unread,
Feb 19, 2014, 2:04:59 PM2/19/14
to android-...@googlegroups.com
Thanks Barış! This looks like just the thing I need.
Reply all
Reply to author
Forward
0 new messages