• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Can I get Twitter sample example for Android APP ??

That's not really how development works, Arthur.

Twitter is a VERY complex app with tens of thousands of lines of code -- no one is going to be able to provide you a "sample" of an app like this.

Instead, you should try to learn how to code something yourself. Then as you are learning you can ask people for help with the things you get stuck on.

If you are teaching yourself, and get stuck and then ask, we'd be glad to help you out.

Here's one blog post from Google that might get you thinking of what is involved:

Android Developers Blog: Android Cloud To Device Messaging


Hope that helps!


.
 
  • Like
Reactions: Arthur Andy
Upvote 0
Hi,
Thanks alostpacket, actually I have some Twitter same example, but unfortunately it is not working throwing exception during log in, when I checked into logcat I found "Unauthorised Exception". So, I requested some working example for it. I thought like "Facebook" "Twitter" will be available but Thanks for giving link I will go first with that.

Thanks and Regards,
Andy
 
Upvote 0
funny thing .. is I have what you need :D
the issue with what you have is probably due to twitter changing from normal logging in to oAuth
anyway .. here's the online lecture I attended for this
Developing Android Applications with Java, Part 2 - O'Reilly Media

and they made the code available on github over here
https://github.com/thillerson/oreilly_android

ps:it may still not work as that you need to have a twitter dev application account and put your key inside in the codehttps://dev.twitter.com/, go here for more info https://dev.twitter.com/
 
  • Like
Reactions: Arthur Andy
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones