Which Android Permissions are usuable, how to turn off one?

Hi folks,

I can see only these settings having an affect:

1
2
3
4
5
    androidPermissions =
    {
         "android.permission.ACCESS_FINE_LOCATION",
         "android.permission.INTERNET"
    },

The permissions you might want to use depend on what your app does. At this point, location and internet are the main ones. You can also use RECORD_AUDIO.

What calling status do you mean?

For reference, the permissions are documented here:
http://developer.android.com/reference/android/Manifest.permission.html

I THINK the permission is called READ_PHONE_STATE which seems to be set by Corona by default. When a Corona app is installed, this permission is displayed. I would like to turn this off.

We don't set that permission. The only one we set by default is android.permission.VIBRATE.

This may shed some light:
http://stackoverflow.com/questions/1747178/android-permissions-phone-calls-read-phone-state-and-identity

According to your link, this permission was set automatically in Pre 1.6. In 1.6 and up you have to declare it specifically.

Using build 484, when I install my little tic tac toe app on my phone it says the app wants "full internet access" - which it actually does NOT. (It also wants VIBRATE which I see is expected and fine, although not actually used.)

I tried changing the build.settings to have:

1
2
3
  androidPermissions =
  {
  },

I would also like to know how to remove that, don't look to good =/
484 - Windows

Generally only opengl 1.1 and vibrate are in by default on 319. Maybe 484 adds internet too. Its because they have a generic template based on whats linked in. I guess some library which uses internet is always linked in in 484.

The only way to remove these is by editing the manifest and resigning. I documented it in my tutorial:

http://www.base2solutions.com/walkabout/Corona%20Tips.html

Thanks for this tutorial, but it works (in my experience) only for builds with older Corona-SDK builds.

I found out my program is running without problems on my Samsung Galaxy Tab. But a friends Galaxy Tab (Wifi only!) is crashing with a lot of Corona-Apps - exact with them they use READ_PHONE_STATE permission.

If I build with 2011.505 I don't have the READ_PHONE_STATE permission - the app is running, later builds are bad from this point of view...

I would prefer the control over all permissions in the build settings.

It should now work with new corona versions. Just update this file in the 'Other' directory.

http://www.mediafire.com/?f354aq5u71w5jp6

views:2077 update:2011/10/7 17:24:19
corona forums © 2003-2011