android - 如何针对 Chromebook 优化我的应用

标签 android google-chrome

Google Chromebook 现在支持 Google Play 商店和 Android 应用。如何针对 Chromebook 优化 Android 应用?

最佳答案

如果您想吸引使用非触摸屏 Chromebook 的客户,请更新 AndroidManifest.xml 并将触摸屏设置为不需要。

调整设置,以便不需要 android.hardware.touchscreen 功能,如以下示例所示。

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
          ... >
    <!-- Some Chromebooks don't support touch. Although not essential,
         it's a good idea to explicitly include this declaration. -->
    <uses-feature android:name="android.hardware.touchscreen"
                  required="false" />
</manifest>

更多引用这里: Optimizing Apps for Chromebooks

关于android - 如何针对 Chromebook 优化我的应用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38890510/

相关文章:

android - 获取大量数据会抛出光标窗口 : Window is full error

java - 响应式网站在 Chrome 中以其他方式显示在移动宽度之外的 Web View 上(无响应)看起来不错

java - ExpandableListView 未按正确顺序出现

google-chrome - Selenium Webdriver - SessionNotCreatedError

google-chrome - 仅 Chrome 错误 : Blocked a frame with origin "https://apis.google.com" from accessing

html - CSS 悬停在谷歌浏览器中不起作用

google-chrome - 在 HKCU 中使用 ExtensionInstallForcelist 时,Chrome 扩展程序不会安装

java - 无纹理四边形未在 OpenGL ES 3.0 中渲染

android - 错误 403 禁止 : Impossible to access to jcenter

使用两个 chrome 浏览器时,php 应用程序 session 会混淆