简体   繁体   English

如何在Android中使我的应用程序支持的平板电脑?

[英]how to make my application supported tablets in android?

My application have minSdkVersion="8" & targetSdkVersion="9" . 我的应用程序具有minSdkVersion="8"targetSdkVersion="9"

Also added 还添加了

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

in manifest file. 在清单文件中。 And i did not use <support-screens> in my application's manifest. 而且我没有在应用程序清单中使用<support-screens> Because I think it is true by default. 因为我认为默认情况下是正确的。

While downloading this application from android market using Samsung Galaxy tab GT-P1000 (Android OS 2.2) it works fine, but when downloading using Penta Tab IS709C (Android OS 4.0.4) this shows 'App not compatible with this application' error. 使用Samsung Galaxy tab GT-P1000 (Android OS 2.2)从android市场下载此应用程序时,它工作正常,但是使用Penta Tab IS709C (Android OS 4.0.4)下载时,这显示“应用程序与此应用程序不兼容”错误。

What is the issue here. 这是什么问题。 How can I make my application have support for all phones and tablets? 如何使我的应用程序支持所有手机和平板电脑?

Do not set maxSDKVersion , it is not a good practice. 不要设置maxSDKVersion ,这不是一个好习惯。

just change your target SDK 只需更改您的目标SDK

 <uses-sdk
    android:minSdkVersion="8"
    android:targetSdkVersion="17" />

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM