Timeline for Installing to SDCard by default
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2017 at 12:18 | history | edited | CommunityBot |
replaced http://android.stackexchange.com/ with https://android.stackexchange.com/
|
|
May 2, 2013 at 8:46 | vote | accept | user2239505 | ||
May 2, 2013 at 8:46 | |||||
Apr 11, 2013 at 19:14 | comment | added | Izzy |
Ah, now I get it -- different focus: You were saying "if an app is not intended to be installed on SD, you cannot do so" -- while I was focusing on where it goes to by default unless specified otherwise. But please check your answer's first 4 lines, they say something different. You are however correct: The download first goes to /data/local , and from there the app is installed. But depending on settings and manifest, it is installed either to internal or directly to external from there. // If you like to discuss this in detail: you remember our pub, ahem, chat? :)
|
|
Apr 11, 2013 at 18:44 | comment | added | t0mm13b |
Izzy - what I specified about AndroidManifest's android:installLocation - actually enables the Move to SDCard from the manage app settings...some devs do not specify it and renders the button being disabled but I concede - never seen the adb command to do that either
|
|
Apr 11, 2013 at 18:21 | comment | added | Izzy |
Nope, t0mm13b -- see my answer and the linked article. This sets the device's default install location. So if the Manifest says "auto", that's where it goes. If the Manifest says other than "auto", it goes where the Manifest says. See also: API ref, also here for the pm set-install-location (new syntax) command.
|
|
Apr 11, 2013 at 17:53 | comment | added | t0mm13b |
A developer can specify that in the Manifest to give the app the capability to be moved to the SDCard. android:installLocation="auto" Have not seen adb shell pm setInstallLocation 2 , presumably you specify the package name in that case...
|
|
Apr 11, 2013 at 16:32 | comment | added | Izzy |
Are you sure, t0mm13b? Wasn't there some ADB command to adb shell pm setInstallLocation 2 (i.e. SDCard), as described here?
|
|
Apr 11, 2013 at 15:23 | history | answered | t0mm13b | CC BY-SA 3.0 |