I'am trying to monitor the device status in java layer using UEventObserver in my own service, during run time, error occurs. Below is the log:
java.lang.RuntimeException: Unable to open socket for UEventObserver >From the code tracking, in native, in function int uevent_init(), it will call s = socket(PF_NETLINK, SOCK_DGRAM, NETLINK_KOBJECT_UEVENT); But failed, Could anybody give me some hints on it? Thanks Charles --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---