1 <?xml version="1.0" encoding="utf-8"?> 2 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 3 package="com.android.bluetooth" 4 android:sharedUserId="@string/sharedUserId"> 5 <!-- Allows access to the Bluetooth Share Manager --> 6 <permission android:name="android.permission.ACCESS_BLUETOOTH_SHARE" 7 android:label="@string/permlab_bluetoothShareManager" 8 android:description="@string/permdesc_bluetoothShareManager" 9 android:protectionLevel="signature" /> 10 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> 11 <uses-permission android:name="android.permission.ACCESS_BLUETOOTH_SHARE" /> 12 <uses-permission android:name="android.permission.INTERNET" /> 13 <uses-permission android:name="android.permission.BLUETOOTH" /> 14 <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> 15 <uses-permission android:name="android.permission.WAKE_LOCK" /> 16 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 17 <uses-permission android:name="android.permission.READ_CONTACTS" /> 18 <uses-permission android:name="android.permission.READ_PHONE_STATE" /> 19 <uses-permission android:name="android.permission.WRITE_SETTINGS" /> 20 <application 21 android:icon="@drawable/bt_share" 22 android:label="@string/app_name"> 23 <uses-library android:name="javax.obex" /> 24 <activity android:name=".opp.TestActivity" android:label="@string/app_name"> 25 <intent-filter> 26 <action android:name="android.intent.action.MAIN" /> 27 <category android:name="android.intent.category.LAUNCHER" /> 28 </intent-filter> 29 </activity> 30 <provider android:name=".opp.BluetoothOppProvider" 31 android:authorities="com.android.bluetooth.opp" 32 android:process="@string/process"> 33 <path-permission 34 android:path="/btopp" 35 android:permission="android.permission.ACCESS_BLUETOOTH_SHARE" /> 36 </provider> 37 <service android:process="@string/process" 38 android:name=".opp.BluetoothOppService" 39 android:permission="android.permission.ACCESS_BLUETOOTH_SHARE" /> 40 <receiver android:process="@string/process" 41 android:name=".opp.BluetoothOppReceiver"> 42 <intent-filter> 43 <action android:name="android.bluetooth.adapter.action.STATE_CHANGED" /> 44 <action android:name="android.intent.action.BOOT_COMPLETED" /> 45 </intent-filter> 46 </receiver> 47 <activity android:name=".opp.BluetoothOppLauncherActivity" 48 android:process="@string/process" 49 android:theme="@android:style/Theme.Holo.Dialog" android:label="@string/bt_share_picker_label"> 50 <intent-filter> 51 <action android:name="android.intent.action.SEND" /> 52 <category android:name="android.intent.category.DEFAULT" /> 53 <data android:mimeType="image/*" /> 54 <data android:mimeType="video/*" /> 55 <data android:mimeType="audio/*" /> 56 </intent-filter> 57 <intent-filter> 58 <action android:name="android.intent.action.SEND_MULTIPLE" /> 59 <category android:name="android.intent.category.DEFAULT" /> 60 <data android:mimeType="image/*" /> 61 <data android:mimeType="video/*" /> 62 <data android:mimeType="x-mixmedia/*" /> 63 </intent-filter> 64 <intent-filter> 65 <action android:name="android.btopp.intent.action.OPEN" /> 66 <category android:name="android.intent.category.DEFAULT" /> 67 <data android:mimeType="vnd.android.cursor.item/vnd.android.btopp" /> 68 </intent-filter> 69 </activity> 70 <activity android:name=".opp.BluetoothOppBtEnableActivity" 71 android:process="@string/process"> 72 </activity> 73 <activity android:name=".opp.BluetoothOppBtErrorActivity" 74 android:process="@string/process"> 75 </activity> 76 <activity android:name=".opp.BluetoothOppBtEnablingActivity" 77 android:process="@string/process"> 78 android:theme="@android:style/Theme.Holo.Dialog"> </activity> 79 <activity android:name=".opp.BluetoothOppIncomingFileConfirmActivity" 80 android:process="@string/process"> 81 </activity> 82 <activity android:name=".opp.BluetoothOppTransferActivity" 83 android:process="@string/process"> 84 </activity> 85 <activity android:name=".opp.BluetoothOppLiveFolder" 86 android:process="@string/process" 87 android:label="@string/btopp_live_folder"> 88 <intent-filter> 89 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" /> 90 <category android:name="android.intent.category.DEFAULT" /> 91 </intent-filter> 92 </activity> 93 <activity android:name=".pbap.BluetoothPbapActivity" 94 android:process="@string/process" 95 android:label=" " 96 android:theme="@*android:style/Theme.Holo.Dialog.Alert"> 97 <intent-filter> 98 <category android:name="android.intent.category.DEFAULT" /> 99 </intent-filter> 100 </activity> 101 <service android:process="@string/process" 102 android:name=".pbap.BluetoothPbapService" > 103 <action android:name="android.bluetooth.IBluetoothPbap"/> 104 </service> 105 <receiver android:process="@string/process" 106 android:name=".pbap.BluetoothPbapReceiver"> 107 <intent-filter> 108 <action android:name="android.bluetooth.adapter.action.STATE_CHANGED"/> 109 </intent-filter> 110 </receiver> 111 </application> 112 </manifest> 113