Twitter

Android URL shortener using tinyurl example

This snippet is example to generate tinyurl from original url.Uses tinyurl.com to generate url.Will be much useful in facebook and twitter android application.

Android Post Status to Twitter using Jtwitter- Example

In android, we can able to post a status to twitter by using jtwitter. Its very simple to post a status in twitter. For that we need jtwitter.jar. you can download the jwitter.jar from here
Post Status in Twitter Example :-
Create a new android project,
Add the below code in your AndroidManifest.xml for internet permission

[sourcecode language="xml"]
<uses-permission android:name="android.permission.INTERNET"/>
[/sourcecode]

Syndicate content