2016年1月25日
摘要: 1、public class MainActivity extends Activity { private Button button; private EditText edit_name; private ExpandableListView expand; private String na... 阅读全文
posted @ 2016-01-25 20:47 IT心得 阅读(184) 评论(0) 推荐(0) 编辑
  2016年1月24日
摘要: public class MyUtil { // 判断网络是否开通 public static boolean isAvailable(Context context) { // 获取网络管理者 ConnectivityManager manager = (ConnectivityManager... 阅读全文
posted @ 2016-01-24 15:21 IT心得 阅读(3410) 评论(0) 推荐(0) 编辑
  2016年1月19日
摘要: 1、dot控件2、dot要设置的背景布局(在res---新建xml-file--选中drawbale,shape) 阅读全文
posted @ 2016-01-19 10:11 IT心得 阅读(172) 评论(0) 推荐(0) 编辑
摘要: public class MainActivity extends Activity { private ViewPager vp; private LinearLayout line; private List list; int current=0; int oldshow=0; Handle... 阅读全文
posted @ 2016-01-19 10:07 IT心得 阅读(347) 评论(0) 推荐(0) 编辑
  2016年1月14日
摘要: public class MainActivity extends Activity { private Button button; private EditText edit_name; private TextView tv_info; private Socket client; Handl... 阅读全文
posted @ 2016-01-14 12:23 IT心得 阅读(195) 评论(0) 推荐(0) 编辑
摘要: public class MyServer { public static void main(String[] args) { //创建服务器端 try { ServerSocket server=new ServerSocket(9999); //创建集合对象存放连接... 阅读全文
posted @ 2016-01-14 12:12 IT心得 阅读(376) 评论(0) 推荐(0) 编辑
  2016年1月12日
摘要: 用户名: 密码: 邮箱: 阅读全文
posted @ 2016-01-12 17:29 IT心得 阅读(259) 评论(0) 推荐(0) 编辑
摘要: package com.bwie.day10_webview_use;import java.io.IOException;import org.apache.http.HttpEntity;import org.apache.http.HttpResponse;import org.apache.... 阅读全文
posted @ 2016-01-12 17:22 IT心得 阅读(2287) 评论(0) 推荐(0) 编辑