摘要: Intent intent = new Intent(); intent.setAction(Intent.ACTION_SENDTO); intent.setData(Uri.parse("sms:10086")); intent.addC... 阅读全文
posted @ 2015-11-19 15:12 一路向北中 阅读(411) 评论(0) 推荐(0)
摘要: Intent intent =new Intent(); intent.setAction(Intent.ACTION_VIEW); intent.setData(Uri.parse("http://www.baidu.com")); thi... 阅读全文
posted @ 2015-11-19 15:10 一路向北中 阅读(274) 评论(0) 推荐(0)
摘要: ConnectivityManager manager = (ConnectivityManager) this .getSystemService(Context.CONNECTIVITY_SERVICE); NetworkInfo in... 阅读全文
posted @ 2015-11-19 15:08 一路向北中 阅读(331) 评论(0) 推荐(0)
摘要: Intent intent = new Intent(); intent.setClass(this, SecondActivity.class); startActivity(intent); // Intent intent... 阅读全文
posted @ 2015-11-19 13:59 一路向北中 阅读(179) 评论(0) 推荐(0)
摘要: Intent intent = new Intent(Intent.ACTION_PICK, android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI); this.startActivity(inten... 阅读全文
posted @ 2015-11-19 13:51 一路向北中 阅读(153) 评论(0) 推荐(0)
摘要: //Intent intent = new Intent(android.provider.Settings.ACTION_WIRELESS_SETTINGS);//打开无线设置 Intent intent = new Intent(Settings.ACTION_WI... 阅读全文
posted @ 2015-11-19 13:34 一路向北中 阅读(219) 评论(0) 推荐(0)
摘要: import java.io.*;import java.net.HttpURLConnection;import java.net.URL;public class MultiDownload { long beginTime; int threadCount; int runn... 阅读全文
posted @ 2015-11-19 12:25 一路向北中 阅读(179) 评论(0) 推荐(0)