Category:

Tweet from android app

In this tip i am going to explain you how to post tweet on twitter from your android application. Copy bellow code and paste in your android app where you want to send tweet String tweetUrl = String.format(“https://twitter.com/intent/tweet?text=%s&url=%s”, urlEncode(“My Trinitytuts tweet”), urlEncode(“https://trinitytuts.com”)); Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(tweetUrl)); // arrow down to official Twitter app, […]

Continue Reading
Posted On :