How to Install Android Apps on SD Card



How to Install Android Apps on SD Card, Sumit Kar, Timus Rak, 9038901219




If you are using an Android Phone with low Internal Memory, you might feel to Install all your Games and Utility Apps on an External Storage. But some Phones are programmed such that, you can only install Apps on your Phone's Internal Memory. So have you ever ran low on memory space on your android and had to delete some apps? Now I have a solution for you. With a computer and a microSD card you don't have to worry about running out of space on your phone any more! You don't even need to root your phone! After this, your phone will automatically install apps to your external memory.



Note - This works on both Windows and Mac OS



Items needed:

1. Android Phone

2. Micro USB cable

3. A computer



Warning for galaxy users!

This method of moving your apps to External Storage is known for not working with the Galaxy series, if you own a galaxy or you are getting a galaxy and is thinking of moving your apps to an External storage, I recommend rooting your device, enabling further access to files though it may void the Manufacturer's Warranty.

. Good Luck!






Step 1: Getting Ready to Change Installation Location




1. Get the Google Android SDK

     - Unzip the file and place the folder onto your desktop or anywhere that can be easily accessed.

     - find the platform-tools folder (default, it should be : adt-bundle/sdk)

2. Get the JDK

     - The Android SDK needs JDK installed on your PC



3. Find cmd/terminal (for mac)

     - Hold down the Shift key, then right click anywhere inside the folder and click Open command          window here.

     - (for mac users) go to [System Preferences > Keyboard > Keyboard Shortcuts > Services]

        and then check the box [New Terminal At Folder]



4. Go onto your Android phone and select USB debugging

     - Go to [System settings > Developer Options] and select USB Debugging (if the option is grayed out, unplug your phone first)











     


Step 2: Using adb 


You might suddenly see a pop-up on your phone that says Allow USB debugging.  It may read something like this:




This computer's RSA key fingerbrint is: something:something:blah:blah




Just click OK.  It’s basically a security feature that forces the user to explicitly allow the connecting computer to execute debugging commands on the phone.



Now let’s make sure the adb can see your phone. In the command prompt type:




adb devices





Now, that it shows you the list of devices attached, you can proceed.


To set the default installation location of your phone to your SD card type this:





adb shell pm set-install-location 2





If you want to revert these changes just change that 2 to a 0 (that’s a zero).  The 0 will force the phone to install to your local device storage first.





Check if you did it right: if you did it right, the output should say: 2 [external]





  adb shell pm get-install-location



For Windows the commands are :






       adb devices




       adb shell pm set-install-location 2




       adb shell pm get-install-location



For Mac the commands are : (note - there is a period before the slashes)




       ./adb devices




       ./adb shell pm set-install-location 2




       ./adb shell pm get-install-location










If you did it right, CONGRATS! Your phone will now install your apps to your SD Card by default! Have fun now! If this helped you at all please share in the comments!  I would love to hear from you





Source: instructables, Android





Comments

Popular posts from this blog

Write a Program to Add two 3x3 Matrix using C

C program for Unit Conversion

Write a Program to Add two 5x5 Matrix using C