i am very new to android and i would like to create an application that allows two clients to communicate with eachother through a server. One client saves data to a database ,also created in android and saved on the server, and the second one gets to see the database. My problem is that i don't know how to create the server clients connection or how to store the data on the server.If anyone could help me with the code and some explanations about what sequence does what , and where the code must be written i would really appreciate it.Thanks.
P.S. the database has 3 fields : id (primary key) , first name , last name.