I know that accessing the /data/app folder in Android where APKs are stored requires root. However, I am curious to know whether an Android application requires root to access its own APK as well.
Thanks in advance.
I know that accessing the /data/app folder in Android where APKs are stored requires root. However, I am curious to know whether an Android application requires root to access its own APK as well.
Thanks in advance.
yes you can
i'm already tried this. i have an application that required me to access the source package that has sql files ( not java file, so it still exist after building it ). so to solve that, i need to open my apk file inside data/app and open it as zip stream then read my sql file. anyway my device is not rooted.
P.S : i cannot put my sql file in asset because of some reasons