Procedure to send dbus messages through command line

by simantini.bhattacharya » Sat, 23 May 2009 13:04:08 GMT


Sponsored Links
 Hi,
I am trying to post a dbus message on the command line. I get the
following error while trying to do so:
Command : dbus-send --system --type=method_call --print-reply --
dest=org.bluez /org/bluez org.bluez.Adapter.IsConnected string:00:1D:
82:02:27:1E
Error : Error org.freedesktop.DBus.Error.UnknownMethod: Method
"IsConnected" with signature "s" on interface "org.bluez.Adapter"
doesn't exist
I have tried with multiple signals and all seem to return the same
error.
I am trying this on the adb shell once I attach my G1 phone based off
Cupcake 1.5 build.

Would be great if someone could help me out on this

Thanks
Simantini
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Restore last viewed Activity

I have 3 different Activities that user navigates between in no
particular order. My goal it twofold:

   1. When user switches to something else when app is resumed I want
to start where user left even if app was terminated. Specifically I
want to display last viewed activity, not the default one
   2. When last activity is resumed I want to restore it to the last
viewed state (this one I think I have a pretty good idea on how to
achieve)

I think the problem is not start/stop - where I pretty much get what I
need, but onCreate() if app was terminated. In that case - it picks
Activity that I configured in the manifest. I suppose I can put
something in onCreate method of that default activity but is there a
better way that I'm maybe missing?

--~--~---------~--~----~------------~-------~--~----~

2. firmware versions

What percent of the customers are have 1.5?

--~--~---------~--~----~------------~-------~--~----~

3. 64bits version of the SDK ?

4. Two SurfaceViews in a FrameLayout

5. A question about Wifi and real-time streaming?

6. HOW TO UNINSTALL ANDROID DEFAULT APPLICATION

7. Kloteran HTC Hero+Samsung Galaxy+3GS FU BNIB