android,facebook,twitter,socialauth
I am putting here code..Hope it will help you.. Note: You need to put oath_consumer.properties in your assets folder as well as add socialauth library in your project. public class ClientLogin extends Activity { TextView facebookLogin,TwitterLogin,LinkedInLogin; SocialAuthAdapter adapter; Button logout; Context context; Profile profileMap; String Email,password; String provider_Name; @Override protected...
update your code like this. private final class ProfileDataListener implements SocialAuthListener<Profile> { @Override public void onError(SocialAuthError arg0) { // TODO Auto-generated method stub } @Override public void onExecute(String arg0, Profile t) { Log.d("Custom-UI", "Receiving Data"); Log.d("Custom-arg0", arg0); Profile profileMap = t; Log.d("Custom-UI", "Validate ID = " + profileMap.getValidatedId()); Log.d("Custom-UI", "First...
android,facebook,integration,socialauth
you can go with most easiest way shared preferences .. or use session... where you can save and retrieve string with key value.. SessionManager.java public class SessionManager { // Shared Preferences SharedPreferences pref; // Editor for Shared preferences Editor editor; // Context Context _context; // Shared pref mode int PRIVATE_MODE...
android,integration,socialauth
You have to add providers yourself to the adapter. For example, adapter.addProvider(Provider.FACEBOOK, R.drawable.facebook);.
Try: adapter.signOut(getApplicationContext(), Provider.FACEBOOK.toString()); ...
You can fetch the original size (the size uploaded by the user) of the profile picture URL like so: http://api.linkedin.com/v1/people/~/picture-urls::(original) ...
After banging my head for full 2 days i found the error You need to put the assets folder on same level as res folder in order to load the oauth_consumer.properties file. src main assets java res AndroidManifest.xml I just need below doubts to clear if you guys can help...