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

Adobe AIR Development

Reply
Developer
Posts: 135
Registered: ‎04-25-2009
My Device: Z30
My Carrier: AT&T

Set Desktop Background with API?

Hi,

Im looking for a way to set the user's desktop background image using some api method. Does this exist? Or is there any workaround? Am I able to set the dekstop background in any way whatsoever?

 

Thanks,

Theodore Mavrakis

Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: Set Desktop Background with API?

There is not an API for this. There might be a file that is a link to an image somewhere, so you might want to poke around the file system.
Developer
Posts: 135
Registered: ‎04-25-2009
My Device: Z30
My Carrier: AT&T

Re: Set Desktop Background with API?

What exactly do you mean by 'poke around the file system'? Which filesystem and how do i access it.

 

Thanks!

Developer
Posts: 306
Registered: ‎03-01-2011
My Device: Playbook (sim)
My Carrier: Base

Re: Set Desktop Background with API?

the file system of you device.

 

there isn't a big door with a sign "file system" on it..

it could be possible that you have to rewrite some of the qnx system files

..................................................................................................................................................................................................................

My App: Peg Solitaire

Need a designer? Drop me a line
Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: Set Desktop Background with API?

You can access it from the File class.
Developer
Posts: 1,269
Registered: ‎12-29-2010
My Device: PlayBook, Z10 LE, Dev Alpha C

Re: Set Desktop Background with API?


Paratheo wrote:

What exactly do you mean by 'poke around the file system'? Which filesystem and how do i access it.

 

Thanks!


See for example this old thread for how to SSH into the device and/or simulator.  You'll need to be or get familiar with PuTTY utilities.

Highlighted
Developer
Posts: 135
Registered: ‎04-25-2009
My Device: Z30
My Carrier: AT&T

Re: Set Desktop Background with API?

K, so I was able to ssh in to the simulator and explore the filesystem. I finally found the file located at

/base/usr/share/wallpaper.jpg

however, it seems to be restricted to root. So cant seem to alter it in any way. Any ideas on this?

 

Thanks!