On Sat, Nov 8, 2008 at 8:29 PM, Timo Juhani Lindfors <span dir="ltr"><<a href="mailto:timo.lindfors@iki.fi">timo.lindfors@iki.fi</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Sudharshan S <<a href="mailto:sudharsh@gmail.com">sudharsh@gmail.com</a>> writes:<br>
> I think, there are DBus bindings for java. So you could probably take a look<br>
> at the services offered by FSO for reading accelerometers output.<br>
<br>
</div>Wouldn't that cause huge overhead? Reading 100 (or 400) events per<br>
second from two accelometers can not be smooth over dbus.</blockquote><div><br>Hi,<br>Agreed, but frameworkd doesn't send DBus signals continously. Instead it gives accelerometer values on demand with a method call (which in fact opens the device nodes and unpacks the values from the input_event struct). But sending a DBus signal when the co-ordinates change would be awesome as it removes the need for keep a fd open on our side.<br>
<br>---<br>Regards<br>Sudharshan S<br>Blog : <a href="http://www.sudharsh.wordpress.com">http://www.sudharsh.wordpress.com</a><br>IRC : Sup3rkiddo @ Freenode, Gimpnet<br><br></div></div><br>