Google Chromebook现在支持Google Play商店和Android应用。如何针对Chromebook优化我的Android应用?
答案 0 :(得分:2)
如果您想要在非触摸屏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>