1. Are you ready for the Galaxy S20? Here is everything we know so far!

Forcing apps to sd card.

Discussion in 'Android Lounge' started by bernardwhistle, Dec 22, 2011.

  1. bernardwhistle

    Thread Starter

    Hello Android fans,
    I' ve just been reading an interesting article in a magazine re forcing apps to an sd card.

    Now I know its, hacking. Sure, probably illegal, but with, Android being an open system, if you feel brave enough to do it properly without bricking your mobile, it maybe it will be fine.

    Now, if someones actually done this successfully, can you telll me, does it in any way, harm your mobile.

    Merry, Christmas & a happy new year.


    And if Santa Claus is feeling generous, maybe you will be getting a new Android device!!

    Bernard Kinney.
     



    1. Download the Forums for Android™ app!


      Download

       
  2. chanchan05

    chanchan05 The Doctor

    It wont harm your mobile, just be prepared for apps force closing, widgets not working, etc. Thats just the way it is. Some apps just wont work from SD card, or wont work properly. PowerAMP for example, widgets wont work from SD card, you have to download a separate widget add on, or use other third party widgets.
     
  3. jerofld

    jerofld Fixing stuff is not easy

    Depending on your version of Android, you should be able to move apps from internal memory to SD card as a built in feature. I believe it was put into Android in Froyo (Android 2.2). Push menu > Settings > Applications > Manage Applications. If you have a SD card tab, push it and you can see what's on the SD card or not. If you tap the checkmark, you can even move an app to/from the SD card. If you have no SD card tab, you can run down the list of Downloaded apps, tap the app, and move it to SD card.

    If that feature is not available for you, there are a number of apps that will move your apps to your SD card.
     
  4. lunatic59

    lunatic59 Moderati ergo sum
    Moderator

    If you want to move more apps to the SD card, you'll need to have the Android SDK installed. How-To Install Android SDK On Windows, Mac and Linux

    Then on your phone go to settings>applications>development and enable USB Debugging. Plug your phone into the PC using the USB cable.

    open a command prompt on your PC (start>run type "cmd" press ENTER)

    Change directory to the android-sdk-windows\tools folder

    At the prompt type
    Code (Text):
    1. adb devices
    and you should see your phone listed as a serial number.

    type
    Code (Text):
    1. adb shell pm setInstallLocation 2
    Done.

    Now the default location to install apps is the SD card. And, some apps that you couldn't move to the SD card will now be able to be moved. Keep in mind Widgets and services should always be installed to the phone and not the SD card, so if you follow the steps above and you install a widget afterwards, you will need to go to settings>applications>manage applications and manually move it to the phone. If you want to set the default install location back to the phone, you simply repeat the process but use
    Code (Text):
    1. adb shell setInstallLocation 0
    Android has specific rules for where it installs apps. If the app has a specified location, that takes priority. If it is not specified in the app, then the default install location is used. Android has 3 identifiers for app storage location:

    0 = Internal 1 = Auto 2 = External (sd card)

    If 0 is set in the app, then it can only be installed on the internal storage regardless of the default install location. Widgets, services and apps that periodically poll need to be in the internal storage to run correctly.

    Similarly the phone itself can have a default install location set so if the app is set to 1 (Auto) then it will direct the app where to be installed. The only thing you must remember is that 1 is not an option for a phones default location. If the app were set to Auto location and the phone was to, it wouldn't know what the default was.

    You may find now that by setting the default install location to 2 you can now move more apps to the sd card that you couldn't before. If you go to menu>settings>applications>manage applications you can check which apps are able to be moved, paying close attention NOT to move widgets or polling apps.

    Newer phones and Tablets that include large amounts (by current mobile standards) Like the SGS2 (and my other phone, the Captivate) often partition them so that you don't have a huge amount of system memory that wouldn't be accessible for file storage. On the Captivate (and I am assuming it's similar with your device) Samsung has a 2 GB partition for the system and the remaining 14 GB partitioned and recognized as an sd card by making its mount point /sdcard.

    Therein lies the problem. The path to external storage within Android is /sdcard so apps that are installed to external storage will be there, which is the internal sd partition, not the removable sd card. On the Captivate the path to the removable sd card is /sdcard/sd_external, on my SGS2 it's /sdcard/external_sd and on my Transformer is /Removable/Microsd.

    If you have an internal sd card partition, then that will always be the default location for files, apps and data to be stored as defined by the mount point /sdcard. If the phone has no sd card partition, then an external sd card will mount at /sdcard when inserted.
     
  5. bernardwhistle

    Thread Starter

    Very interesting. Makes a lot of sense, I guess.
    How does it compare to Apples iphones with sd cards?
     
  6. chanchan05

    chanchan05 The Doctor

    iphones dont have sd cards. they only have internal memory.
     
  7. dan330

    dan330 Extreme Android User

    there are no issues moving apps to Sdcard.. since google added the feature to android 2.2 and higher.

    apps that have widgets will not function well.. so do move those.

    when you reboot your phone.. apps that have been moved to the sdcard will not load their icons graphics at first (you will see the generic icon in its place)... it takes them a long time.. but will eventually get the correct icons to show.
     
  8. dan330

    dan330 Extreme Android User

    ^^^^ gooapple
    LOL
     
  9. bernardwhistle

    Thread Starter

    Hello Dan,
    I am a little confused by your last message about Apple. What were you trying to say
    ?



    Also Adobe Air. Can you tell me is it supposed to replace adobe flash player? My mobile is a Samsung Galaxy i9000t so it might depend very, much which devices utilise it best. What exactly does it do, I.e.; what visible difference would it add to my games ,apps?


    Have a very merry christmas and a happy new year!!

    Bernard.
     
  10. chanchan05

    chanchan05 The Doctor

    Adobe AIR as far as I know is for PC only. Mobiles will be using HTML5 scripts in the future instead of flash.
     
  11. dan330

    dan330 Extreme Android User

    i was laughing at the "gooapple" that the poster was talking about (which is not gone!). I had no idea what that was.. so I googled it.

    it is not an apple device. it is a imitation .. using android to look like ios. funny ass shiit!!!!
     
Loading...

Share This Page

Loading...