摘要: android中有一些常用的标准意图方法,如VIEW,CALL,DIAL,EDIT等。参阅下面:动作(Action)和URI描述语句组合:URI描述语句 动作(Action) Activity说明------ android.intent.action.MAIN 应用程序进入点http://web_address android.intent.action.VIEW 启动浏览器content://contacts/people/1 android.intent.action.VIEW 浏览id=1的人的数据content://contacts/people/ android.intent... 阅读全文
posted @ 2012-09-14 22:42 wisimer 阅读(188) 评论(0) 推荐(0) 编辑
摘要: Intent.ACTION_CALL与Intent.ACTION_DIAL之细微差别: 前面说到Action和URI描述语句的组合运用,其中有两个,作用相同,只是代码略有不同URI描述语句 动作(Action)tel:123 android.intent.action.CALL (直接)拨打电话tel: android.intent.action.DIAL 输入电话号码再拨打第一个组合输入号码后(跳过拨号程序)直接进入到通化界面。关键代码:Uri uri=Uri.parse("tel:"+et.getText().toString()); Intent intent=new 阅读全文
posted @ 2012-09-14 22:33 wisimer 阅读(144) 评论(0) 推荐(0) 编辑