java豆子

导航

2011年11月10日 #

让android应用程序跳转到系统的各个设置页面

摘要: 在android SDK文档中有这样一个类,android.provider.Settings类提供android系统各个页面的跳转常量:StringACTION_ACCESSIBILITY_SETTINGSActivity Action: Show settings for accessibility modules.StringACTION_ADD_ACCOUNTActivity Action: Show add account screen for creating a new account.StringACTION_AIRPLANE_MODE_SETTINGSActivity Act 阅读全文

posted @ 2011-11-10 17:49 java豆子 阅读(1963) 评论(0) 推荐(0) 编辑

Android开发中常用到Intent的URI与示例

摘要: 下面是常用到的Intent的URI及其示例,包含了大部分应用中用到的共用Intent。一、打开一个网页,类别是Intent.ACTION_VIEW Uri uri = Uri.parse("http://blog.3gstdy.com/"); Intent intent = new Intent(Intent.ACTION_VIEW, uri);二、打开地图并定位到一个点 Uri uri = Uri.parse("geo:52.76,-79.0342″); Intent intent = new Intent(Intent.ACTION_VIEW, uri);三、 阅读全文

posted @ 2011-11-10 16:42 java豆子 阅读(2150) 评论(0) 推荐(0) 编辑