java - How to Change the installation path of an android application? -


i developing android application. default getting stored in

/data/data/<package-name> path

as device in warranty period, don't have privilege access this(root) path. application want change installation path e.g. /storage/emulated/0/<package-name>

i found in manifest.xml file using android:installlocation can change installation path. giving 3 choices:

->auto

->internal

->external

but how change path in internal storage ?

if not declare android:installlocation attribute, application, default, installed on internal storage but, can move external storage.

you can use android:installlocation="preferexternal" install in external storage or android:installlocation="internalonly" internal storage.

hope helps.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -