How would coding work to grab information from the web?
Like the Facebook app; How does the app grab the data from your profile such as friends, messages, and notifications?
Or the Twitter app, how does it grab only Your tweets, and mentions. I'm interested, thanks guys.
well, I'm unsure how Facebook's/Twitter's protocol works, and honestly it's probably not worth learning much about, other than the security measures they take that seem to work well; however, it seems you're wondering how a concept like this would work at all, which I can answer.

The way that networking works is with sockets, of which there are two types (TCP, and UDP -- for something like social networking, you'd use something like TCP, but online games usually use UDP). You can create a socket using an IP address, and a port number (1-65535); once the socket has been accepted on the server side from the requesting client side, the handshake is made and data can be transferred via packets. Then, it would be something all server-side to read through the database entries of social networking users, and getting their latest tweets, and sending this over that socket to the client on the other end.

In Java, you can simply use the and related packages/classes for achieving this. I would suggest starting by reading this: Once you understand those concepts, you could work with networked data transfer pretty easily, and do things similar to what Facebook and Twitter do.
APIs do that. Google it. Looks like twitter uses a RESTful service.
You do it in Android the same way you do it in Java, you use URLConnection:
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum