title: Working example of using Twitter API on Android?
body: <p>Could anyone suggest a working example of how Twitter API is implemented in Android. I would like to login and post on Twitter.</p>
  
  <p>After some research <a href="http://twitter4j.org/en/index.html" rel="noreferrer">Twitter4j library for Java</a> is probably the best choice, however, I still don't manage to get Twitter login working.</p>
  
  <p>I found a few examples, like </p>
  
  <ul>
  <li><a href="http://www.londatiga.net/it/how-to-post-twitter-status-from-android/comment-page-2/#comment-10454" rel="noreferrer">posting on Twitter example</a></li>
  <li><a href="http://www.londatiga.net/it/how-to-post-twitter-status-from-android/" rel="noreferrer">another example</a></li>
  <li><a href="https://github.com/ppierson/T4JTwitterLogin" rel="noreferrer">one more example</a></li>
  <li><a href="https://github.com/ppierson/T4JTwitterLogin" rel="noreferrer">one more example</a></li>
  </ul>
  
  <p>However, they are depreciated and not working. Could anyone suggest a working example of how posting on Twitter from Android app is implemented?</p>