Has anyone succeeded in running the Java bindings for dbus on Android? All 开发者_开发知识库indications point at dbus already running as a process within the Android OS, but there is no official access point for them through the Java interface. Thanks in advance!
You shouldn't do this unless you're talking about your own bus talking to things you control. There's no guarantee that dbus will be available. According to the android mailing list, it's just an implementation detail that dbus is around at all, it's not guaranteed to be there, and might not be there in the future.
You can try using the dbus-java from the freedesktop project. I don't know if it works on android tough.
精彩评论