im really new to this so dont spare any answer even if its really basic..
i want to make an android app that sends a number to a server, and i want the server to check its data base if any other users entered the same number. I want the server to reply which number has the same number.
i also want the server to send the other users that holds this number a messege about a new user that hold this number.
i hoped i made myself clear.
i have no idea where to start… how to write the server side (language/where do i get a free server)?
thanks
First, you should (must) learn Java to write the client side application (the Android application)
Second, you have a lot of free servers. Apache Tomcat is a good solution as it’s based on Java too. It’s up to you to write your own servlet that makes what you want.
Also an important thing to keep in mind is how are you going to send the other users a message. Since it’s only the server who knows when that happens, you’ll have to either wait until they connect to the server, or actively open a connection from server to client -that if you know the client IP address, which can be (and most likely is) dynamic-.
(I’m assuming you want to acheive this through TCP/IP)