-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathandroid_file_transfer.html
More file actions
103 lines (103 loc) · 4.51 KB
/
Copy pathandroid_file_transfer.html
File metadata and controls
103 lines (103 loc) · 4.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>SmallBASIC | android_file_transfer</title>
<meta name="description" content="SmallBASIC | One more basic">
<link rel="canonical" href="/android_file_transfer.html">
<link rel="keywords" href="android_file_transfer">
<link rel="stylesheet" href="/css/style.css">
<link rel="icon" type="image/png" href="/images/sb-desktop-32x32.png">
<script src="/clipboard.js"></script>
</head>
<body>
<button onclick="topFunction()" id="BackToTopBtn" title="Go to top">⯅</button>
<script src="/backtotop.js"></script>
<div class="wrapAll clearfix">
<nav class="navigation">
<div class="logo">
<a href="/"><img src='/images/sb-logo.png?v=2' alt="logo"></a>
</div>
<div class="navlinks">
<a href="/pages/download.html">Download</a>
<a href="/pages/news.html">News</a>
<a href="/pages/community.html">Community</a>
<a class='active' href="/pages/articles.html">Resources</a>
<a href="/pages/reference.html">Language Reference</a>
<a href="/pages/guide.html">SmallBASIC Manual</a>
</div>
</nav>
<div class="mainsection">
<div class="tabs clearfix">
<div class="tabsRight">
<a target="_github" href="https://github.com/smallbasic/smallbasic.github.io/blob/master/_build/pages/android_file_transfer.markdown">Edit</a>
<a target="_github" href="https://github.com/smallbasic/smallbasic.github.io/commits/master/_build/pages/android_file_transfer.markdown">History</a>
</div>
</div>
<div class="article">
<h1 id="smallbasic-file-transfer">SmallBASIC File Transfer</h1>
<p>Easy file transfer between your Android device and your desktop using
WIFI.</p>
<h2 id="file-transfer-in-the-browser">File Transfer in the Browser</h2>
<p>On your Android device:</p>
<ol type="1">
<li>Enable WIFI on your mobile to access your home network.</li>
<li>In the [setup]-screen, select a font, enable extensions and give a
port number, for example 5432.</li>
<li>Follow the instructions to restart SmallBASIC.</li>
<li>Open the [about]-screen to display the device IP and token.</li>
</ol>
<p>On your desktop browser:</p>
<ol start="5" type="1">
<li>Enter http://device-ip:port. For example:
http://192.168.1.5:5432.</li>
<li>You should see a login screen with “Enter your access token”.</li>
<li>Enter the token as shown in the [about]-page.</li>
<li>You can now upload and download SmallBASIC files between your
desktop and your mobile.</li>
</ol>
<div class="video-container">
<iframe width="1158" height="651" src="https://www.youtube.com/embed/4Daj4YflyS0" title="SmallBASIC File Transfer" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen>
</iframe>
</div>
<h2 id="file-transfer-in-the-ide">File Transfer in the IDE</h2>
<p>On your Android device:</p>
<ol type="1">
<li>Enable WIFI on your mobile to access your home network.</li>
<li>In the [setup]-screen, select a font, enable extensions and give a
port number, for example 5432.</li>
<li>Follow the instructions to restart SmallBASIC.</li>
<li>Open the [about]-screen to display the device IP and token.</li>
</ol>
<p>On your desktop:</p>
<ol start="5" type="1">
<li>Start the SDL or FLTK-version of SmallBASIC</li>
<li>Navigate to the .bas file then click to begin editing.</li>
<li>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</li>
<li>Enter the token as shown in the [about]-page.</li>
<li>Once the settings are successful, you can press F4 to upload your
program.</li>
</ol>
<p>On your Android device:</p>
<ol start="10" type="1">
<li>If <code>EDITOR [ON]</code> in the three-dot menu, the uploaded
program will be opened in the editor. If <code>EDITOR [OFF]</code>, the
uploaded program will be executed.</li>
</ol>
<p>At first connection after restarting SmallBASIC on your Android
device, you might need to give permission for web portal access.</p>
</div>
<div class="pagefooter">
This page was last edited on Thu, 8 May 2025 22:57:28 +0200
|
<a href="https://en.wikipedia.org/wiki/Markdown" target="_blank" rel="nofollow">Markdown</a>
processed with
<a href="https://pandoc.org/MANUAL.html#pandocs-markdown" target="_blank" rel="nofollow">pandoc 3.1.12.1</a>
</div>
</div>
</div>
</body>
</html>