How to detect when an App is force moved to SD-Card on rooted Android
问题 I have declared my App as internalonly, yet some rooted users move it to SD-Card. How can I detect at run-time that this has happened? I do not trust the information that packagemanager is reporting as these are rooted phones and my app should not had been moved to SD-card anyways. Thanks! 回答1: Have the application open /proc/self/maps and look for an entry that is an apk file and look at its path. Why exactly are you concerned about this? Hopefully it is because of a functional reason, such