java - Should you use AccountManager for storing Usernames and Passwords for an Android app? -


i know if 1 should implement accountmanager save user credentials such username, email, passwords etc. can't find reason use myself.

i don't want other applications have access accounts , don't want them showing in "accounts , sync" settings (although maybe that's not big deal).

so question is: should use it? pros/cons? can hide accounts other apps , stop them appearing in "accounts , sync"?

this accepted answer question you... what should use android accountmanager for?

it should pointed out, mentioned in above post , in accountmanager without syncadapter? , can't have accountmanager without syncadapter, not use particular situation.

i can't see reason use accountmanager storing type of information - @ end of day, no different manually storing data in own database or file. if anything, complicates things - why don't store in sharedpreferences?

the reason think of encourage use of accountmanager if want share account across number of different apps, data stored in central android datastore can accessed apps. however, if isn't required, think easier , simpler use sharedpreferences


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -