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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Adobe AIR Development

Reply
Regular Contributor
Paratheo
Posts: 88
Registered: ‎04-25-2009
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

Please use plain text.
Developer
jtegen
Posts: 6,145
Registered: ‎10-27-2010
My Carrier: AT&T

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.
Please use plain text.
Regular Contributor
Paratheo
Posts: 88
Registered: ‎04-25-2009
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!

Please use plain text.
Developer
lrrm
Posts: 300
Registered: ‎03-01-2011
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
Please use plain text.
Developer
jtegen
Posts: 6,145
Registered: ‎10-27-2010
My Carrier: AT&T

Re: Set Desktop Background with API?

You can access it from the File class.
Please use plain text.
Developer
UberschallSamsara
Posts: 685
Registered: ‎12-29-2010

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.

Please use plain text.
Regular Contributor
Paratheo
Posts: 88
Registered: ‎04-25-2009
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!

Please use plain text.