以下是我的 android java 代码的一部分,我收到错误“无法实例化类型 HttpConnection”
import org.apache.http.HttpConnection;
import android.app.Activity;
import android.app.AlertDialog;
public class MainActivity_test extends Activity
{
int resultcode,flag;
public static final int DIALOG_LOADING_PROGRESS = 0;
HttpConnection con;
con = new HttpConnection();
.
.
.
}