Skip to content Skip to sidebar Skip to footer

Accessing Android Devices In C#

I am using MAD-Bee(Managed ADB) library to access ADB in C#. I am just trying to get list of devices attached to PC. I am getting list of devices properly when I use ADB from comma

Solution 1:

Woops found it now -

List<Device> devices = AdbHelper.Instance.GetDevices ( AndroidDebugBridge.SocketAddress );

More information is available in these tests -

MadBee Tests

Solution 2:

I would like to suggest you use another library in C# for your application.

I found AndroidLib.dll on XDA which has provided a way of interfacing my C# application.

The Thread can be found here:

http://forum.xda-developers.com/showthread.php?t=1512685

He has a GITHUB for the source and in the GITHUB he has example projects in Visual Studio solutions files to learn from as well as detailed usage.

Post a Comment for "Accessing Android Devices In C#"