'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
'See this link for for more information: https://www.b4x.com/forum/showthread.php?p=78136
AddManifestText(
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="14"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
SetApplicationAttribute(android:theme, "@android:style/Theme.Holo")
'End of default text.
AddPermission(android.permission.BLUETOOTH)
AddReceiverText(detect_bluetooth, <intent-filter>
<action android:name="android.bluetooth.device.action.ACL_CONNECTED"/>
</intent-filter>)
AddReceiverText(disconnect_bluetooth, <intent-filter>
<action android:name="android.bluetooth.device.action.ACTION_ACL_DISCONNECTED"/>
<action android:name="android.bluetooth.device.action.ACTION_ACL_DISCONNECT_REQUESTED"/>
</intent-filter>)
AddReceiverText(detect_bluetooth, <intent-filter>
<action android:name="android.intent.action.MEDIA_BUTTON" />
</intent-filter>)
AddReceiverText(detect_bluetooth, <intent-filter>
<action android:name="android.media.VOLUME_CHANGED_ACTION" />
</intent-filter>)