×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jan 2012
    Posts
    28

    Can I disable "security warning"?

    When I use "startCamera" to take a photo, I see 2 security warnings, for example,

    Allow application to access the service provider data?

    Can I disable "security warning"?

    Thank you for reply.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: Can I disable "security warning"?

    unfortunately you can not disable them.

  3. #3
    Nokia Developer Expert
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833

    Re: Can I disable "security warning"?

    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

Similar Threads

  1. Get chosen option in "Security warning" window
    By cristovaodoj in forum [Archived] Flash Lite on Nokia Devices
    Replies: 2
    Last Post: 2010-04-15, 14:06
  2. Replies: 8
    Last Post: 2009-11-06, 21:42
  3. "security reason" & "access not granted" problems?
    By 113115 in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 4
    Last Post: 2009-03-30, 06:16
  4. Security Error "Gallery : unable to execute file due to security reasons" in E62
    By Bikramjitatec in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 3
    Last Post: 2009-03-22, 17:51
  5. WS client - how to prevent display "untrusted certificate" warning message?
    By asheraslan in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2007-02-06, 12:53

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×