aboutsummaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml63
1 files changed, 62 insertions, 1 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 14c4d51..0b88c69 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -23,7 +23,7 @@
android:versionCode="123"
android:versionName="@string/versionName">
- <uses-sdk android:targetSdkVersion="5" android:minSdkVersion="5" />
+ <uses-sdk android:targetSdkVersion="4" android:minSdkVersion="3" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
@@ -31,6 +31,16 @@
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" />
+ <!-- begin backport.android.bluetooth -->
+
+ <uses-permission android:name="android.permission.BLUETOOTH"></uses-permission>
+ <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"></uses-permission>
+
+ <!-- ${your package name}.PERMISSION -->
+ <uses-permission android:name="org.broeuschmeul.android.gps.bluetooth.provider.PERMISSION"></uses-permission>
+
+ <!-- end backport.android.bluetooth -->
+
<application android:icon="@drawable/ic_launcher_bluegps" android:label="@string/app_name" android:allowClearUserData="true">
<activity android:name=".BluetoothGpsActivity"
android:label="@string/app_name"
@@ -64,5 +74,56 @@
</intent-filter>
</service>
+ <!-- begin backport.android.bluetooth -->
+
+ <activity android:name="backport.android.bluetooth.RequestEnableActivity"
+ android:label="Bluetooth Permission Request" android:noHistory="true"
+ android:theme="@android:style/Theme.Translucent.NoTitleBar"
+ android:configChanges="orientation|keyboardHidden">
+ <intent-filter>
+
+ <!-- ${your package name}.action.REQUEST_ENABLE -->
+ <action android:name="org.broeuschmeul.android.gps.bluetooth.provider.action.REQUEST_ENABLE" />
+
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
+ </activity>
+
+
+ <activity android:name="backport.android.bluetooth.RequestDiscoverableActivity"
+ android:label="Bluetooth Permission Request" android:noHistory="true"
+ android:theme="@android:style/Theme.Translucent.NoTitleBar"
+ android:configChanges="orientation|keyboardHidden">
+ <intent-filter>
+
+ <!-- ${your package name}.action.REQUEST_DISCOVERABLE -->
+ <action android:name="org.broeuschmeul.android.gps.bluetooth.provider.action.REQUEST_DISCOVERABLE" />
+
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
+ </activity>
+
+
+ <receiver android:name="backport.android.bluetooth.BluetoothIntentRedirector">
+ <intent-filter>
+ <action android:name="android.bluetooth.intent.action.DISCOVERY_COMPLETED" />
+ <action android:name="android.bluetooth.intent.action.DISCOVERY_STARTED" />
+ <action android:name="android.bluetooth.intent.action.NAME_CHANGED" />
+ <action android:name="android.bluetooth.intent.action.SCAN_MODE_CHANGED" />
+ <action android:name="android.bluetooth.intent.action.BLUETOOTH_STATE_CHANGED" />
+ <action android:name="android.bluetooth.intent.action.REMOTE_DEVICE_CONNECTED" />
+ <action android:name="android.bluetooth.intent.action.REMOTE_DEVICE_DISCONNECTED" />
+ <action android:name="android.bluetooth.intent.action.REMOTE_DEVICE_DISCONNECT_REQUESTED" />
+ <action android:name="android.bluetooth.intent.action.BOND_STATE_CHANGED" />
+ <action android:name="android.bluetooth.intent.action.PAIRING_REQUEST" />
+ <action android:name="android.bluetooth.intent.action.PAIRING_CANCEL" />
+ <action android:name="android.bluetooth.intent.action.REMOTE_DEVICE_CLASS_UPDATED" />
+ <action android:name="android.bluetooth.intent.action.REMOTE_DEVICE_FOUND" />
+ <action android:name="android.bluetooth.intent.action.REMOTE_NAME_UPDATED" />
+ </intent-filter>
+ </receiver>
+
+ <!-- end backport.android.bluetooth -->
+
</application>
</manifest>