Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do we achieve that our application also can move to SDCard?

I created one application, its working fine. I want to support my application in sdcard also. That means, users can move the application to sdcard from internal memory.

How can i achieve this? Any ideas?

like image 330
AndroidVsIphone Avatar asked Mar 23 '12 12:03

AndroidVsIphone


Video Answer


1 Answers

Yes, you can give the option to your applications. You must assign below code to your manifest file

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

This will be enable that option for your application.

Refer below links -

App Install Location

Manifest Element

But, the important thing is it supports only from 2.2 (Froyo) and above.

like image 90
Praveenkumar Avatar answered Sep 29 '22 00:09

Praveenkumar