开发者

Display contacts in Blackberry Application

I had retrieved the contacts from the phone book and displayed the contacts in pop up of Blackberry Simulator. It runs well in simulator, but not running 开发者_开发问答in Blackberry Device. I stuck on this. Please help me.

Thank you.


There is a difference between simulator environment and actual device environment: permissions

On simulator you can access any device resources/data without setting relevant permissions. But on actual devices you need the relevant permissions set, before accessing device resources.

Use ApplicationPermissionsManager and ApplicationPermissions classes to invoke "Permissions request" screen on your app startup.

You need at least ApplicationPermissions.PERMISSION_ORGANIZER_DATA permission allowed for your application.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