Notbad
Notbad

Reputation: 6296

Problems making my Application show as desgined for tablets

I have seen this topic a lot at stack overflow, have test a lot of things this threads recommended but I can't make my application to show under the tablet category.

The warning that shows below optimization tips is: Your APK should include custom drawables assets for common tablet screen densities.

I have added icons for m,l,h,x and xx densitives below mimmap-xxx folders. I have added a dummy picture under drawable-xxxx with differnt denstities to test. I have added minsdk to be at 11. Nothing, the warning doesn't want to go away.

Could anyone give any other tip or can see something I have missed?

Cheers.

Upvotes: 1

Views: 450

Answers (2)

Notbad
Notbad

Reputation: 6296

After some researching and tests I managed to upload an app without that warning. The only thing I did was set minsdk to 11 and add

<supports-screens 
  android:smallScreens="true"
  android:normalScreens="true"
  android:largeScreens="true"
  android:xlargeScreens="true"
  android:anyDensity="true" />

to the manifest. This makes your as designed for tables, at least for my app.

Note: This did not remove the message in another app I updated, but it did when I uploaded it as a new one.

Cheers.

Upvotes: 0

leb1755
leb1755

Reputation: 1424

You should check your manifest file, I had some trouble with it because I asked some permissions which may only be available on a smartphone - and not tablet.

For example, if you want a phone user to be able to call from your app, you must include the permission below but put the required attribute to false because the user is able to use your app without that functionality:

 <uses-permission android:name="android.permission.CALL_PHONE" android:required="false"/>

You should not find the app in the playstore if you don't put the required attribute to false with a tablet because most of them are unable to call.

Upvotes: 1

Related Questions