android - Shared session over several apps (not activities!) -
i'd share data "globally" between applications (not activities). problem is, have several applications need have on user session: log in 1 app , if open app won't ask log in again, "remember" id, , logged in.
i have found this solution using sqlite.
the apps, i'm talking won't on google play theoretically approach work, worried write rogue app , set id in androidmanifest.xml , have access other apps without authentication (i'm writing enterprise apps, serious security breach).
another possible approach have separate app logging in , storing sessions, other apps access intents... seems messy several reasons (life-cycle, etc.)
any thoughts / alternatives?
have @ following link.
http://developer.android.com/guide/topics/providers/content-provider-basics.html
and see section 5 in following link
Comments
Post a Comment