Search This Blog

Wednesday, 9 May 2012

how to give permisiion programatically in blackberry

Hello friends here is the code to prompt for the particular permission  in your app start up, in case if tht permission is not allowed.....nothing much to explain so see the code below :


ApplicationPermissionsManager manager = ApplicationPermissionsManager
    int current = manager
    if (current != ApplicationPermissions.VALUE_ALLOW) {
        ApplicationPermissions permissions = new ApplicationPermissions();

No comments:

Post a Comment