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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Trusted Contributor
Posts: 107
Registered: ‎04-08-2011
My Device: BlackBerry Q10
My Carrier: Mobilink

How to write background apps, listeners in BB10 Native

I have to write an app that listens to some events and waits for some conditions to be met.

 

Possible?

 

How, any links pls?

 

Thanks

Get Speedometer on your phone. http://www.speedometer.mobi
Trusted Contributor
Posts: 107
Registered: ‎04-08-2011
My Device: BlackBerry Q10
My Carrier: Mobilink

Re: How to write background apps, listeners in BB10 Native

Bump!

 

Anyone?

 

Get Speedometer on your phone. http://www.speedometer.mobi
Developer
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook
My Carrier: x

Re: How to write background apps, listeners in BB10 Native

You can definitely write an app that will be listenting to *some* events... bps navigator events for example are always delivered to an app -)

What events are you looking for and define 'background app'

Trusted Contributor
Posts: 107
Registered: ‎04-08-2011
My Device: BlackBerry Q10
My Carrier: Mobilink

Re: How to write background apps, listeners in BB10 Native

I've been making background apps for BBOS

 

For example an app auto starts with phone bootup and listens to incoming text messages. Whenver a message arrives, it is sent to the backup.

 

Can we do this here?

Get Speedometer on your phone. http://www.speedometer.mobi
Developer
Posts: 195
Registered: ‎05-09-2012
My Device: Playbook, Z10 LE

Re: How to write background apps, listeners in BB10 Native

Or a timer application that executes something at specific times/intervals?

Highlighted
Developer
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook
My Carrier: x

Re: How to write background apps, listeners in BB10 Native

No.