Hello guys,<br><br>I am new to Dbus world.<br>I would highly appreciate if someone would react to my email.<br><br>I m using ubuntu 12.04 and making a program with Dbus java.<br>I could connect successfully to the session bus but when i am trying to read or write i get strange errors.<br>
<br>I should mention that i got all the jar files by installing directly from ubuntu so I didnt not build anything special.<br>just apt-get install libdbus-java.<br><br>the peace of code that i have is here.<br><br>mDBusConn = DBusConnection.getConnection("tcp:host=xxx.xxx.xxx.xxx,port=123544");<br>
<br> InputStream in = new ByteArrayInputStream(data);<br> MessageReader mReader = MessageReader(in);<br><br>the error that i get during the compilation is <br><br><b>[javac] DbusChannel.java:39: cannot find symbol<br> [javac] symbol : method MessageReader(java.io.InputStream)<br>
[javac] location: class com.tomtom.reflection2.dbus.DbusChannel<br> [javac] MessageReader mReader = MessageReader(in);<br> [javac] ^<br> [javac] 1 error</b><br>
<br><br>I dont understand why it is complaining about the constructor, since based on documentation(<a href="http://dbus.freedesktop.org/doc/dbus-java/api/">http://dbus.freedesktop.org/doc/dbus-java/api/</a>) it should be there.<br>
I am using just gedit for implementing classes so i cant see immediately if it is there or not.<br><br><br>Thanks in advance,<br>Kind regards,<br>Lusy<br>