Android挂断、接听电话(12)
来源:未知 责任编辑:责任编辑 发表时间:2013-12-01 14:14 点击:次
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="lab.sodino.phonecall" android:versionCode="1" android:versionName="1.0"> <application android:icon="@drawable/icon" android:label="@string/app_name"> <activity android:name=".PhoneCall" android:label="@string/app_name"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:name=".ShowAct" android:launchMode="singleInstance"> </activity> <receiver android:name=".PhoneListener"> <intent-filter android:priority="-1000"> <action android:name="android.intent.action.PHONE_STATE"></action> <category android:name="android.intent.category.DEFAULT"></category> </intent-filter> <intent-filter> <action android:name="android.intent.action.NEW_OUTGOING_CALL"></action> <category android:name="android.intent.category.DEFAULT"></category> </intent-filter> </receiver> </application> <uses-sdk android:minSdkVersion="3" /> <uses-permission android:name="android.permission.MODIFY_PHONE_STATE"></uses-permission> <uses-permission android:name="android.permission.CALL_PHONE"></uses-permission> <uses-permission android:name="android.permission.READ_PHONE_STATE"></uses-permission> </manifest>
相关新闻>>
最新推荐更多>>>
- 发表评论
-
- 最新评论 更多>>