Domanda

I know that WRITE_EXTERNAL_STORAGE in the Manifest file allows my android application to write to external storage. Does WRITE_EXTERNAL_STORAGE mean also that my application will be installed automatically into the external storage of the devices from google play?

Thanks.

È stato utile?

Soluzione

Does WRITE_EXTERNAL_STORAGE mean also that my application will be installed automatically into the external storage of the devices from google play?

No, however you may specify in the <manifest> tag the preferred install location:

<manifest 
          .....
          android:installLocation="preferExternal" >

Altri suggerimenti

WRITE_EXTERNAL_STORAGE

Means Your application will use external storage for reading writting purpose. It doesnt mean that your application will get installed on SD Card.

No, this will only mean your app will ask for permission to write to external storage.

If you want your app to be installed on external storage your going to have to add the following to your apps manifest.

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
android:installLocation="preferExternal"
... >

See also: http://developer.android.com/guide/topics/data/install-location.html

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top