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

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
basitj
Posts: 107
Registered: ‎04-08-2011
My Device: BlackBerry Q10

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

Bump!

 

Anyone?

 

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

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
basitj
Posts: 107
Registered: ‎04-08-2011
My Device: BlackBerry Q10

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
Zingam
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?

Developer
BGmot
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook

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

No.