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

Native Development

Reply
Developer
Posts: 74
Registered: ‎01-08-2013
My Device: Playbook
My Carrier: NA

HomeScreen.setWallpaper() makes Lock screen blank

[ Edited ]

 

Hi,

 

1. Is Lock Screen available in Simulator. If yes how do i invoke it ?

 

2. A user reported that my app caused his lock screen background to go black.

     It seems to me that HomeScreen.setWallpaper()  is the root cause of the problem.

     It sets the user home wallpaper but makes the Lock Screen background black(maybe its the default image).

 

     Changing wallpaper using blackberry stuff works fine.

 

     Qn : Is there a different api that sets the Lock screen background ? I tried to search but didnt find one.

     If there is none maybe i can log an issue for HomeScreen.setWallpaper() .

 

thanks

    

Edit: More problems with the api on simulator.

Passing a QUrl with path > 148 characters  => HomeScreen.setWallpaper()  does not change the wallpaper.

 

I guess ill open an issue for both.

Also goiing to use /accounts/1000/shared/ path instead of the much longer sandbox path to mitigate this issue a bit.

 

 

 

 

Developer
Posts: 74
Registered: ‎01-08-2013
My Device: Playbook
My Carrier: NA

Re: HomeScreen.setWallpaper() makes Lock screen blank