Tag: android upload file
-
Android HttpRequest class (version 2.1)
Version of of this class had some bugs so I corrected them and here is the latest version 🙂 Enjoy! package moz.http; import java.net.*; import java.io.*; import java.util.ArrayList; import java.util.Enumeration; import java.util.Hashtable; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import java.util.Map.Entry; import org.apache.http.client.HttpClient; import org.apache.commons.*; import android.util.Log; /** * HTTP Request class * *…
-
HTTP Request class for Android (version 2)
Hi Everyone, After some people pointed out the problems they had with version 2 of this class, I took it all out. Â Please go to: http://moazzam-khan.com/?p=490 for version 2.1
-
HTTP Request class for Android
Here is a class that can be used to make HTTP get and HTTP post requests. I haven’t commented everything but the usage should be pretty clear from the method signatures. Note: This is for Android 1.5. import java.net.*; import java.io.*; import java.util.ArrayList; import java.util.Enumeration; import java.util.Hashtable; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set;…