Carl Whalley wrote: > If you use the OI SensorSimulator you must add the INTERNET permission > to AndroidManifest.xml as it uses http to drive it, which Android sees > as a function requiring this permission. When you release your app, > presumably its not using the software simulator so you can turn off > support in your source easily enough. But if your app doesn't need net > connectivity you also should remove the INTERNET permission line from > AndroidManifest.xml each build, or on installation your user will be > asked to grant it. > > Is there any way to automate this processing of the xml file please?
Augment the Ant script with a new target that removes the offending line from your manifest. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training in Sweden -- http://www.sotrium.com/training.php --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---