android - 使 Android 应用显示为专为平板电脑设计

标签 android cordova google-play

我在 PlayStore 上有一个 cordova 应用程序,但在优化提示中显示该应用程序不是为平板电脑设计的。我环顾四周并更改了 <supports-screens>标记,但它仍然无法正常工作,我仍在获得优化提示。

这是 list 文件:

<?xml version="1.0" encoding="utf-8"?>
<manifest android:versionCode="11"    
                    android:versionName="$BundleVersion$" 
                    package="$AppIdentifier$" 
                    android:windowSoftInputMode="adjustPan"
                    android:hardwareAccelerated="$AndroidHardwareAcceleration$"
                    xmlns:android="http://schemas.android.com/apk/res/android" >
        <supports-screens
                android:largeScreens="true"
                android:normalScreens="true"
                android:smallScreens="true"
                android:xlargeScreens="true"
                android:resizeable="true"
                android:anyDensity="true"
                />

        <application android:label="@string/app_name" 
                                 android:icon="@drawable/icon" 
                                 android:hardwareAccelerated="$AndroidHardwareAcceleration$">
                <activity android:label="@string/app_name" 
                    android:name=".TelerikCallbackActivity"
                    android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale"
                    android:launchMode="standard"
                                    android:theme="@android:style/Theme.Black.NoTitleBar" >
                        <intent-filter>
                                <action android:name="android.intent.action.MAIN" />
                                <category android:name="android.intent.category.LAUNCHER" />
                        </intent-filter>
                </activity>
        </application>
        <uses-sdk android:targetSdkVersion="14" />
</manifest>

这是配置文件:

<cordova>

    <content src="index.html" />

    <preference name="useBrowserHistory" value="true" />
    <preference name="exit-on-suspend" value="false" />
    <preference name="fullscreen" value="true" />
    <preference name="permissions" value="none"/>

    <plugins>
        <plugin name="App" value="org.apache.cordova.App"/>
        <plugin name="Device" value="org.apache.cordova.Device"/>
    </plugins>
</cordova>

我需要做什么才能使该应用适用于平板电脑?

最佳答案

您需要的不是“基于代码的答案”。

Google Play 将审核您上传的信息,以判断应用是否也适用于平板电脑。

这应该包括以下内容。

(1) 带有平板启动画面的应用

(2) 带有平板电脑图标的应用

(3) 平板电脑屏幕配置。 (你已经根据你的问题设置了)

(4) 平板电脑信息。 (截图、宣传图等)

关于android - 使 Android 应用显示为专为平板电脑设计,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27346941/

相关文章:

android - Ember.js HTM5 的 UI 框架建议 => Phone Gap 应用程序(或替代堆栈)

android - 上传AAB时代码验证错误: "Files added after transparency metadata generation"

java - 如何在启动 PlayStore 之前决定应用程序名称

android - 如何合并我两个Android应用中的客户

java - 使用 http volley 发出 get 请求时响应为空

android - 如何在运行 Android 5.0 的设备上访问音频 'Priority Mode'?

android - YouTube视频无法在WebView Android中开始播放

android - 在纹理 View 上缩放视频以呈现中心裁剪的外观

javascript - Jquery/JavaScript OnClick 事件未在移动设备上触发

android - PhoneGap - 应用程序浏览器不工作 - 需要打开应用程序内的 URL