01-04-2012 04:55 AM
After installing the application, When i run it first time , Application permission dialog was displaying.
"Would you like to grant MyAppName Trusted Application status? 'Yes' , 'No' , 'Help' Buttons"
Some times more than one dialog also displaying. Can any of you tell me the reason ?
01-04-2012 06:55 AM
You will usually only get one of these.
However I suspect if your installation package actually contains multiple applications, then you might see it more than once.
Can you describe what you have done prior to seeing these messages in each case?
01-04-2012 07:47 AM
I'm getting the dialog twice. Both the dialog shows the same message
"The application MyAppname is attempting to access phone information".
Its a background application.
01-04-2012 08:26 AM
oh.Then this is an Application permission dialog right? I'm getting this dialog twice "The application MyAppname is attempting to access phone information. " Allow, Deny with two buttons . What's the reason for this???
01-04-2012 10:52 AM
This is an Application Permissions Dialog. Usually it will appear the first time your application attempts to access a resource, and there will be a 'ask this only once' check box. If you don't check this, it will ask you every time.
The ApplicationPermissions sample code demonstrates how to handle this sort of requirement.