I am developing an application in whuich am tracing each and every flow.
My doubt is to exit from the application user has press an exit command or inbuit exit button in mobile.
for both the case if any one of this happens application itself need to hit the server with specified url before getting exit.
How can do this?
Am trying the bellow code but its not work for both condition.
public void destroyApp(boolean unconditional)
String logout_url = getCorrespondURL("Logout", "");