Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Administrator
MSohm
Posts: 14,362
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell
Accepted Solution

Security prompts

Quote from the previous forum:


Guest
Security prompts
Posted: Jul 10, 2008 8:23 PM
Reply
Hello,

We are developing a Media Recording application(JSR 135). Before recording starts the application prompts for user permission to start recording. Is there any way to disable this prompt?

Thanks

 


msohm

Posts: 2,274
Registered: Jul, 2005

Re: Security prompts
Posted: Jul 11, 2008 10:48 AM
Reply
Are you creating a MIDlet or BlackBerry CLDC application?

Mark Sohm
BlackBerry Developer Journal
www.blackberrydeveloperjournal.com

 

Guest
Re: Security prompts
Posted: Jul 16, 2008 6:33 PM
Reply
We are creating a MIDlet. Thanks

There are 2 types of prompts that can apply to applications running on a BlackBerry. 

 

The first is Application Control prompts.  These generally have an option for the user to remember their choice.  These can be configured in 3 ways.  The first is by the user under Options, Advanced Options, Applications, select the application and choose Edit Permissions from the menu.  The second is by a BlackBerry Enterprise Server administrator.  They can create an Application Control policy for an application that is pushed out from a BlackBerry Enterprise Server.  The third way is that an application can request these permissions by using the ApplicationPermissions class.

 

The second type applies to MIDlets only.  These prompts are configured by the carrier and not adjustable by the user.  Some carriers provide code signing keys to bypass some of these prompts, but support for this varries by carrier.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
Developer
stefano
Posts: 51
Registered: ‎08-07-2008
My Device: Not Specified

Re: Security prompts

I've a BlackBerry CLDC application. It's signed and all flags are enabled into Options->Security.

 

my app access to read file and use open socket function. All time I receive a prompot message. I've a functionality that before to start are showed 5 prompt messages   before to start, only for read a file and start socket connection.

 

is there a mode to hide them  ?

 

thanks

Please use plain text.
Administrator
MSohm
Posts: 14,362
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Security prompts

Please check the application control settings for your specific application by going to Options, Advanced Options, Applications, highlight your application and select Edit Permissions.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
Developer
stefano
Posts: 51
Registered: ‎08-07-2008
My Device: Not Specified

Re: Security prompts

I've already check this. My permission are all opened.
Please use plain text.
Administrator
MSohm
Posts: 14,362
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Security prompts

If it is a BlackBerry CLDC application, has it been signed?  You can read about code signing here:  http://na.blackberry.com/eng/developers/downloads/api.jsp

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
Developer
stefano
Posts: 51
Registered: ‎08-07-2008
My Device: Not Specified

Re: Security prompts

Yes it was signed.. is It normal all that ????  the prompts are showed all time that I call:

 

(FileConnection)Connector.open(...)

 

 My app is signed for follow SignerID (taked from Signature Tool):

RRT-> RIM Runtime API

RIM -> Crypto API -RIM

 

Please use plain text.
Administrator
MSohm
Posts: 14,362
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Security prompts

You should have 3 keys to complete the signing process (RRT, RCR and RBB).  If you are missing one, please install the csi file for the missing key.

 

If you don't have the csi files anymore you can contact devsupport@rim.com for a replacement set.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
Developer
stefano
Posts: 51
Registered: ‎08-07-2008
My Device: Not Specified

Re: Security prompts

solved.thanks
Please use plain text.