Software Archive
Read-only legacy content
17061 Discussions

how to access call button event for notification

Pushkar_N_
Beginner
507 Views

hi,

Is it possible to generate notification pop up as soon as user presses call button without native programming in xdk?

 

 

0 Kudos
2 Replies
PaulF_IntelCorp
Employee
507 Views

There is no hardware "call button" on the typical Android device. I assume you mean when someone pushes the icon from within the phone dialer to initiate a call? If that is what you mean, there is no way to intercept that action, due to the fact that the phone dialer is a protected app within the Android system, even a native app would not have access to that action.

If you are asking how does one initiate a call from within your own app, there are ways to do that.

Please clarify.

0 Kudos
Pushkar_N_
Beginner
507 Views

Hi Paul,

Thank you for correcting me. I meant when someone pushes the call icon from within the phone dialer to initiate the call, I want to a generate a notification on that instance.

Thanks

0 Kudos
Reply