- 博客(9)
- 收藏
- 关注
原创 HttpUtilshttp
public void getUtile(){ HttpUtilshttp=new HttpUtils(); http.configCurrentHttpCacheExpiry(0); http.send(HttpMethod.GET,path, new RequestCallBack() { @Override
2016-07-29 10:01:54 196
原创 画圆
public class CircleImageView extends ImageView { privatestatic final ScaleType SCALE_TYPE = ScaleType.CENTER_CROP; privatestatic final Bitmap.Config BITMAP_CONFIG = Bitmap.Config.ARGB_
2016-07-29 10:00:53 224
原创 post解析
try {HttpClient http=new DefaultHttpClient();HttpPost post=new HttpPost(path);List parameters=new ArrayList();parameters.add(new BasicNameValuePair("mobile", hone));parameters.add(new BasicNameValuePa
2016-07-29 09:58:45 253
原创 扫描
1.把src里所有源代码复制到项目中去 2.复制 libs里的zxing.jar 3.复制 layout里的main.xml和 test.xml 4.复制 raw文件夹到res里 5.复制 values 的colors.xml ids.xml 6.清单文件中加入 android:name="com.Zxin
2016-07-29 08:52:36 198
原创 版本更新
package com.example.ban2; import java.io.File; import java.io.FileOutputStream; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.URL; import android.app.Dialog;
2016-07-28 20:55:42 187
原创 百度地图
package com.example.washingdome; import java.util.List; import com.baidu.location.BDLocation; import com.baidu.location.BDLocationListener; import com.baidu.location.LocationClient; import com.
2016-07-25 08:35:01 186
原创 布局
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="horizontal" > android:
2016-07-11 14:05:09 170
原创 刷新加载
public class ItemFragment extends Fragment implements IXListViewListener { private String path; Handler handler = new Handler() { public void handleMessage(Message msg) {
2016-07-01 12:53:24 184
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人