As said those cannot be disabled, but in devices having Browser 7.3 (WRT 7.3), or newer, you can group those messages into one prompt.
http://www.developer.nokia.com/Resou...rmissions.html
Code:
//check that device & getServicePermissions exist for backward comptibility
if(device && typeof device.getServicePermissions == "function"){
try {
device.getServicePermissions({
"Service.ServiceRegistry":"IService", //for platform services 2.0
"Service.SysInfo":"ISysInfo", //for getting camera resolutions
"Service.MediaManagement": "IDataSource" //to get images and thumbnails
});
}
catch (e) {
//notify the user that access to services has been declined
alert("declined");
return;
}
}
//continue by using old per service permission model
Br,
Ilkka