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
New Developer
Posts: 11
Registered: ‎07-21-2008
My Device: Not Specified

Permissioning in JAD file

Is there a way to set an application's permissions in JAD file so the user doing the install does not have to?

 

I am sure I already no the answer to this one.

Developer
Posts: 191
Registered: ‎04-03-2008
My Device: Bold 9700

Re: Permissioning in JAD file

I imagine your hunch is right.  App permissions aren't there to impede developers; they're there to protect the user - so the user is always going to have to set permissions manually.  The best you can do is use ApplicationPermissions if you're targetting 4.2.1 or higher.
BlackBerry Development Advisor
Posts: 15,700
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Permissioning in JAD file

That is correct.  These permissions can not be set in the JAD file.
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
New Developer
Posts: 11
Registered: ‎07-21-2008
My Device: Not Specified

Re: Permissioning in JAD file

Thanks guys
New Developer
Posts: 7
Registered: ‎11-30-2008
My Device: Not Specified

Re: Permissioning in JAD file

Hello mr. Richard

 

Can you please tell me how to use permissions on JDE 4.2 (the version that BB 8700 support)

because in this version there is no ApplicationPermission class?

 

Thank xou in advance.

 

Mitja

BlackBerry Development Advisor
Posts: 15,700
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Permissioning in JAD file

The ApplicationPermissions APIs are not available in version 4.2.0, therefore they can not be used on BlackBerry handheld software version 4.2.0.
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