DeviceManager icon indicating copy to clipboard operation
DeviceManager copied to clipboard

Starting Device Manager

Open ramgiteng opened this issue 6 years ago • 4 comments
trafficstars

How do we build and start the Device Manager? Also, is the IP and Port number on AndroidTest.java corresponding to an Android Device?

ramgiteng avatar Mar 21 '19 01:03 ramgiteng

@rameshgit96 you can add the dependency to your project https://github.com/AppiumTestDistribution/DeviceManager#maven

is the IP and Port number on AndroidTest.java corresponding to an Android Device

Yes, providing the UDID https://github.com/AppiumTestDistribution/DeviceManager/blob/master/src/main/java/com/github/android/AndroidManager.java#L35

It returns all the device properties.

saikrishna321 avatar Mar 21 '19 11:03 saikrishna321

Sai, do we start the DeviceManager by running the jar file in the specific directory?

Using the command: java -jar .jar?

ramgiteng avatar Mar 22 '19 13:03 ramgiteng

Nope, you can use DeviceManager in your project by adding into your pom.xml.

Can I ask what is your use-case?

saikrishna321 avatar Mar 22 '19 13:03 saikrishna321

My use-case is to obtain information about the connected devices such as capturing screenshots, collecting device logs, and obtaining device properties. I added the maven dependency but do we need to enter a command to get the above information?

ramgiteng avatar Mar 24 '19 09:03 ramgiteng