Take the 2-minute tour ×

I would like to know if it is possible to use DBUS on Android using Java. From what I have been searching till now it appears like there is no DBUS programming support on Android. But then bluetooth on Android uses DBUS. I would like to confirm if it is actually the case. If so, is there a possibility that DBUS would be supported in the future.

share|improve this question
Have a look at stackoverflow.com/questions/1591164/… - short answer: you shouldn't do that. –  Ulrich Dangel May 16 '12 at 2:18
@mru I did not get the reason. Could you explain it? If necessary we can change the Android OS before using. –  salsabear May 16 '12 at 3:00
The problem is it isn't guaranteed that dbus is available. If you control the platform you can ensure dbus is present. This will allow you to use the normal java dbus library –  Ulrich Dangel May 16 '12 at 3:11
@vski We have decided to use dbus anyway. But not by using java but using JNI to call dbus from native code. A new problem is, why are dbus headers not available in android-ndk? but dbus headers are in android source code. –  salsabear Jun 7 '12 at 8:31
show 2 more comments


Your Answer



Browse other questions tagged or ask your own question.