开发者

Extend UEventObserver.java

开发者 https://www.devze.com 2023-02-21 22:37 出处:网络
Hey! For observing GPIO interrupts i want to create an observer class which should be a subclass of UEventObserver.java which finds in frameworks/base/core/java/android/os. The problem is, that this c

Hey! For observing GPIO interrupts i want to create an observer class which should be a subclass of UEventObserver.java which finds in frameworks/base/core/java/android/os. The problem is, that this class is not contained in the standard SDK android.jar. Does anybody have got an idea how t开发者_运维知识库o extend from this class? Thanks a lot!


I did a search on all android.jar on my Mac with api level 10, 15 and 16, and only found the class in api level 10. It seems to be deprecated somehow, but I can't find any information around that.

find . | xargs grep UEventObserver
Binary file ./android-10/data/android/os/UEventObserver$UEvent.class matches
Binary file ./android-10/data/android/os/UEventObserver$UEventThread.class matches
Binary file ./android-10/data/android/os/UEventObserver.class matches
Binary file ./android-10/data/layoutlib.jar matches
Binary file ./android-10/images/system.img matches
Binary file ./android-15/data/layoutlib.jar matches
Binary file ./android-16/data/layoutlib.jar matches


The class is hidden part of frameworks, so it isn't exposed via the normal sdk API's that Apps use.

0

精彩评论

暂无评论...
验证码 换一张
取 消