# How can we use Appium-adb?

**URL:** <https://discuss.appium.io/t/how-can-we-use-appium-adb/15088>\
**Category:** Tutorials/Documentation\
**Created:** [March 1, 2017, 2:53pm UTC](https://discuss.appium.io/t/how-can-we-use-appium-adb/15088 "2017-03-01T14:53:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aeroxr1](https://discuss.appium.io/letter_avatar_proxy/v4/letter/a/9fc29f/32.png) [@aeroxr1](https://discuss.appium.io/u/aeroxr1)\
**Post date:** [March 1, 2017, 2:53pm UTC](https://discuss.appium.io/t/how-can-we-use-appium-adb/15088/1 "2017-03-01T14:53:41Z")

</div>

Hi !  
I found this Appium’s adb wrapper :  
[https://www.npmjs.com/package/appium-adb](https://www.npmjs.com/package/appium-adb)

but i don’t know how can I use it. Currently when I want execute adb command I do something like this:

> final Process exec = Runtime.getRuntime().exec(“adb shell ls”);
> 
> final BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(exec.getInputStream()));

> ```
> String s;
> while((s = bufferedReader.readLine()) != null) {
> System.out.println(s);
> }
> 
> ```

Are there any other way to execute adb commands from java client on appium ?
