I'm developing an android app which makes connection with facebook,
twittter, google, etc... and know what I'm doing is logging againsy
providers with my oauth's ids and so on. Now, I'm just getting auth id
(but I think this is not the one I want, because I don't have to
accept facebook or twitter permissions) with this code lines, but as
I've told you, I think, that is not what I'm looking for:

 AccountManager accountManager = AccountManager
            .get(getApplicationContext());
 accountManager.getAuthToken(account, "mail", false,
            new AuthTokenCallback(), null);
I just want to use the log data from their android apps. So, the
behavour must be...

1) Run my app

2) Press Login button with the provider selected (for ex. Facebook)

3) Now, facebook app (if present on android phone) opens and asks you
for permissions for your registered app and gives to the app the oauth
token.

I've seen this in several apps on Android, but I don't have any
example in my mind... sorry =(

Thanks for all your responses!!!!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to