Hi,
I'm a new b4xpages , I'm trying to create a splash screen + biometric.
www.b4x.com
and
www.b4x.com
manifest editor :
I have an error when I run it.
Thanks for helping.
Regards,
Bobby.
I'm a new b4xpages , I'm trying to create a splash screen + biometric.
[B4X] [B4XPages] Splash Screen
B4A, B4i and B4J splash screen implementation. The implementation is different in each platform. 1. Don't miss the manifest editor code in B4A. 2. Don't use %y in the code. Use Root.Height instead (you can use %y in the designer script).

and
BiometricManager - Biometric Authentication
This class replaces FingerprintManager (https://www.b4x.com/android/forum/threads/fingerprint-authentication.72500/#content). It works with all the device supported biometric authentication features. Setup: 1. Open B4A Sdk Manager, search for biometric and install androidx.biometric:biometric...

manifest editor :
B4X:
AddManifestText(
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="30"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
CreateResourceFromFile(Macro, Themes.LightTheme)
'End of default text.
SetActivityAttribute(Main, android:theme, "@style/DarkTheme")
CreateResource(values, theme.xml,
<resources>
<style
name="DarkTheme" parent="@android:style/Theme.Material.Light.NoActionBar.Fullscreen">
<item name="android:windowBackground">@color/window</item>
</style>
</resources>
)
CreateResource(values, colors.xml,
<resources>
<color name="window">#FF5B7BFF</color>
</resources>
)
AddPermission(android.permission.USE_BIOMETRIC)
AddPermission(android.permission.USE_FINGERPRINT)
SetApplicationAttribute(android:theme, "@style/MyAppTheme")
CreateResource(values, theme.xml,
<resources>
<style name="MyAppTheme" parent="Theme.AppCompat.Light">
</style>
</resources>
)
I have an error when I run it.
B4X:
B4A Version: 11.50
Parsing code. (0.02s)
Java Version: 11
Building folders structure. (0.02s)
Running custom action. (0.03s)
Compiling code. (0.08s)
Compiling layouts code. (0.02s)
Organizing libraries. (0.03s)
(AndroidX SDK)
Compiling resources (0.70s)
Linking resources Error
AndroidManifest.xml:22: error: resource style/DarkTheme (aka b4a.example:style/DarkTheme) not found.
error: failed processing manifest.
Thanks for helping.
Regards,
Bobby.