Guys I am creating an Online Android App, my server-side is taken care with php. Everything is going good. The app is working as per my concept.
Now I need to add a new feature in my app where i means the server need to know if the user is online now in his android app. How can i achieve this. Please help me out.
In the app when a user first downloaded and run the app, he/she need to register first and then login, as soon as he logs in, I stored his login data in "SharedPreferences", so that no need for the user to login every-time he opens the app.
Any help will be appreciated. Thanks.