This is the Manifest:
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="9" 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.Material")
'SetApplicationAttribute(android:theme, "@android:style/Theme.Holo.Light")
'End of default text.
'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="19"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
' added
SetApplicationAttribute(android:theme, "@android:style/Theme.Material")
'End of default text.
' B4A 6, google play services 30
'************ Google Play Services Base ************
AddApplicationText(
<activity android:name="com.google.android.gms.common.api.GoogleApiActivity"
android:theme="@android:style/Theme.Translucent.NoTitleBar"
android:exported="false"/>
<meta-data
android:name="com.google.android.gms.version"
android:value="
@Integer/google_play_services_version" />
)
'************ Google Play Services Base (end) ************
' you must add one of these two permissions
' the permission you add will define the accuracy of location updates
AddPermission(android.permission.ACCESS_FINE_LOCATION)
AddPermission(android.permission.INSTALL_PACKAGES)
AddPermission(android.permission.DELETE_PACKAGES)
AddPermission(com.android.vending.INSTALL_REFERRER)
AddReceiverText(Starter,
<intent-filter>
<action android:name="com.android.vending.INSTALL_REFERRER" />
</intent-filter>)
AddApplicationText(
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="AIzaSyAxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"/>
)
AddPermission(android.permission.ACCESS_NETWORK_STATE)