04-26-2013 07:34 AM
My requirement goes like this,
I have an application where i can link phone numbers with local contacts and should show the names in place of numbers.
For that i am using : Rimermit attribute for adding access-pim-contacts and also used webworks contactfindoptions to get the phone numbers matched with names.
Now, when user goes to settings in phone and goes to security and permissions, in the permission list if he switches off contacts permission for my application, i should not able to able to do contact matching for my application.
So , my requirement is how to access permission list for my application from settings of phone.
Please help me out in solving this.
04-29-2013 12:32 AM
any help for this pls reply me back
04-29-2013 03:03 AM
You're lucky I just posted (see Aplogies thread)
If I get this right you want to pick up the permissions you have in config.xml
I can do this later this week (Apologies applies)
PM me a reminder as the next few days are rather busy so I may forget
You need an extension - this is a nice quick one that should only take me a few hours and useful in many other apps so I'm more than happy to write it
04-29-2013 08:12 AM
04-29-2013 08:28 AM
Again you pick me@ the precide time requierd
The way do do it is to study the NDK and also refer to the weborks extension templte
I wont kid you - this is not easy
Once you get there - it opens a new world to you
I cant tell you with simple instructions how to write one (its complicated)
04-30-2013 11:12 AM
@lathajagan logically you can solve this issue.
1. wheever you are comming to name display page make a call with ContactAPI. i feel that you may get error if user has disabled permission. on the basis of that u can take decision.
04-30-2013 11:14 AM
one more thing. you can check the
you may get the following error
05-01-2013 11:58 AM
Once you get the error, you can inform the user that they need to enable contact permissions for your app and you can then invoke the BB10 application permission settings app.
and using uri: "settings://permissions"
05-02-2013 03:07 AM
05-02-2013 07:16 AM
Even though settings-> Security and Permissions-> Application Permissions-> My Application-> Contacts as off,
blackberry.pim.contacts.find never goes to onFindError function , but it calls back onFindSuccess call back and doesnt match the contacts at all, but doesnt give any error.
But when i remove <rimermit>access_pimdomain_contacts</rimermit> from config.xml of my application then it through an error in onFindError function, alert('The operation failed due to insufficient permissions.'); error 20.
I have tried using blackberry.system.hasPermission('blackberry
help me if u get any other idea to solve this problem, will be posting one more forum post for the same,