11-27-2008 01:09 AM
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.
11-27-2008 06:31 PM
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".