简体   繁体   English

拦截然后将触摸事件传递给基础应用

[英]Intercept and then Pass on touch events to the underlying app

I know this type of question is already asked and it is well known that we can't pass on touch events to underlying apps with ICS or newer versions of android. 我知道这类问题已经问过了,众所周知,我们无法将触摸事件传递给具有ICS或更高版本android的基础应用程序。

But I wonder how home launcher app is able to pass on touch events to live wallpapers app.I mean both apps can use all the touch events normally. 但是我不知道家用启动器应用程序如何将触摸事件传递给动态壁纸应用程序,我的意思是两个应用程序都可以正常使用所有触摸事件。

Example : Galaxy s3 live wallpaper. 示例:Galaxy s3动态壁纸。

Is there any special way given for launchers to do that? 发射器有什么特别的方法吗?

Is there any special way given for launchers to do that? 发射器有什么特别的方法吗?

No, because they are not two apps. 不,因为它们不是两个应用程序。 The home screen has a launcher, and the home screen has live wallpaper. 主屏幕具有启动器,主屏幕具有动态壁纸。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM