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
Highlighted
New Developer
Posts: 40
Registered: ‎12-17-2011
My Device: Blackberry 9550
My Carrier: Airtel
Accepted Solution

Listeners in c/c++ NDK development for BB10

Hello All,

 

I would like to know if there are API's for capturing/listening events in BB10, like if a call is made/ received , 

my application should listen and respond.

 

Thanks in advance.

 

Regards,

Kavita

 

 

Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: Listeners in c/c++ NDK development for BB10

There are numerous events documented in both the beta BB10 NDK docs, and the Cascades docs, for all the currently supported features.

Nothing to do with the phone capability is, however, documented in any way, so nobody can tell you anything about that for now.

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!
Retired
Posts: 329
Registered: ‎05-07-2012
My Device: BB Alpha
My Carrier: N/A

Re: Listeners in c/c++ NDK development for BB10

Hi,

 

It depends on the type of events. Her care a few links that may guide you in the right direction:


Blackberry platform service:
http://us.blackberry.com/developers/platform/


Cascades events API:
https://bdsc.webapps.blackberry.com/cascades/reference/bb__cascades__Event.html


Which type of events are you referring to?


Cheers,

Martin

Developer
Posts: 112
Registered: ‎04-28-2010
My Device: 8520
My Carrier: AirTel

Re: Listeners in c/c++ NDK development for BB10

hi mgoulet,

 

can u tell us how we will get event of incoming/outgoing sms, call and camera click for photo etc.

 

Thanks

Dinesh

New Developer
Posts: 40
Registered: ‎12-17-2011
My Device: Blackberry 9550
My Carrier: Airtel

Re: Listeners in c/c++ NDK development for BB10

@mqoulet ,  Events for outgoing call and incoming call/sms, event for capturing image by camera.

 

Like, for outgoing/incoming call , my application should listen the event occurred and perform a perticular action.

If API's are available, kindly provide the link.

 

Thanks

Retired
Posts: 329
Registered: ‎05-07-2012
My Device: BB Alpha
My Carrier: N/A

Re: Listeners in c/c++ NDK development for BB10

[ Edited ]

Hi there,

Interacting with call or sms related events is not currently supported on BB10;

To access documentation for all features currently supported, please see below:
https://developer.blackberry.com/cascades/documentation

 

Regards,

Martin

New Developer
Posts: 40
Registered: ‎12-17-2011
My Device: Blackberry 9550
My Carrier: Airtel

Re: Listeners in c/c++ NDK development for BB10

Thanks for reply.

Regular Contributor
Posts: 76
Registered: ‎07-31-2012
My Device: Blackberry
My Carrier: Vodafone

Re: Listeners in c/c++ NDK development for BB10

Hi mgoulet,

 

So is it supported now in BETA 2 (OS 10.0.0.6) version?

 

Regards,

Nishant Shah

Developer
Posts: 132
Registered: ‎11-06-2012
My Device: BlackBerry Passport

Re: Listeners in c/c++ NDK development for BB10

Hi Nishant Shas,

 

Currently I working in a BB10 project need the API to listen and redirect the Phone and SMS, in and out of the phone.

Can you show me the link of that api?

 

Regards,

Tan Phat.