Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Developer
chengiz
Posts: 1
Registered: ‎09-09-2009
My Device: Not Specified
Accepted Solution

Programmatically set Home Screen wallpaper

Hie.. I have a requirement to change the Home Screen picture/wallpaper from my application.  Is this possible? I searched the rim api docs and haven't found anything so far.  The target platform is 4.2+  

 

NOTE: I have to change the wallpaper using code (and not manually)

 

Thanks in advance :smileyhappy:

Please use plain text.
Developer
amardeepjaiman
Posts: 293
Registered: ‎02-25-2009
My Device: Not Specified

Re: Programmatically set Home Screen wallpaper

HomeScreen.setBackgroundImage(Sring uri) mehod will let you set the homescreen backgroundd image. but i dont think this api is avalibale in 4.2.1. its only avaible in JDE 4.7.0

 

 

~Amardeep

www.impetus.com

Please use plain text.
Developer
Amit_K
Posts: 135
Registered: ‎08-27-2008
My Device: Not Specified

Re: Programmatically set Home Screen wallpaper

Hi,

 

Is there any way to get the currently set homscreen image.

 

I know that there is an API to set the homescreen image but, if I need the current homescreen image then

 

How can I get that ?

 

any help will be appreciated,

 

Thanks,

Amit Keskar.

Please use plain text.
New Developer
harinadh
Posts: 77
Registered: ‎09-02-2010
My Device: torch
My Carrier: blackberry developer

Re: Programmatically set Home Screen wallpaper

Hi All

 

I need to same. Any progressive step in this . Please help.

Please use plain text.
New Developer
harinadh
Posts: 77
Registered: ‎09-02-2010
My Device: torch
My Carrier: blackberry developer

Re: Programmatically set Home Screen wallpaper

Hi

 

Use this Display.screenshot(Bitmap bitmap) to get the current screen whether it is in app or launching of the app. This can give the sollution.

 

for more information use the folliwing

 

http://www.blackberry.com/developers/docs/7.1.0api/net/rim/device/api/system/Display.html#screenshot...

Please use plain text.