Android Question App not available on Android tablet

DBernaert

Member
Licensed User
Hello,
We distribute a B4X application for IOS and Android.
On IOS the app is available for tablet and phone.
On Android, the app is available for phone but not for tablet, at least not my own tablet.
I have a samsung tab s7 tablet and in the play store on the tablet i get an indication that the app is not compatible with the device.
When looking in the play store and looking up the tablet in the supported devices, i get partially supported.

This is the manifest for the app:

AddManifestText(
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="33"/>
<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.

AddManifestText(<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="18" />
)

AddApplicationText(
<provider
android:name="android.support.v4.content.FileProvider"
android:authorities="$PACKAGE$.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/provider_paths"/>
</provider>
)

CreateResource(xml, provider_paths,
<files-path name="name" path="shared" />
)

These are the project attributes:

#Region Project Attributes
#ApplicationLabel: WAVEDESK ERP
#VersionCode: 16
#VersionName:
'SupportedOrientations possible values: unspecified, landscape or portrait.
#SupportedOrientations: portrait
#CanInstallToExternalStorage: False


How can i find and fix the reason for this?

Thank you.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0

DBernaert

Member
Licensed User
Thank you Erel, seems to be solved that way.
It was apparently the feature android.hardware.telephony that was causing the issue.
 
Upvote 0
Top