My application is not listed for tablets

烂漫一生 提交于 2019-12-06 02:20:21
JJ86

I think the problem is here:

<!--  ΝΟΜΙΖΩ ΔΕΝ ΧΡΕΙΑΖΟΝΤΑΙ ΤΑ 2 ΠΑΡΑΚΑΤΩ... -->
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />

Try this instead:

<uses-feature android:name="android.hardware.telephony" android:required="false" />

This question was already asked, see this post for more info. Also if you are targeting tablet and phones, you don't need to write this on your code, IMHO:

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

I don't use this on my applications.

You can install any app into any device (smartphone/ tablet) using USB cable from eclipse as long as you define correctly the application's target SDK to work with them.

Although the store won't recognize it unless you use some kind of "filters" do to that.

To resolve your issue add the android:requiresSmallestWidthDp to the supports-screens tag.

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

The 600 (dp units) means all devices must have, at least, 600dp minimum usable area of wide. This is the same as 7'' screens or higher. Or you could 720 (dp units) for minimum wide screen of 10'' screens.

Please, take a look here to get more details about android:requiresSmallestWithDp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!