This tutorial explains, how to integrate twitter in android application. The example below using twitter4j java library for login to twitter and allows to share a simple text post and image post in users twitters timeline..
Twitter-Sharing-Example-Android is hosted in the following web site
https://github.com/javatechig/Twitter-Sharing-Example-Android
If you think the Android project Twitter-Sharing-Example-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 Twitter-Sharing-Example-Android.
Item | Value |
---|---|
Java File Count | 2 |
Target SDK Version | 14 |
Minimum SDK Version | 8 |
Activity Count | 2 |
jar files used | android-support-v4.jar twitter4j-core-4.0.2.jar |
Required Permissions | android.permission.INTERNET |
Twitter-Sharing-Example-Android has the following Java source files.
com.example.twittershare.MainActivity.java com.example.twittershare.WebViewActivity.java