Demo to simple sharing via Facebook (using dialog and graph APIs) and Twitter native APIs (consistent look)..
social-libs-demo-android is hosted in the following web site
https://github.com/MostafaGazar/social-libs-demo-android
If you think the Android project social-libs-demo-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of social-libs-demo-android.
Item | Value |
---|---|
Java File Count | 21 |
Target SDK Version | 8 |
Minimum SDK Version | 7 |
Activity Count | 1 |
Fragment Count | 1 |
jar files used | android-support-v4.jar twitter4j-core-android-2.2.5.jar |
Required Permissions | android.permission.INTERNET |
There are 7 image files in social-libs-demo-android. The names of the image files are listed as follows.
facebook_normal.png facebook_pressed.png loading_background.9.png share_normal.png share_pressed.png twitter_normal.png twitter_pressed.png
The following screenshort is generated from the image listed above.
social-libs-demo-android has the following Java source files.
com.mostafaGazar.android.share.interfaces.IFacebookManagerCaller.java com.mostafaGazar.android.share.interfaces.IFragmentActivity.java com.mostafaGazar.android.share.interfaces.ITwitterManagerCaller.java com.mostafaGazar.android.share.model.FacebookManager.java com.mostafaGazar.android.share.model.FacebookSessionEvents.java com.mostafaGazar.android.share.model.FacebookSessionStore.java com.mostafaGazar.android.share.model.TwitterManager.java com.mostafaGazar.android.share.task.FacebookShareTask.java com.mostafaGazar.android.share.task.TwitterShareTask.java com.mostafaGazar.android.share.util.Constants.java com.mostafaGazar.android.share.util.PreferenceConstants.java com.mostafaGazar.android.share.view.MainActivity.java com.mostafaGazar.android.share.view.dialog.FacebookDialogFragment.java com.mostafaGazar.android.share.view.dialog.FacebookLoginDialogFragment.java com.mostafaGazar.android.share.view.dialog.FacebookLogoutDialogFragment.java com.mostafaGazar.android.share.view.dialog.TwitterDialogFragment.java com.mostafaGazar.android.share.view.dialog.TwitterLoginDialogFragment.java com.mostafaGazar.android.share.view.dialog.TwitterLogoutDialogFragment.java com.mostafaGazar.android.util.Constants.java com.mostafaGazar.android.util.PreferenceConstants.java com.mostafaGazar.android.util.PreferenceHelpers.java