Android Question Problems with tablet download in play store

GabrielHerrmann

Member
Licensed User
Longtime User
Hello together,
I'm a new programmer which using b4a - it is a very nice platform with many good features

Now I have a problem with tablets on publish the app inside google play store.
When looking at the Google Store, the app is only found on smartphones and not by tablets.

In the Developer Console, I get the following message:
Your APK Should include custom Drawables assets for common tablet screen densities.

For your information:
I created the layout of different sizes on the designer. If I will install the app directly on a tablet and everything displayed correctly. And my pictures used according to the requirement for xhdpi. Some pictures was inside TabHost without text.

Unfortunately, I don't know what I shall to do...

Many thanks for your help.
 

NJDude

Expert
Licensed User
Longtime User
If an app doesn't show on a tablet is because the device is incompatible with the app, one common example is that if your app uses telephony this will prevent that WiFi only devices see the app, in other words, if a device doesn't have the capabilities the app requires it won't show the app on the Google Play app.
 
Upvote 0

GabrielHerrmann

Member
Licensed User
Longtime User
Hello NJDude,
thanks for your fast replay.

In the manifest I have set the telephone setting on false:
<uses-feature android:name="android.hardware.telephony" android:required="false"/>

Must I deactivated the telephone attribute on other places?

Thanks again
 
Upvote 0

GabrielHerrmann

Member
Licensed User
Longtime User
Ok, sorry that's right - this app is only for Germany :-(
nevertheless thank you for your fast help

I have checked all my features but I don' know which feature is wrong inside my app...

Has anyone an idea?
 
Upvote 0

dealsmonkey

Active Member
Licensed User
Longtime User
I use the following lines in my manifest to make my apps available for tablets. Just use the manifest editor to insert them

You can still use the camera, wifi etc with no problems.


B4X:
<uses-feature android:name="android.hardware.camera" android:required="false"/>
  <uses-feature android:name="android.hardware.camera.front" android:required="false"/>
  <uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
  <uses-feature android:name="android.hardware.camera.flash" android:required="false"/>
  <uses-feature android:name="android.hardware.screen.landscape"/>
  <uses-feature android:name="android.hardware.wifi" android:required="false"/>
  <uses-feature android:name="android.hardware.touchscreen" android:required="false"/>
 
Upvote 0

GabrielHerrmann

Member
Licensed User
Longtime User
Thanks a lot - I'm going to check it...

... sorry, there was no changes inside the store - It seems the same error
 
Last edited:
Upvote 0

GabrielHerrmann

Member
Licensed User
Longtime User
Hello Erel,
here is my AndroidManifest content:

