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
10soft
Posts: 33
Registered: ‎12-05-2013
My Device: Z10
My Carrier: 123456789

Headless part setting wallpaper issue

Hi,

 

I'm testing my app setting home screen wallpaper in headless part. The problem is it only works if the UI part is opening or active frame. Close the UI part then it doesn't work, run the UI part again and it works.

 

The setting wallpaper code stays in headless part. All other functions work fine without UI part opening.

 

Please help.

 

Best regards.

Please use plain text.
Retired
PBernhardt
Posts: 749
Registered: ‎12-16-2008
My Device: BlackBerry Z30
My Carrier: Bell

Re: Headless part setting wallpaper issue

I'm not sure if this a bug or a design choice, but you should probably log an issue in DIT.

Paul Bernhardt
Application Development Consultant
BlackBerry
@PBernhardt

Did this answer your question? Please accept this post as the solution.
Found a bug? Report it to the Developer Issue Tracker
Please use plain text.
Developer
10soft
Posts: 33
Registered: ‎12-05-2013
My Device: Z10
My Carrier: 123456789

Re: Headless part setting wallpaper issue

Hi Paul, thanks for the reply, I am not familiar with DIT :smileysad: Could you please help reporting this issue?

Please use plain text.
Retired
PBernhardt
Posts: 749
Registered: ‎12-16-2008
My Device: BlackBerry Z30
My Carrier: Bell

Re: Headless part setting wallpaper issue

Sure, it's not hard. All you need to do is click the link to our Developer Issue Tracker at the bottom of my signature. Log in using your BlackBerry ID credentials, and then hit the "submit new issue" button near the top.

Paul Bernhardt
Application Development Consultant
BlackBerry
@PBernhardt

Did this answer your question? Please accept this post as the solution.
Found a bug? Report it to the Developer Issue Tracker
Please use plain text.
Developer
10soft
Posts: 33
Registered: ‎12-05-2013
My Device: Z10
My Carrier: 123456789

Re: Headless part setting wallpaper issue

Thank you so much, i've tried and it seems to have issue with:

https://www.blackberry.com/jira/secure/Dashboard.jspa

It keeps reloading the page like keep redirecting.

By the way, I have tested my app to use QTimer and it seems to have the same issue, actually i have 2 QTimer instances, 1 works and 1 doesn't work if UI part closed. Run UI Part and it works properly. It sounds like a bug or limitation of headless part processing time or whatever limits it.

Let me keep testing.
Please use plain text.
Retired
PBernhardt
Posts: 749
Registered: ‎12-16-2008
My Device: BlackBerry Z30
My Carrier: Bell

Re: Headless part setting wallpaper issue

Can you send me a private message with the email you used for your BBID? I'll take a look and see if your account is set up correctly. There is currently a bug where new accounts sometimes don't get put in the right groups.

Paul Bernhardt
Application Development Consultant
BlackBerry
@PBernhardt

Did this answer your question? Please accept this post as the solution.
Found a bug? Report it to the Developer Issue Tracker
Please use plain text.
Developer
simon_hain
Posts: 16,044
Registered: ‎07-29-2008
My Device: Z10 LE
My Carrier: O2 Germany

Re: Headless part setting wallpaper issue

otherwise try it with a different browser, sometimes helps with jira.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Developer
10soft
Posts: 33
Registered: ‎12-05-2013
My Device: Z10
My Carrier: 123456789

Re: Headless part setting wallpaper issue

Yeah trying Chrome, FF and Safari still same problem. It's weird...
Please use plain text.
Developer
10soft
Posts: 33
Registered: ‎12-05-2013
My Device: Z10
My Carrier: 123456789

Re: Headless part setting wallpaper issue

So far, I have 3 QTimer instances in headless part, 1 is working without opening UI Part, the other 2 are not working if UI part is closed and works if UI part is fullscreen or active frame.

 

The one works: Headless part receiving incoming call signal, my slot starts this QTimer and things works properly.

 

The other 2 started properly in headless part when deploying app (via IDE) to device or after device reboot. But headless part can't catch the QTimer timeOut signal. My onTimerTimeOut slot doesn't get called. When i open the UI part, things are working properly again. Then close UI, these 2 QTimer instances stop working.

 

Ok, i read somewhere here that QTimer is blocked somehow or it only runs properly when headless part catches some kinda system signal (like the first above)... or it's just a bug. I'm not sure.

 

Hope someone has done it could answer the issue.

 

Thanks.

 

 

Please use plain text.
Developer
10soft
Posts: 33
Registered: ‎12-05-2013
My Device: Z10
My Carrier: 123456789

Re: Headless part setting wallpaper issue

Or maybe I have to reload the official Dev OS 10.2.1 in stead of the current leaked one :smileysad:

Please use plain text.