调用电话和短信(备忘)
摘要:
----------打电话在button的单击事件中添加代码: Intent intent = new Intent(); intent.setAction(Intent.ACTION_CALL); intent.setData(Uri.parse("tel:"+ number)); startActivity(intent);添加打电话权限:(在<application>节点外)<uses-permission android:name="android.permission.CALL_PHONE" />-----------发 阅读全文
posted @ 2013-03-30 08:44 單 阅读(101) 评论(0) 推荐(0)
浙公网安备 33010602011771号