- 博客(3)
- 资源 (4)
- 收藏
- 关注
原创 判断当前网络类型
判断当前网络类型 public final static int NONE = 0; // public final static int WIFI = 1; // public final static int MOBILE = 2; // 3G GPRS public final static int ETHERNET = 3;// public static int getN
2013-12-25 09:42:22 548
原创 延时跳转的几种方式
Android延时的两种方式:1,采用Timer和TimerTaskTimer timer = new Timer();TimerTask task = new TimerTask() { @Override public void run() { Intent intent = new Intent(MainActivity.this, Test.class); startA
2013-12-06 12:51:56 848
原创 BroadcastReceiver的OnReceive函数中启动对话框
处理怎样在接收广播后启动对话框用来提示用户,开始看到OnReceive存在context,因此new AlertDialog,但是在show时出错,怀疑是OnReceive中不能进行过长时间的操作,因此新开一个Thread去处理AlertDialog,但是还是会抛异常:android.view.WindowManager$BadTokenException: Unable to add win
2013-12-03 13:46:25 1626
大规模多点温度巡检系统设计及应用
2010-05-16
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人