AndroidLib.dll Brings Better Windows-to-Android Communication and Management


The Android SDK is the default software when dealing with Android on a computer. The vast majority of rooted users have run into the SDK, whether they know it or not, when they use the ever-popular Android Debug Bridge, or ADB for short. While the SDK does very well for its intended purposes and works perfectly, anything created to augment or help out is always exciting and fun.

It’s with that in mind that XDA Senior Member regaw_leinad has developed a .dll file that allows Windows computers to better communicate with Android devices using .NET. The file contains 21 classes, two of which being considered the main classes. One is called AndroidController, which, as regaw_leinad explains:

The AndroidController class is a semi-wrapper of the ADB (Android Debug Bridge) binary, and also will contain functionality to sign .ZIP files for easy flashing to your device.

The second class in the file is called Device and basically obtains and displays information about the device connected to the computer. .NET programmers can add this .dll as a reference to their projects and gain access to a laundry list of commands. The aim of the file is to help Android developers reduce the amount of C# and .NET code they have to write themselves by providing a stable API from which to build. This can have many, many implementations and its uses are only really restricted by the imagination of the developer.

To show off what kind of stuff the .dll can do, regaw_leinad has rewritten the one click root method for the CDMA HTC Hero to be more stable and reliable than any root method to be released previously. The range, depth, and breadth of this API is breathtaking, and any .NET or C# developer interested in Android really should have this on his or her computer.

Additional information, download links, and instructions can be found in the original thread. Let the development begin!

Want something on the XDA Portal? Send us a tip!