Android Network application to make a list of friends

I have an Android application where every so often the user evaluates an object, for example, looks out of 5, feels out of 5 and a name. Then I save this in the object and in general privileges. I have completed this part, but I am not sure how to proceed to the next bit.

What I want to do is make a list of friends and get them to get all the statistics from this person plus every time they click a button, he will send new statistics to everyone in your friends list. I also want to be able to log in to each friend and look at all his statistics, for example, I will send Billy to Bob, who he accepts and add to my friends list. Then he gets all my statistics, and I get him so that I can look at his statistics at any time.

What I'm looking for are tips on the best way to do this and where to start (I've already programmed a bit, but not many networks)? I understand that I can use SQLite or maybe even WebServices, but I'm not sure if this is the best way.

+4
source share
1 answer

For this you need a server component.

  • The server will contain all users and who will be friends with whom.
  • Mobile clients must enter the server, ant to get a list of their friends, as well as their likes and dislikes.
  • When users evaluate objects, the message should be sent to the server. The next time a friend pulls data from the server, this โ€œratingโ€ is reset and displayed

Some keywords for your server

  • You can host it on Amazon Ec2 / Cloud Foundry / Google App Engine
  • You can use a lightweight container like Jetty or Tomcat
  • You can use REST / HTTP and JSON to communicate over the network.
  • You can use the MySQL / NoSQL attribute to save.
+1
source

All Articles