SmallBASIC File Transfer
Easy file transfer between your Android device and your desktop using WIFI.
File Transfer in the Browser
On your Android device:
- Enable WIFI on your mobile to access your home network.
- In the [setup]-screen, select a font, enable extensions and give a port number, for example 5432.
- Follow the instructions to restart SmallBASIC.
- Open the [about]-screen to display the device IP and token.
On your desktop browser:
- Enter http://device-ip:port. For example: http://192.168.1.5:5432.
- You should see a login screen with “Enter your access token”.
- Enter the token as shown in the [about]-page.
- You can now upload and download SmallBASIC files between your desktop and your mobile.
File Transfer in the IDE
On your Android device:
- Enable WIFI on your mobile to access your home network.
- In the [setup]-screen, select a font, enable extensions and give a port number, for example 5432.
- Follow the instructions to restart SmallBASIC.
- Open the [about]-screen to display the device IP and token.
On your desktop:
- Start the SDL or FLTK-version of SmallBASIC
- Navigate to the .bas file then click to begin editing.
- Press F3, then enter the address and port as shown in the Android [about]-screen (IP-Address:PORT), for example 192.168.1.5:5432
- Enter the token as shown in the [about]-page.
- Once the settings are successful, you can press F4 to upload your program.
On your Android device:
- If
EDITOR [ON]
in the three-dot menu, the uploaded program will be opened in the editor. IfEDITOR [OFF]
, the uploaded program will be executed.
At first connection after restarting SmallBASIC on your Android device, you might need to give permission for web portal access.