| <?xml version="1.0" encoding="utf-8"?> |
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| package="com.android.bluetooth" |
| android:sharedUserId="@string/sharedUserId"> |
| <!-- Allows access to the Bluetooth Share Manager --> |
| <permission android:name="android.permission.ACCESS_BLUETOOTH_SHARE" |
| android:label="@string/permlab_bluetoothShareManager" |
| android:description="@string/permdesc_bluetoothShareManager" |
| android:protectionLevel="signature" /> |
| <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
| <uses-permission android:name="android.permission.ACCESS_BLUETOOTH_SHARE" /> |
| <uses-permission android:name="android.permission.INTERNET" /> |
| <uses-permission android:name="android.permission.BLUETOOTH" /> |
| <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> |
| <uses-permission android:name="android.permission.WAKE_LOCK" /> |
| <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
| <uses-permission android:name="android.permission.READ_CONTACTS" /> |
| <uses-permission android:name="android.permission.READ_PHONE_STATE" /> |
| <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
| <application |
| android:icon="@mipmap/bt_share" |
| android:label="@string/app_name"> |
| <uses-library android:name="javax.obex" /> |
| <activity android:name=".opp.TestActivity" android:label="@string/app_name"> |
| <intent-filter> |
| <action android:name="android.intent.action.MAIN" /> |
| <category android:name="android.intent.category.LAUNCHER" /> |
| </intent-filter> |
| </activity> |
| <provider android:name=".opp.BluetoothOppProvider" |
| android:authorities="com.android.bluetooth.opp" |
| android:process="@string/process"> |
| <path-permission |
| android:path="/btopp" |
| android:permission="android.permission.ACCESS_BLUETOOTH_SHARE" /> |
| </provider> |
| <service android:process="@string/process" |
| android:name=".opp.BluetoothOppService" |
| android:permission="android.permission.ACCESS_BLUETOOTH_SHARE" /> |
| <receiver android:process="@string/process" |
| android:name=".opp.BluetoothOppReceiver"> |
| <intent-filter> |
| <action android:name="android.bluetooth.adapter.action.STATE_CHANGED" /> |
| <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| </intent-filter> |
| </receiver> |
| <activity android:name=".opp.BluetoothOppLauncherActivity" |
| android:process="@string/process" |
| android:theme="@android:style/Theme.Material.Light.Dialog" |
| android:label="@string/bt_share_picker_label"> |
| <intent-filter> |
| <action android:name="android.intent.action.SEND" /> |
| <category android:name="android.intent.category.DEFAULT" /> |
| <data android:mimeType="image/*" /> |
| <data android:mimeType="video/*" /> |
| <data android:mimeType="audio/*" /> |
| </intent-filter> |
| <intent-filter> |
| <action android:name="android.intent.action.SEND_MULTIPLE" /> |
| <category android:name="android.intent.category.DEFAULT" /> |
| <data android:mimeType="image/*" /> |
| <data android:mimeType="video/*" /> |
| <data android:mimeType="x-mixmedia/*" /> |
| </intent-filter> |
| <intent-filter> |
| <action android:name="android.btopp.intent.action.OPEN" /> |
| <category android:name="android.intent.category.DEFAULT" /> |
| <data android:mimeType="vnd.android.cursor.item/vnd.android.btopp" /> |
| </intent-filter> |
| </activity> |
| <activity android:name=".opp.BluetoothOppBtEnableActivity" |
| android:process="@string/process"> |
| </activity> |
| <activity android:name=".opp.BluetoothOppBtErrorActivity" |
| android:process="@string/process"> |
| </activity> |
| <activity android:name=".opp.BluetoothOppBtEnablingActivity" |
| android:process="@string/process" |
| android:theme="@android:style/Theme.Material.Light.Dialog"> |
| </activity> |
| <activity android:name=".opp.BluetoothOppIncomingFileConfirmActivity" |
| android:process="@string/process"> |
| </activity> |
| <activity android:name=".opp.BluetoothOppTransferActivity" |
| android:process="@string/process"> |
| </activity> |
| <activity android:name=".pbap.BluetoothPbapActivity" |
| android:process="@string/process" |
| android:label=" " |
| android:theme="@android:style/Theme.Material.Light.Dialog.Alert"> |
| <intent-filter> |
| <category android:name="android.intent.category.DEFAULT" /> |
| </intent-filter> |
| </activity> |
| <service android:process="@string/process" |
| android:name=".pbap.BluetoothPbapService" > |
| <action android:name="android.bluetooth.IBluetoothPbap"/> |
| </service> |
| <receiver android:process="@string/process" |
| android:name=".pbap.BluetoothPbapReceiver"> |
| <intent-filter> |
| <action android:name="android.bluetooth.adapter.action.STATE_CHANGED"/> |
| </intent-filter> |
| </receiver> |
| </application> |
| </manifest> |