摘要: public class defineEditText extends EditText { Context context; Drawable d;public defineEditText(Context context, AttributeSet attrs, int defSty... 阅读全文
posted @ 2014-04-09 19:17 青年程序猿 阅读(381) 评论(0) 推荐(0) 编辑
摘要: public class defineTextView extends TextView { Context context;public defineTextView(Context context, AttributeSet attrs, int defStyle) { super(context, attrs, defStyle); // TODO Auto-generated constructor stub this.context=context; } public defineTextView(Context c... 阅读全文
posted @ 2014-04-09 19:14 青年程序猿 阅读(270) 评论(0) 推荐(0) 编辑
摘要: package com.example.service;import java.io.IOException;import java.io.InputStream;import org.apache.http.HttpResponse;import org.apache.http.client.Cl... 阅读全文
posted @ 2014-04-09 14:21 青年程序猿 阅读(290) 评论(0) 推荐(0) 编辑
摘要: http请求后获得所需要的是字符串的时候 URL url=new URL(strurl); try { HttpURLConnection conn=(HttpURLConnection) url.op... 阅读全文
posted @ 2014-04-09 10:15 青年程序猿 阅读(193) 评论(0) 推荐(0) 编辑