I'm writing an application which at the beginning connects with the server and waits for its response. To achieve this I'm using DefaultHttpClient.execute method with response time set to default. This execution is triggered as a separate thread which is set as daemon. Still, when I try to kill an application through android.os.Process.killProcess call there is a significant lag, which I'm guessing is related with DefaultHttpClient.execute mechanism (not-daemon thread execution?). Is there a way to kill my connection just after killProcess call?
I am looking to create a system which on signup will create a subdomain on my website for the users account area.
Comments
Post a Comment