最終更新:2013-06-11 (火) 15:18:34 (3971d)  

android.hardware.faketouch
Top / android.hardware.faketouch

これが宣言されると、アプリケーションはタッチスクリーンのエミュレーション(もしくはそれ以上)を提供する端末とコンパチブルであることを示す

概要

  • The application uses basic touch interaction events, such as "click down", "click up", and drag.

Comments

  • When declared as required, this indicates that the application is compatible with a device only if it offers an emulated touchscreen ("fake touch" interface), or better. A device that offers a fake touch interface provides a user input system that emulates a subset of touchscreen capabilities. For example, a mouse or remote control that drives an on-screen cursor provides a fake touch interface. If your application requires basic point and click interaction (in other words, it won't work with only a d-pad controller), you should declare this feature. Because this is the minimum level of touch interaction, your app will also be compatible with devices that offer more complex touch interfaces.

Note

  • Because applications require the android.hardware.touchscreen feature by default, if you want your application to be available to devices that provide a fake touch interface, you must also explicitly declare that a touch screen is not required by declaring <uses-feature android:name="android.hardware.touchscreen" android:required="false" />

下位

  • android.hardware.faketouch.multitouch.distinct?
  • android.hardware.faketouch.multitouch.jazzhand?

メモ

  • これが宣言されると、アプリケーションはタッチスクリーンのエミュレーション(もしくはそれ以上)を提供する端末とコンパチブルであることを示す。タッチスクリーンのエミュレーションを提供する端末は、タッチスクリーン機能のサブセットのエミュレーションを行えるユーザ入力システムを持つ。そのような入力システムの一例はマウスや、画面上のカーソルを制御するリモートコントロールだ。そのような入力システムは、クリックの上下やドラッグのように基本的なタッチイベントをサポートする。しかし、faketouch端末では、ジェスチャーや弾くなどのより複雑な入力タイプは、かなり難しいか不可能だ。また、マルチタッチジェスチャーはもちろん可能ではない。
  • もしあなたのアプリケーションが複雑なジェスチャーを必要とせず、またエミュレートされたタッチイベントを持つ端末からあなたのアプリケーションがフィルターされたくなければ、ぜひ<uses-feature>にandroid.hardware.faketouchを宣言するべきだ。こうすることで、エミュレートされたタッチ入力だけを提供する端末タイプも含めて、最も数多くの端末タイプへあなたのアプリケーションが利用可能になる。
  • タッチスクリーン機能はfaketouch機能のスーパーセットとなるので、タッチスクリーンを備えたすべての端末もandroid.hardware.faketouchをサポートする。なので、本当にタッチスクリーンが必要な場合を除いて、faketouchを<uses-feature>に追加するべきだ。
  • http://d.hatena.ne.jp/androidzaurus/20110223/1298444040

関連