background image
Original Author Paul Laughton, 2011
Page 218
De Re BASIC!
1.
Download and install the latest version of the Java Development Kit (JDK). Find this by Googling
"java jdk download" and going to the listed oracle.com download site. Do not download from
any other site. Note: The JDK download includes the Java Run Time Environment (JRE) which is
also needed.
2.
Download and install the "Eclipse IDE for Java Developers" from
https://eclipse.org/downloads/
.
The current version is 4.4.1 "Luna". You may prefer to download and install an older version
from
https://eclipse.org/kepler
/ or
https://eclipse.org/juno
/, because these instructions were
written from "Juno".
3.
Visit Android's "Installing the Eclipse Plugin" page at
http://developer.android.com/sdk/installing/installing-adt.html
. From there you can download
the Android Developer Tools (ADT) Plugin. Follow the installation instructions found there.
The instructions below have been changed over time for different versions, most recently for Eclipse
4.2 (Juno) and ADT 22.2, and you may find differences in the version you have installed. Please visit
the BASIC! users' forum at
http://rfobasic.freeforums.org
to report any problems you find.
4.
BASIC! supports most versions of Android, which can lead to spurious build errors. You may
need to change API level checking from Error to Warning:
a.
Select Window->Preferences->Android->Lint Error Checking
b.
Find NewApi and click on it.
c.
In the dropdown list, change the Severity from Error to Warning.
d.
Click Apply
Download the BASIC! Source Code from the GitHub Repository
1.
Go to:
https://github.com/RFO-BASIC/Basic
.
2.
Find the branch/tag selection button:
Click the button and the
"Tags" tab to select the tagged release version you want. If you do not select a tag, you will get
the source for the latest development build. The latest development source is not guaranteed to
be stable.
3.
Click the "Download ZIP" button:
found on the right side of the page. The
name of the downloaded ZIP file depends on which tag you selected in the previous step.
4.
Put the unzipped source files into a folder. For this exercise, name the folder "Cats". You should
use a different folder for each new APK that you create.
­ OR ­
Download the BASIC! Source Code from the Legacy Archive
1.
Go to:
http://laughton.com/basic/versions/index.html
and select the version number you want.
For versions later than v01.77, you must download the source from GitHub.
2.
Look for the section heading, "Download BASIC! Source Code." Click on the "here" to download
"Basic.zip".