security - Issues with Android apps sharing same UID -
i have 3 android apps: app_1, app_2 , app_3. signed same key , share same uid. app_1 , app_3 don't have persistent storage (no database + file system), both work on app_2 user space. have 2 questions here:
if app_2 dies or shutdown system, happen user space? can app_1 , app_2 still access it?
i need way notify app_2 when app_1 , app_3 done persistence storage, app_2 can take measures. not sure if run service within app_2 event listeners fit need. there guaranteed way make app_2 sleep mode , wake-up during events? other ways?
your persistent storage in /data/data remain intact when app not running. wiped when removed app. don't hardcode path because in 4.3 each user have own data path.
a broadcast listener serve purpose. declare in manifest of app 2.
Comments
Post a Comment