Copying scripts from PC to Android devices
To run QPython scripts on an Android device, either you can type them directly into QPython's editor on the device, or you can type on your PC and then copy them to the Android device for execution. We’ll walk through the process of copying from PC to Android.
How to do it
Here is the step-by-step procedure to connect an Android device with a PC and copy the QPython script to it:
- Connect your Android phone with your PC using a USB cable.
- When you connect your Android phone to the PC, several USB options will appear; select the
Turn ON the USB debugging
option. - By turning USB debugging on, you can execute different commands on the Android device and run different tools as well.
- To confirm that the Android device is connected properly and is recognized by your PC, use the
adb devices
command, as shown here:
C:\Users\Bintu>adb devices
The following output confirms that my Android device is recognized by my PC:
List of devices attached d56ab82e device
Android...