This project has moved. For the latest updates, please go here.

Really interesting project

Dec 4, 2010 at 7:49 AM


I am developing an application in and are programming against adb.exe, eg "adb shell" but its really hard to know whats happening.

So i discovered your link on the internet and it looks really interesting.

But when i try to open the soultion i get this:

The team foundation server is currently unavailable
The solution will be opened offline.


Dec 4, 2010 at 4:34 PM

Never mind the "team foundation" question.


Im up and running.

I have compiled the dll and imported the dll to Visual Studio.

But how to i get for example connectionstate?

My class managedadb looks like this:

Imports Managed.Adb.Tests.AndroidDebugBridgeTests
Imports Managed.Adb.DeviceState
Imports Managed.Adb.ClientConnectionState
Imports Managed.Adb
Imports Managed.Adb.Exceptions

Public Class managedadb
    Public Function connected()
        If ClientConnectionState.Ready Then
            Return true
            Return false
        End If
    End Function
End Class

And im calling it like this:

But even if i dont have the phone connected it returns true

What am i doing wrong?


Dec 6, 2010 at 8:00 AM

Hello again


Ive have come a bit longer now, has succsessfully connected to the device and get the connected serial.

Private Function GetFirstDevice() As Device
        'Dim devices As List(Of Device) = AdbHelper.Instance.GetDevices(AndroidDebugBridge.SocketAddress)
        For Each Devicese In AdbHelper.Instance.GetDevices(AndroidDebugBridge.SocketAddress)
            SerialNumber = Devicese.SerialNumber.ToString
End Function

If SerialNumber <> "" Then

            'devstate = New Managed.Adb.DeviceState
            Device = New Managed.Adb.Device(SerialNumber, devstate)
            MsgBox(Device.IsRecovery & " " & SerialNumber)

            'MsgBox(devstate & SerialNumber)
            Me.Device = Device
            MsgBox("No device")
        End If


Now im trying to DOls on the device but im really stuck here.

Do you have any examples to use?


Dec 9, 2010 at 6:43 PM

It's been a while since there have been any responses or visible progress from the project owner.  Is it an abandoned project?

Dec 10, 2010 at 6:32 AM

I hope not, perhaps the project owner is on  a vacation.


Jan 27, 2011 at 1:35 PM

it has not been abandoned. I was taking a much needed break from development . I am working on this project again, as time permits.