'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="29"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"
android:theme="@android:style/Theme.Translucent"
/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
'End of default text.
'FOR TRANSPARENT ACTIVITY
SetActivityAttribute(ACTION_PROCESS_TEXT, android:theme, "@android:style/Theme.Translucent.NoTitleBar")
'for removing from the recent app's list
SetActivityAttribute(ACTION_PROCESS_TEXT, "android:excludeFromRecents", "true")
'For Creating custom Text Selection actions with ACTION_PROCESS_TEXT
SetActivityAttribute(ACTION_PROCESS_TEXT, android:label, "Convert to Decimal")
AddActivityText(ACTION_PROCESS_TEXT,
<intent-filter>
<action android:name="android.intent.action.PROCESS_TEXT" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
</intent-filter>)