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
Trusted Contributor
basitj
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
Please use plain text.
Trusted Contributor
basitj
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
Please use plain text.
Developer
BGmot
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'

Please use plain text.
Trusted Contributor
basitj
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
Please use plain text.
Developer
Zingam
Posts: 187
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?

Please use plain text.
Developer
BGmot
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook
My Carrier: x

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

No.

Please use plain text.