Giter Club home page Giter Club logo

adb-ios's People

Contributors

zonghai-li avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

adb-ios's Issues

.a file compile error

This function is what i need in my demo.I try to compile the adb.xcodeproj file and get the libadb.a. However when I drag this .a file to my demo , it comes to an error that indicates
"
_init_usb_transport", referenced from:
_register_usb_transport in libadb(transport.o)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
"
which indicates something is missed.

What should i do to solve this issue?

Usage in a SwiftUI app

Hi, thank you for this great project.

I want to use this project as a library or a pod in an app that's using swiftUI framework.
Therefore I am trying to just use the adb folder and copy-paste it to a new project, and then create an adb object like so:
var adb = AdbClient.init()
though it seems like Xcode doesn't recognize the folder as a lib when I copy it, and therefore I also can't declare the adb object.

how can I use this project in a swiftUI app?

cheers!

Building for WatchOS armv7k and arm64_32

I am interested in getting ADB to work on apple watch.
However, I realize the project was built for iOS (armv7, arm64, arm64e, armv7s) only. I tried to change Architectures, SDK and Supported Platforms in Build Setting but no luck.

Can you please give me some instructions on how to get this to work on armv7k and arm64_32

Crashing app When coming back from background to foreground

Demo app is crashing when put app in background for 30-40 seconds and coming back in foreground and execute some ADB command.

if we make new instance of ADB client then also crashing when we executing some command after coming to foreground.

missing 'android' directory

I copied the file 'android' into the project. But still this error appears

/Users/hieunc/Git/CastApp/CastApp/adb/adb/adb_auth_host.c::get_user_keyfilepath():missing 'android' directory
/Users/hieunc/Git/CastApp/CastApp/adb/adb/adb_auth_host.c::get_user_key():Error getting user key filename/Users/hieunc/Git/CastApp/CastApp/adb/adb/adb_auth_host.c::adb_auth_init():Failed to get user key

CRASHING ON DISCONNECT

When running disconnect command , it is causing the application to crash with Message from debugger: Terminated due to signal 13

Shell Keyevent to specific device

I am trying to call shell command to a specific connected device. eg adb -s 192.168.0.104 shell input keyevent 20

What I found after reading comandline.c file, I have to call adb_set_transport(ttype, serial); before adb_connect([NSString stringWithFormat:@"shell:%@", cmd].UTF8String); command where serial is the IP address of the connected device.

But it failed to switch socket while calling switch_socket_transport(int fd)

PS: I am struggling to understand most of the ADB source codes. Is there any documentation for ADB?

do you know any android verison adb sdk?

I am developing an app which needs to use adb command. I use command line to input commands like "adb connect ip". But I found that some android device do not support adb cmd. So I want a adb sdk for android like your adb-ios. Do you know one?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.