04-20-2009 04:37 AM
Hi All,
1. Working on BB storm (9530/9500 simulator) version is v4.7.0.75
2. Used BB JDE 4.7
3. Had signing permissions
4. Request is as follows:
I have a application using setPhonelistener() API's.
when i installed on device i will be getting a popup say "Your app is trying to access Phone api would you like to....etc with "Allow/Deny buttons". when user pres the Allow it is happy flow.
problem here is if user says Deny, user can't use our application at all. user is not allow to access any phone api's W.R.T my application.
how can I get this Deny press event? so that i can show a popup to user with some message.
I would like to handle this Deny press event. is there any possibility.
Thanks In Advance
Ratna
Solved! Go to Solution.
04-20-2009 06:34 AM
04-20-2009 06:37 AM
Hi,
i think i got what you wanted, just implement DilaogClosedListener in your app.
and override
dialogClosed(Dialog dialog, int choice) , this will give you the choice user made to close the dialog.
this should work for system generated dialogs too.
04-24-2009 03:19 AM
Hi Thanks for your replies.
i tried with DialogClosedListener and GlobalEventListener but didn't worked.
I just handled Exception when user 'Deny' it Phone Permissions, it does my job done.
Thanks a lot