quamotion / madb

SharpAdbClient is a .NET library that allows .NET applications to communicate with Android devices. It provides a .NET implementation of the adb protocol, giving more flexibility to the developer than launching an adb.exe process and parsing the console output.
Apache License 2.0
360 stars 133 forks source link

Update your documentation ! #199

Open JannickOste opened 3 years ago

JannickOste commented 3 years ago

After searching for a while i dicovered Adbclient.Instance no longer exists within most recent package, update your documentation and save other people from googling plox 📦

Ezriral commented 3 years ago

Thank you for it, yes i agree 100%

hmeeding commented 3 years ago

100% agree! Same issue here!

bddckr commented 3 years ago

Hey everyone.

The AdbClient has a simple constructor. All that is missing from the current docs is to remove the static singleton Instance accessor usage and instead create one single instance and use that AdbClient yourself.

As with any OSS project I'm thinking either we all figure it out on our own, or we raise a PR to suggest a change.

So until anyone of us does that I suggest you just new up an instance of the AdbClient and go from there! It's suggested to only use one such instance for your app.

Scylla2020 commented 3 years ago

Surely even throwing in a simple example of a workaround would help many including me. Im new and still learning Csharp and have no idea how to do what you suggesting