Fasthub: Enabling the Android Move To SD Card Feature?

Created on 31 Aug 2017  路  4Comments  路  Source: k0shk0sh/FastHub

I didn't find an issue about this topic so I wanted to ask if it is possible to add the optional "Move to SD Card" feature.

I myself haven't yet tried to add it or even developed Android Apps yet but after looking at the following two websites it doesn't seem very difficult (from my point of view - I am just interested in adding this feature because I have only limited internal system space so enabling this feature would be very cool):

It seems like you only need to modify the android manifest by adding android:installLocation="auto" like in the following example from the first website:

<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.mamlambo.article.phrasebook" android:versionCode="2" android:versionName="1.0.1"
android:installLocation="auto">
...
</manifest>

I really like the app and hope that I didn't wasted your time with something that obviously has reasons to not be activated or can't be activated because of some services or something other.
Also sorry for my probably not so good English.

馃槃

FastHub Version: 4.1.0
Android Version: 6.1.0
Device Information: ONE E1003

Medium Completed Feature Request

Most helpful comment

Opps, this is fixed in my previous commit :)

All 4 comments

This is probably the best explanation of the effects of adding android:installLocation="auto" from https://developer.android.com/guide/topics/data/install-location.html:
_"If you declare "auto", you indicate that your application may be installed on the external storage, but you don't have a preference of install location. The system will decide where to install your application based on several factors. The user can also move your application between the two locations.

When your application is installed on the external storage:

There is no effect on the application performance so long as the external storage is mounted on the device.The聽.apk聽file is saved on the external storage, but all private user data, databases, optimized聽.dexfiles, and extracted native code are saved on the internal device memory.The unique container in which your application is stored is encrypted with a randomly generated key that can be decrypted only by the device that originally installed it. Thus, an application installed on an SD card works for only one device.The user can move your application to the internal storage through the system settings."_

Hope I could help.

Opps, this is fixed in my previous commit :)

@k0shk0sh This does what?

@yakov116 make the app installable on the external sdcard.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Thaodan picture Thaodan  路  3Comments

tom-ando picture tom-ando  路  3Comments

camillo777 picture camillo777  路  3Comments

shaboigan picture shaboigan  路  3Comments

alexejk picture alexejk  路  3Comments