机器人从任何应用程序检测到触摸状态机器人、应用程序、检测到、状态

2023-09-13 23:47:04 作者:小女人妩媚、

是否有可能在其他应用程序,从检测到触摸事件,特别是刷卡?我想能够检测用户是否已刷卡左或右(即使是使用2个手指 - 但不是必需的)。或许有一个服务或广播我可以听。

或做不到这一点,有一些API,或许我可以轮询说10次,第二次获得了触摸状态,我可以计算出其余的(为什么,我记得写的鼠标驱动程序频闪与输出的数量COM1端口8086在XT汇编codeD在TSR ......)!

总之,任何帮助AP preciated。 (我认为这可能被劫持的主要发射并具有透明的点击通过顶部的活动来实现,但这是严重的欺诈行为与危险!)

解决方案   

时有可能发现在其他应用程序的触摸事件,特别是刷卡?

幸运的是,没有。

  

或做不到这一点,有一些API,或许我可以轮询说10次,第二次获得了触摸状态,我可以计算出其余

幸运的是,没有。

  

我认为它可能通过劫持的主启动程序和具有透明的点击在最上层的活动来完成

幸运的是,没有。

欢迎您来写自己的主屏幕应用,在这种情况下,你可以在自己的主屏幕上追踪自己的触摸事件。欢迎您来写一个普通的应用程序,并在自己的活动跟踪自己的触摸事件。

Is it possible to detect touch events from within another application, specifically swipes? I'd like to be able to detect if the user has swiped left or right (even with 2 fingers - but not required). Perhaps there is a service or broadcast I can listen to.

or failing that, is there some API perhaps that I can poll say 10 times a second to get the touch state and I can compute the rest (why, I remember writing a mouse driver strobing the COM1 port with IN OUTs in 8086 assembler coded in a TSR on a XT...)!

15分钟开发一个机器人,硬件软件都现成,背后还有 三板斧

Anyway, any help appreciated. (I think it could be done by hijacking the primary Launcher and having a transparent click-through on-top activity, but that's seriously fraud with danger!)

解决方案

Is it possible to detect touch events from within another application, specifically swipes?

Fortunately, no.

or failing that, is there some API perhaps that I can poll say 10 times a second to get the touch state and I can compute the rest

Fortunately, no.

I think it could be done by hijacking the primary Launcher and having a transparent click-through on-top activity

Fortunately, no.

You are welcome to write your own home screen application, in which case you can track your own touch events on your own home screen. You are welcome to write an ordinary application and track your own touch events on your own activities.

 
精彩推荐
图片推荐