Question about saving to SD card

I have several applications that are getting bigger when I improve functionality. I had several requests to enable the ability to save applications to an SD card.

I want my apps to be available for early versions of Android. Can someone tell me which code I need to add that allows me to save SD without increasing my minimum SDK?

thank

+3
source share
2 answers

You need to configure at least the version 8 API (Froyo) with android: targetSdkVersion in the uses-sdk section of your manifest. Then you must also define the android: installLocation in the manifest is either "preferExternal" or "auto" to enable installation in SD. For backward compatibility, you can install android: minSdkVersion so that your application can be installed on earlier versions of Android.

+4
source

android:targetSdkVersion, , API . android:minSdkVersion, API, , - (, SD-). , android:minSdkVersion, .

. this, " ".

+3

All Articles