Android Http Post

I have some problem with http post connection in android.

I want make connect when my app starting. Next i want exchenge many request and response (when customer press button i send request and read response) and close Connect if my app is close.

It

is possible ? Do I must close inputstream after read response ??

I have acting http post connection but i send post read response and close input stream if it is only solution ? I want have only one http client.


Source: java

Leave a Reply