android - Moving Apk to SD Card -
moving sd card copies apk in /data/app folder sd card. wanted same code.
i tried failed canwrite()
, setwriteable(true)
, delete()
returns false
file apkfile = new file(info.activityinfo.applicationinfo.sourcedir); apkfile.delete();
is @ possible delete/move apk sd card (and not copy it)?
fyi: installlocation
not me. so, had take above approach.
you can not move /delete installed apk file without root privileges .
if want move/delete installed apk need rooted android device. becase installed apk inside system/ directory , mounted read-only. had remount this
mount -o remount,rw /system
read more how write files system/ ?
Comments
Post a Comment