// Path: src/com/jskaleel/fte/common/PrintLog.java
// public class PrintLog {
// 
// 	public static void debug(String TAG,String str) {
// 		if(str.length() > 4000) 
// 		{
// 			Log.d("FTE",TAG+"  ---> " + str.substring(0, 4000));
// 			debug(TAG,str.substring(4000));
// 		} else
// 		{
// 			Log.d("FTE",TAG+ " ---->" +str);
// 		}
// 	}
// 	public static void error(String TAG,String str) {
// 		if(str.length() > 4000) 
// 		{
// 			Log.e("FTE",TAG +"  ---> " + str.substring(0, 4000));
// 			error(TAG,str.substring(4000));
// 		}
// 		else
// 		{
// 			Log.e("FTE",TAG+ " ---->" +str);
// 		}
// 	}
// 	
// }


import java.io.IOException;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import com.jskaleel.fte.common.PrintLog;

package com.jskaleel.http;



public class HttpUrlConnection {
	
	private static final String TAG = "HttpUrlConnection";
	
	public HttpUrlConnection(){
		
	}
	
	public static String getContentFromUrl(String api_url) throws UnsupportedEncodingException{
		HttpURLConnection conn = null;
	    StringBuilder jsonResults = new StringBuilder();
	    try {
	        StringBuilder sb = new StringBuilder(api_url);
	        

// Path: src/com/jskaleel/fte/common/PrintLog.java
// public class PrintLog {
// 
// 	public static void debug(String TAG,String str) {
// 		if(str.length() > 4000) 
// 		{
// 			Log.d("FTE",TAG+"  ---> " + str.substring(0, 4000));
// 			debug(TAG,str.substring(4000));
// 		} else
// 		{
// 			Log.d("FTE",TAG+ " ---->" +str);
// 		}
// 	}
// 	public static void error(String TAG,String str) {
// 		if(str.length() > 4000) 
// 		{
// 			Log.e("FTE",TAG +"  ---> " + str.substring(0, 4000));
// 			error(TAG,str.substring(4000));
// 		}
// 		else
// 		{
// 			Log.e("FTE",TAG+ " ---->" +str);
// 		}
// 	}
// 	
// }


// Path: src/com/jskaleel/http/HttpUrlConnection.java
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import com.jskaleel.fte.common.PrintLog;

package com.jskaleel.http;



public class HttpUrlConnection {
	
	private static final String TAG = "HttpUrlConnection";
	
	public HttpUrlConnection(){
		
	}
	
	public static String getContentFromUrl(String api_url) throws UnsupportedEncodingException{
		HttpURLConnection conn = null;
	    StringBuilder jsonResults = new StringBuilder();
	    try {
	        StringBuilder sb = new StringBuilder(api_url);
	        

	        PrintLog.debug("HttpUrlConnection", "getContentFromUrl Url: "+api_url);
