21
22
import android.content.Context;
22
23
import android.content.res.AssetManager;
27
29
private final static String TAG = "Utils";
29
39
public static String httpDownload(String url) { // return null as error happens
30
40
HttpClient httpclient = new DefaultHttpClient();
31
41
// Prepare a request object