android - Credentials are changed from other device -
i newbie android. working on application user supposed login use application , application can run on different devices (like multiple phones) simultaneously. there feature user can changes password. how know if user has changed login credentials on device device, user automatically logged out devices. same gmail. how achieve in optimal/feasible way. can implemented using sync adapter or account authenticator. if yes, please let me know. any tutorial or snippet appreciated. thanks in advance.