mobile-dev-inc / dadb

A Kotlin/Java library to connect directly to an Android device without an adb binary or an ADB server
Apache License 2.0
1.03k stars 73 forks source link

Documentation for dadb.push needs updating #51

Open malbry opened 1 year ago

malbry commented 1 year ago

The example given is: dadb.push(srcFile, "/data/local/tmp/dst.txt")

That does not work since push requires 4 parameters including 'mode' and 'last modified time'. I'm actually not sure what the valid values are for 'mode' and couldn't immediately figure it out from the source code.