doc - example

This commit is contained in:
饭桶狼 ra~ 2021-12-29 21:01:55 +08:00
parent 971a311768
commit 406372d603

View File

@ -97,6 +97,9 @@ $ adb shell /data/local/tmp/helloworld
```
If you start a background process, you don't need the phone to connect with your PC/macos. Note that you can transfer your linux shell knowledge to using the adb shell.
## Examples
[This](https://github.com/fantonglang/go-mobile-automation-examples/tree/main/douyin-luo-live) is a working example. Read the comments in main.go carefully. This helps to resolve all dependencies and environment requirements before you start. The comments also give the commands for compilation, deployment, and execution.
# APIS
**[Connect to a device](#connect-to-a-device)**