php - Inform web service If app is closed -
I have implemented the webservice, which is used by the Android application, this web service is used for login and signup from the Android app Is performed.
Did I try?
P> I countdown & amp; asynctask , to send requests to the web service as a ping-type message, it is sent from time to time, but I have not been sent after some time to check it for the webservice How can i manage So if I do not get that ping from the server side, then I can end the session. Web service is built in PHP Symphony
I want to apply it because I can stop the services of an application so that I can log out of the web service immediately
Can Android Side Have an Optional Solution to Do It?
You can try one thing,
When the app is closed in the device, you have to tell your webpage that the application is closed,
and you can save the flags value in your web. Database.
And if you want your desired webservice to fire on or off you will need to see the flag ..):
Comments
Post a Comment