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
Contributor
vinaybhavsar17
Posts: 25
Registered: ‎02-21-2011
My Device: Not Specified

Background applicaiton in BB10

Hello Everyone,

 

I am new to BB10. Just wanted to know if below features are possible in a BB10 app,

 

1. App should run in background and there should be no icon displayed for it on home screen.

2. App should auto start when user restart the mobile.

 

Thanks

Please use plain text.
Developer
Benecore
Posts: 540
Registered: ‎08-31-2013
My Device: Q10, Z10LE, Nokia N950, DAB....

Re: Background applicaiton in BB10

[ Edited ]

Check this

https://developer.blackberry.com/native/documentation/cascades/device_platform/headless_apps/



If helped give a like. If your problem was solved mark the post as "Solution"
Portfolio: BlackBerry Nokia
Social: Twitter | Facebook
About Me / Blog DevPDA | Blog
Please use plain text.
New Developer
Shiryu
Posts: 13
Registered: ‎09-26-2013
My Device: z10

Re: Background applicaiton in BB10

You can make headless application BUT it requires UI application also and currently, seems impossible to hide the icon.

Please use plain text.
Developer
peter9477
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10

Re: Background applicaiton in BB10

Shiryu is correct. There's no way to hide the icon for the UI portion of your application. There's no such thing as a "pure" headless application (at least for third-party apps), which hides from the user. This is intentional.

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Please use plain text.
Contributor
vinaybhavsar17
Posts: 25
Registered: ‎02-21-2011
My Device: Not Specified

Re: Background applicaiton in BB10

Is it possible to make application auto start when device is restarted?

Please use plain text.
Developer
peter9477
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10

Re: Background applicaiton in BB10

Yes, the _sys_headless_nostop permission should do that. Note that you must apply specially to be allowed to sign apps that would use this permission, at https://developer.blackberry.com/jam/headless/ Without approval for that you can't even test a development version of your code.

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Please use plain text.