why android app that I develop get saved in internal memory?
Whenever I develop any android application, why it gets stored in internal memory. How to make application get install开发者_Python百科ed on memory card (if available in phone)?
This option is available with API versions >=8.
App Install Location Documentation
I dont know why you are desire to place it on external storage, but just remember that doesn't mean your data will stay there.
The .apk file is saved on the external storage, but all private user data, databases, optimized .dex files, and extracted native code are saved on the internal device memory.
If you want to do it, in your manifest file specify:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
android:installLocation="preferExternal"
... >
Add android:installLocation to your manifest.xml install-location documentation
Add android:installLocation="preferExternal"
to your manifest
tag in your AndroidManifest.xml
精彩评论