java - HttpClient from apache in Android? -
I have already developed a desktop application using Java and now I want to develop the same application on Android the wanted. In my Java application, I used the httpclient library from APK to do all HTTP transactions, my question is, can I use the same class I used with HTTPPLL in my Java application in my new Android app is ???
Yes, very, most, or all your code can work in Android. Just make sure to continue using Apache Import and do not have Google equivalent (near).
For example:
import com.google.api.client.http .HttpResponse; Make sure you continue to use it:
import org.apache.http.HttpResponse;
Comments
Post a Comment