Android: How to create a receiver that listen any click to status bar drop down?

孤街醉人 提交于 2019-12-11 16:26:52

问题


I'd like to know how to create a receiver that listen when the user drag down the status bar.

There is a way to do this?

Many thanks...


回答1:


I'd like to know how to create a receiver that listen when the user drag down the status bar.

There is no way to do that. You can only listen to things that are broadcasted and dragging down the statusbar is not an important event that needs to be broadcasted.



来源:https://stackoverflow.com/questions/10373187/android-how-to-create-a-receiver-that-listen-any-click-to-status-bar-drop-down

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!