我认为这很容易,但我错了......
我的应用程序无法在非触摸式Android设备上运行,因此我不希望它出现在市场上。
我希望找到一个在AndroidManifest.xml中设置的属性,但我能找到的最接近的匹配是:
android:reqTouchScreen
The type of touch screen the application requires, if any at all. The value must be one of the following strings:
Value Description
"undefined" The application doesn't require a touch screen. (The touch screen requirement is undefined.) This is the default value.
"notouch" The application doesn't require a touch screen.
"stylus" The application requires a touch screen that's operated with a stylus.
"finger" The application requires a touch screen that can be operated with a finger.
所以我想做的是将reqTouchScreen设置为手写笔和手指,这是不允许的。或者,一个简单的reqTouchScreen = yes会很好:)