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:

  1. if app_2 dies or shutdown system, happen user space? can app_1 , app_2 still access it?

  2. 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?

  1. 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.

  2. a broadcast listener serve purpose. declare in manifest of app 2.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -