Humpty Promotes > rfo-Basic> hBasic > Development Tools


RFO Basic !   Development Tools

For serious programming, it is sometimes easier to edit on a PC and then transfer the files to phone for running/testing. There are some tools to streamline this.

Because of Android's scoped storage, these tips now only apply to hBasic - a fork of rfo-Basic.

Transfer FTP
(wifi)
(linux, windows)
For most, this would be the most conventional method as there are many ftp clients and servers already out there.

Some will let you drag n drop files from PC directly to server directory.

root not required.
Starting with Android 11, FTP servers cannot access another app's private storage. To fix this, hBasic v3.01+ has an embedded ftp server which allows outside access (e.g to an ftp client or ftp plugin of a file manager).

1. Open the built-in FTP server in hBasic.
2. Use an FTP client on your PC.

3. Copy your file from PC to phone using ftp.
e.g (PC) try.bas to (phone) rfo-basic\source\try.bas

4a.    Load try.bas from within hBasic.
Or
4b. Create a Launcher shortcut on your phone,
App: hBASIC
Input filename: try.bas (program filename)
Icon filename: <blank> (default)
Shorcut Name: Try

Now you can run the program anytime by pressing the shortcut.
Make sure your main program matches the name in the shortcut on the phone.

Transfer
Other types of file transfer


Click Here for other Transfer Methods




Building
QuickAPK
(windows)
Quick APK is an all-in-one solution which bundles together the basic program, resources and the interpreter.
Requires: JRE

QuickAPK is no longer supported.

XQA   x-quick-apk builder
(linux)
XQA is an apk repackager for linux.
Requires: gambas, and java/jdk. Installation guide here.

XQA is no longer supported.
Building
Manual Building
The lowest level of building is to use Eclipse with Android's SDK and java/jdk.
Instructions for building this way is found in the BASIC! Manual.

Eclipse has been replaced with Android Studio,
(but may still work).
Building
hSuite

All-In-One Compiler.
hSuite can create APKs or AAB for Google Playstore.
Can customise hBasic or create a Standalone App.

hSuite includes everything in a single zip file.
  -hBasic-master (hBasic source)
  -All Patches that can make hBasic or a custom version.
- hPatcher (a patching program and compiler)
  -ADT (customised with the lastest API)
  -JDK (customised)




Advertisement


/End.