B4X:
AddManifestText(
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="17"/>
<supports-screens android:largeScreens="true"
  android:normalScreens="true"
  android:xlargeScreens="true"
  android:smallScreens="true"
  android:anyDensity="true"/>
<uses-feature android:name="android.hardware.telephony" android:required="false"/>
<uses-feature android:name="android.hardware.touchscreen" android:required="false"/>
<uses-feature android:name="android.hardware.camera" android:required="false"/>
<uses-feature android:name="android.hardware.camera.front" android:required="false"/>
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
<uses-feature android:name="android.hardware.camera.flash" android:required="false"/>
<uses-feature android:name="android.hardware.screen.landscape"/>
<uses-feature android:name="android.hardware.wifi" android:required="false"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")

And I have selected the app only in german.
 
Last edited:
Upvote 0

GabrielHerrmann

Member
Licensed User
Longtime User
Oh sorry, my mistake...
Here is the xml-file

If I'm going on play store with a Tablet, I don't can find the app.
And in developer console says:
Your APK Should include custom Drawables assets for common tablet screen densities.
 

Attachments

  • AndroidManifest.zip
    855 bytes · Views: 229
Last edited:
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Your APK Should include custom Drawables assets for common tablet screen densities.
This message is a recommendation only. It is not relevant in this case.

Are you sure that the tablet country / account is set to Germany? My guess is that this is the cause.

You should also remove this line: <uses-feature android:name="android.hardware.screen.landscape"/>
 
Upvote 0

Joerg Rothballer

Member
Licensed User
Longtime User
I had the same problem with my App. Only possible for phone. Not possible for Tablet. But both works
Solution in my case:
I import in the Manifesteditor the entrys from "dealsmonkey" reply.
After this I removed the tip from "Erel" android.hardware.screen.landscape.
Now my App is compatible with all 4000 units in play.google
@Erel: thanks for your great product !!!!!
 
Upvote 0

festez

Member
Licensed User
Longtime User
Hello to all.
Also I have a similar problem with my app.
Initially, the app could not be downloaded with the tablet in the market.
After I changed the AndroidManifest.xml file, I was able to download my app with the tablet market.
The only problem left is that my app is not included within the app "Designed for the tablet."
So, with the tablet the app can be downloaded only if sought by name.
The Developer Console provides the following message: "In your layout, You Should use the available space on the tablet."

How can I make sure that my app is included in the app "Designed for tablet"?

If this may help, my app is as follows:

https://play.google.com/store/apps/details?id=it.gianest.software.assegnigoldfree&hl=en

B4X:
<?xml version="1.0" encoding="utf-8"?>
<manifest
    xmlns:android="http://schemas.android.com/apk/res/android"
    package="it.gianest.software.assegnigoldfree"
    android:versionCode="8"
    android:versionName="2.0.19"
    android:installLocation="internalOnly">
   
    <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="14"/>
    <supports-screens android:largeScreens="true"
        android:normalScreens="true"
        android:smallScreens="true"
        android:anyDensity="true"/>
    <uses-feature android:name="android.hardware.telephony" android:required="false" />
    <uses-feature android:name="android.hardware.camera" android:required="false" />
    <uses-permission android:name="android.permission.CALL_PHONE"/>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.CAMERA"/>
    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
    <uses-permission android:name="android.permission.VIBRATE"/>
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
    <application
        android:icon="@drawable/icon"
        android:label="@string/app_name_free">
       
        <meta-data android:name="com.google.android.gms.version"
          android:value="@integer/google_play_services_version"/>
        <activity android:name="com.google.android.gms.ads.AdActivity"
          android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
        <activity
            android:windowSoftInputMode="stateHidden"
            android:launchMode="singleTop"
            android:name=".main"
            android:label="@string/app_name_free"
            android:screenOrientation="unspecified">
            <intent-filter>
              <action android:name="android.intent.action.MAIN" />
              <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
           
        </activity>
        <activity
            android:windowSoftInputMode="adjustResize|stateHidden"
            android:launchMode="singleTop"
            android:name=".banca"
            android:label="@string/app_name_free"
            android:screenOrientation="unspecified">
        </activity>
        <activity
            android:windowSoftInputMode="adjustResize|stateHidden"
            android:launchMode="singleTop"
            android:name=".contocorrente"
            android:label="@string/app_name_free"
            android:screenOrientation="unspecified">
        </activity>
        <activity
            android:windowSoftInputMode="adjustResize|stateHidden"
            android:launchMode="singleTop"
            android:name=".anagrafica"
            android:label="@string/app_name_free"
            android:screenOrientation="unspecified">
        </activity>
        <activity
            android:windowSoftInputMode="adjustResize|stateHidden"
            android:launchMode="singleTop"
            android:name=".assegnoemesso"
            android:label="@string/app_name_free"
            android:screenOrientation="unspecified">
        </activity>
        <activity
            android:windowSoftInputMode="adjustResize|stateHidden"
            android:launchMode="singleTop"
            android:name=".assegnoricevuto"
            android:label="@string/app_name_free"
            android:screenOrientation="unspecified">
        </activity>
        <activity
            android:windowSoftInputMode="stateHidden"
            android:launchMode="singleTop"
            android:name=".gs_viewimage"
            android:label="@string/app_name_free"
            android:screenOrientation="unspecified">
        </activity>
        <activity
            android:windowSoftInputMode="adjustResize|stateHidden"
            android:launchMode="singleTop"
            android:name=".ricercaassegniemessi"
            android:label="@string/app_name_free"
            android:screenOrientation="unspecified">
        </activity>
        <activity
            android:windowSoftInputMode="adjustResize|stateHidden"
            android:launchMode="singleTop"
            android:name=".ricercaassegniricevuti"
            android:label="@string/app_name_free"
            android:screenOrientation="unspecified">
        </activity>
        <activity
            android:windowSoftInputMode="adjustResize|stateHidden"
            android:launchMode="singleTop"
            android:name=".esportaassegniemessi"
            android:label="@string/app_name_free"
            android:screenOrientation="unspecified">
        </activity>
        <activity
            android:windowSoftInputMode="adjustResize|stateHidden"
            android:launchMode="singleTop"
            android:name=".esportaassegniricevuti"
            android:label="@string/app_name_free"
            android:screenOrientation="unspecified">
        </activity>
        <service android:name=".notifiche">
        </service>
        <receiver android:name=".notifiche$notifiche_BR">
            <intent-filter>
            <action android:name="android.intent.action.BOOT_COMPLETED"/>
            </intent-filter>
        </receiver>
    </application>
</manifest>
I attach also the manifest file.

Sorry for my English.
 
Upvote 0

festez

Member
Licensed User
Longtime User
Another message that appears in the Developer Console is this:
"You have uploaded screenshots for 7-inch tablet, but your APK does not seem designed for 7-inch tablet."
But the app can be downloaded that is used on the tablet.
Why this message?



Actually I tried to post on the Developer Console also a very simple app that displays only one button.
There are no direct calls to the functionality of the phone.
Same problem and same message in Developer Console.
 
Last edited:
Upvote 0

festez

Member
Licensed User
Longtime User
Hello Erel,
Yes, I carefully read this tutorial.
In fact, I managed to publish my app for tablet making "NOT REQUIRED" telephony and camera.
In addition, I also tried to create the icon in the "drawable-hdpi".
In any case my app is not designed for the tablet.

You gave looked at my app?
From what I read on the net, it seems that the problem is related to too much blank space left in the various activity.
Do you think it possible?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…