Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
(私のアプリで) キーボードで MotionEven データ (圧力) をキャプチャすることは可能ですか? または、アプリで画面上のすべてのタッチを傍受する方法はありますか (フルスクリーン モードのようなもの)。
それを試してみてください:
@Override public boolean onTouchEvent(MotionEvent me) { //for example if (me.getAction() == MotionEvent.ACTION_UP) { } }