摘要: 一、打开其它应用程序[以打开QQ为例]1 Intent intent = new Intent();2 ComponentName cmp = new ComponentName("com.tencent.mobileqq","com.tencent.mobileqq.activit... 阅读全文
posted @ 2014-08-06 10:12 末日那道伤 阅读(360) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/heng615975867/article/details/9194219 阅读全文
posted @ 2014-08-05 17:41 末日那道伤 阅读(116) 评论(0) 推荐(0)
摘要: UI界面更新必须在ui线程中 不能在runable线程中操作ui 可以发送消息利用handler来更新ui private void load() { LoadDate load = new LoadDate(); load.execute("http://h.hiphotos.baidu.co... 阅读全文
posted @ 2014-08-05 17:38 末日那道伤 阅读(788) 评论(0) 推荐(0)
摘要: 一、打开一个网页,类别是Intent.ACTION_VIEWUri uri = Uri.parse("http://www.android-study.com/");Intent intent = new Intent(Intent.ACTION_VIEW, uri);二、打开地图并定位到一个点Ur... 阅读全文
posted @ 2014-07-28 09:58 末日那道伤 阅读(363) 评论(0) 推荐(0)