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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Highlighted
BlackBerry Development Advisor
Posts: 15,884
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
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.
Developer
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

BlackBerry Development Advisor
Posts: 15,884
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
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.
Developer
Posts: 51
Registered: ‎08-07-2008
My Device: Not Specified

Re: Security prompts

I've already check this. My permission are all opened.
BlackBerry Development Advisor
Posts: 15,884
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
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.
Developer
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

 

BlackBerry Development Advisor
Posts: 15,884
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
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.
Developer
Posts: 51
Registered: ‎08-07-2008
My Device: Not Specified

Re: Security prompts

solved.thanks