you can change it manually, by accessing DDMS under data/system and
substituting the wallpaper file.  make sure you get copy the file on
your HD first, take the dimensions and resize your new pic
accordingly.  Not sure whether the filename can have an extension, as
the original one clearly does not have one,  and according the API,
you can only upload JPG and PNG files.
programmatically you can use
ApplicationContext.setWallpaper(InputStream data) and
setWallpaper(Bitmap bitmap). as the API clearly states the bitmap will
be converted into PNG.  Never used either of them though.

Hope this helps.

Luka

On May 19, 7:04 pm, mystic-d <[EMAIL PROTECTED]> wrote:
> hey
> how can i change the background picture ? (the "desktop" picture in
> the device)
> thanks !
--~--~---------~--~----~------------~-------~--~----~
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 group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to