Open top menu



 In this blog we will explain how to enable Move to Sdcard Button and allow android application  move to Sdcard , you can installed application on the sdcard. show picture...


 In Android, you can go to device Settings -->Applications ->ManageApplications -> and then click on your app to view the app details. You will find a ‘Move to SD Card’ button which is available for some apps and for some apps it will be disabled (not click-able) for other apps. By default it is disabled for your application.




  1. preferExternal :- this request that your application may installed on the external storage, but the system does not guarantee that your application will be installed on the external storage. 
  2. auto :- this indicate that your application may be installed on the external storage, but you don’t have a preference of install location.  


manifest,xml
..................................................................................................................................................................
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.androidbeginner.testcode"
    android:versionCode="1"
    android:installLocation="preferExternal"
    android:versionName="1.0" >

    <uses-sdk
        android:minSdkVersion="11"
        android:targetSdkVersion="19" />
    
    <uses-permission android:name="android.permission.INTERNET"/>
      
    <application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        
        <activity
                 android:name="com.androidbeginner.testcode.MainActivity"
                 android:label="@string/app_name" 
                 android:hardwareAccelerated="false">            
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
            
        </activity>
        
        
    </application>

</manifest>
...................................................................................................................................................................


Tagged

0 comments