Skip to content

Commit 32de5ee

Browse files
committed
更新说明文档
1 parent 4d1fe62 commit 32de5ee

File tree

2 files changed

+390
-39
lines changed

2 files changed

+390
-39
lines changed

README.en.md

Lines changed: 254 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,254 @@
1+
# FreeControl
2+
3+
[ [English](https://github.com/pdone/FreeControl/blob/master/README.en.md) | [中文](https://github.com/pdone/FreeControl/blob/master/README.md) ]
4+
5+
## Introduction
6+
Based on the open source project [**scrcpy**](https://github.com/Genymobile/scrcpy), it provides a simple interactive interface.
7+
8+
- Programming Language `C#`
9+
- Development Tools `Visual Studio 2022`
10+
- Runtime `.NET Framework 4.7.2`
11+
12+
## Screenshots
13+
14+
![](https://cdn.jsdelivr.net/gh/pdone/static@latest/img/article/free-control/1.6.5_1.png)
15+
16+
![](https://cdn.jsdelivr.net/gh/pdone/static@latest/img/article/free-control/1.6.5_2.png)
17+
18+
![](https://cdn.jsdelivr.net/gh/pdone/static@latest/img/article/free-control/v1.4.0_5.gif)
19+
20+
## Download
21+
### GitHub Release
22+
23+
[https://github.com/pdone/FreeControl/releases/latest/download/FreeControl.exe](https://github.com/pdone/FreeControl/releases/latest/download/FreeControl.exe)
24+
25+
### ghproxy
26+
27+
[https://mirror.ghproxy.com/https://github.com/pdone/FreeControl/releases/latest/download/FreeControl.exe](https://mirror.ghproxy.com/https://github.com/pdone/FreeControl/releases/latest/download/FreeControl.exe)
28+
29+
## Source Code
30+
31+
[https://github.com/pdone/FreeControl](https://github.com/pdone/FreeControl)
32+
33+
## FAQ
34+
35+
### Input Method Issues
36+
37+
My personal testing found that currently the phone input method apps that support cross-screen input are as follows:
38+
39+
- Sogou IME
40+
- QQ IME
41+
- Google Pinyin IME
42+
- Gboard
43+
- WeChat IME
44+
45+
This feature requires input method apps to be adapted. If you have any better suggestions, please feel free to recommend them in the comments.
46+
47+
#### ⭐Automatic Switch Input Method Function Description
48+
49+
Since most of my friends' daily use input methods do not support cross-screen input, I added the feature to automatically switch input methods when starting the app, which is used to automatically switch to non-daily use, but supports cross-screen input, input methods.
50+
51+
In the main interface, set the input method you want to use, click the start button, and it will automatically switch (ensure that the phone has installed the corresponding input method app).
52+
53+
When the window is closed, it will switch back to the original input method.
54+
55+
### Device Connection Issues
56+
57+
### USB connection
58+
59+
USB connection normal use adb by the need to ensure that:
60+
61+
1. Hardware status is normal.
62+
63+
Including Android devices in the normal power state, USB cable and interface intact.
64+
65+
2. Android devices and USB debugging mode is on.
66+
67+
You can go to the "Settings" - "Developer options" - "Android Debug" view.
68+
69+
If you can not find the developer options in the settings, it needs to make it through an egg is displayed: In the "Settings" - "About phone" continuous click "version number" 7 times.
70+
71+
3. The device driver is normal.
72+
73+
It seems to worry about the Linux and Mac OS X, the Windows likely to be encountered in the case of the need to install drivers, this can be confirmed right "Computer" - "Properties", the "Device Manager" in view on related equipment Is there a yellow exclamation point or question mark, if not explain the driving state has been good. Otherwise, you can download a mobile assistant class program to install the driver first.
74+
75+
4. Status after confirmation via USB cable connected computers and devices.
76+
77+
```sh
78+
adb devices
79+
```
80+
81+
If you can see
82+
83+
```sh
84+
xxxxxx device
85+
```
86+
87+
Description Connection successful.
88+
89+
### Wireless connection (Android11+)
90+
91+
[Doc in Android developers](https://developer.android.com/studio/command-line/adb#connect-to-a-device-over-wi-fi-android-11+)
92+
93+
Android 11 and higher support deploying and debugging your app wirelessly from your workstation using Android Debug Bridge (adb). For example, you can deploy your debuggable app to multiple remote devices without physically connecting your device via USB. This eliminates the need to deal with common USB connection issues, such as driver installation.
94+
95+
To use wireless debugging, you need to pair your device to your workstation using a pairing code. Your workstation and device must be connected to the same wireless network. To connect to your device, follow these steps:
96+
97+
1. Update to the latest version of the [SDK Platform-Tools](https://developer.android.com/studio/releases/platform-tools).
98+
99+
2. Connect Android device to run adb computer connected to the same local area network, such as connected to the same WiFi.
100+
101+
3. Enable the **Wireless debugging** option.
102+
103+
4. On the dialog that asks **Allow wireless debugging on this network?**, click **Allow**.
104+
105+
5. Select **Pair device with pairing code**. Take note of the pairing code, IP address, and port number displayed on the device.
106+
107+
6. On your workstation, open a terminal and navigate to `android_sdk/platform-tools`.
108+
109+
7. Run `adb pair ipaddr:port`. Use the IP address and port number from step 5.
110+
111+
8. When prompted, enter the pairing code that you received in step 5. A message indicates that your device has been successfully paired.
112+
113+
```sh
114+
none
115+
Enter pairing code: xxxxxx
116+
Successfully paired to ...
117+
```
118+
119+
9. (For Linux or Microsoft Windows only) Run `adb connect ipaddr:port`. Use the IP address and port under **Wireless debugging**.
120+
121+
### Wireless connection (need to use the USB cable)
122+
123+
In addition to the USB connection to the computer to use adb, can also be a wireless connection - although the connection process is also step using USB needs, but after a successful connection to your device can get rid of the limit of the USB cable within a certain range it !
124+
125+
Steps:
126+
127+
1. Connect Android device to run adb computer connected to the same local area network, such as connected to the same WiFi.
128+
129+
2. The device connected to the computer via a USB cable.
130+
131+
Make sure the connection is successful (you can run `adb devices` see if you can list the device).
132+
133+
3. Allow the device listens on port 5555 TCP / IP connections:
134+
135+
```sh
136+
adb tcpip 5555
137+
```
138+
139+
4. Disconnect the USB connection.
140+
141+
5. Find the IP address of the device.
142+
143+
Generally the 'Settings' in - "About phone" - "state information" - "IP address" is found.
144+
145+
6. Connect the device via IP address.
146+
147+
```sh
148+
adb connect <device-ip-address>
149+
```
150+
151+
Here `<device-ip-address>` is the IP address of the device found in the previous step.
152+
153+
7. Confirm the connection status.
154+
155+
```sh
156+
adb devices
157+
```
158+
159+
If you can see
160+
161+
```sh
162+
<device-ip-address>:5555 device
163+
```
164+
165+
Description Connection successful.
166+
167+
If you can not connect, verify that Android devices and the computer is connected to the same WiFi, then execute `adb connect <device-ip-address>` that step again;
168+
169+
If that does not work, by `adb kill-server` restart the adb and then try it all over again.
170+
171+
**The wireless connection**
172+
173+
command:
174+
175+
```sh
176+
adb disconnect <device-ip-address>
177+
```
178+
179+
#### Wireless connection (without using the USB cable)
180+
181+
**You need root privileges**
182+
183+
Not detailed here, see more [click here](https://github.com/mzlogin/awesome-adb/blob/master/README.en.md#wireless-connection-without-using-the-usb-cable)
184+
185+
### Keep Wake-up Function
186+
187+
Only works when the phone is charging.
188+
189+
### Audio Forwarding Function
190+
191+
Audio forwarding is supported on devices using 'Android 11 'or higher and is enabled by default:
192+
193+
- For `Android 12` or higher, it works out of the box.
194+
- For `Android 11` , you need to make sure that the device screen is unlocked when starting scrcpy. The fake pop-up window will appear briefly, making the system think that the shell application is in the foreground. Without this, audio capture will fail.
195+
- For `Android 10` or earlier, audio cannot be captured and is automatically disabled.
196+
197+
## Update Log
198+
199+
<details>
200+
<summary>Expand</summary>
201+
202+
### Version 1.6.5
203+
- Add automatic switching IME
204+
- Based on scrcpy v2.2(x64)
205+
### Version 1.6.4
206+
- Add record history IP
207+
- Fix bug
208+
### Version 1.6.3
209+
- Add controller adsorption scrcpy window
210+
- Add scrcpy window position
211+
### Version 1.6.2
212+
- Fix bug
213+
### Version 1.6.1
214+
- Fix bug
215+
- Add audio forwarding switch (enabled by default)
216+
### Version 1.6.0
217+
- Based on scrcpy v2.1.1(x64)
218+
### Version 1.5.1
219+
- Based on scrcpy v1.25(x64)
220+
### Version 1.5.0
221+
- Based on scrcpy v1.21(x64)
222+
- Some optimized
223+
### Version 1.4.1
224+
- Fix bug
225+
- Add exception capture of program entry (easy to troubleshooting)
226+
### Version 1.4.0
227+
- Based on scrcpy v1.19
228+
- Add virtual key (and remember last position and size)
229+
- Some optimized
230+
### Version 1.3.1
231+
- Fix bug
232+
### Version 1.3.0
233+
- Based on scrcpy v1.18
234+
- Add some settings
235+
- Fix bug
236+
### Version 1.2.0
237+
- Based on scrcpy v1.17
238+
- Fix bug
239+
### Version 1.1.0
240+
- Based on scrcpy v1.16
241+
- Add port settings
242+
### Version 1.0.0
243+
- Based on scrcpy v1.14
244+
- Apache version
245+
</details>
246+
247+
## Donate
248+
249+
If you think this project is helpful, please invite the author to have a cup of coffee.☕
250+
251+
[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=for-the-badge)](https://paypal.me/alexpdone)
252+
253+
## Stargazers Over Time
254+
[![Stargazers over time](https://starchart.cc/pdone/FreeControl.svg)](https://starchart.cc/pdone/FreeControl)

0 commit comments

Comments
 (0)