|
|
|
|
Project 5: Downloads
The available source files are listed below. Included is a very short description
of what each does; longer descriptions are elsewhere in the project writeup pages.
I also note in which Eclipse project I have the file. Your Eclipse project
organization may well be different, but this should help you integrate the code
into your projects. Also, remember that it's very unlikely you simply drop this code
in and it runs. You may have to change the project statement, for instance.
You may have to modify your Eclipse build path. You might have to make some small changes
to convert from the interface my current OS is using to the one you have; any needed
changes should be apparent, but post on the forum if you end up spending more than a few
minutes on this.
File | Description | Eclipse Project |
Base64.java
| Encodes a byte[] as a Base64 String.
Decodes a Base64 String into a byte[].
| util
|
BitmapLoader.java
| Takes an image in a file, converts it to a size specified in the
arguments to loadBitmap(), and returns it as a Bitmap.
| SNetAndroid
|
SNetDB461.java
| Provides the interface to the record-based files, as described on
the SNetDB461 page.
| util
|
DB461SQLite.java
| Immediate superclass of SNetDB461. Provides system-specific
SQLite functionality. This copy is for Android.
| utilAndroidOnly
|
DB461SQLite.java
| Immediate superclass of SNetDB461. Provides system-specific
SQLite functionality. This copy is for console use.
| utilConsoleOnly
|
DB461.java
| Base class for DB461SQLite, and so for SNetDB461.
Provides much of the functionality exposed by SNetDB461.
| util
|
sqlite4java-282.tar.gz
| A directory containing the sqlite4java library, needed by console
application uses of SNetDB461.
To use it, untar it into your lib directory (tar xzf sqlite4java-282.tar.gz)
and then set your console project build path to use the .jar file in the
subdirectory untar'ing created.
| None. Put on build path of console project.
|
|