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: 45
Registered: ‎08-16-2008
My Device: Torch 9800, Bold 9700, Storm 9550, Curve 8520
My Carrier: Airtel

problem with 8130

hi all,

 

I have an application which sends and receives an SMS but when ever I am sending or receiving as SMS it is saying that "The application <application name> has attempted to access the network. Would you like to allow this" and Yes/No buttons are given.

 

 

Please let me know how we can get rid of it.

 

 

Regards

 

LTCCTL

Developer
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: problem with 8130

You can;t get rid of it. You need to set the application permissions to allow SMS access (probably phone access, depending on which version of OS you are running).

 

If you are compiling for 4.3 or later, there is a ApplicationPermissions API that allows you to invoke the Permissions Manager with your requried permissions already requested.

 

However, you will *always* need user intervention. This is "by design".