this is for holding javascript data
Craig Ashley edited Our Prototype.tex
about 10 years ago
Commit id: 3e6752ba44f230a7de65770a4f60f77808f38119
deletions | additions
diff --git a/Our Prototype.tex b/Our Prototype.tex
index 570f635..06e41b3 100644
--- a/Our Prototype.tex
+++ b/Our Prototype.tex
...
\section{Prototype}
\subsection{Early Prototype}
The
program begins by setting up early prototype for the application made use of the
various Android SurfaceView, a View (classes for dealing with user interface
kits. It first waits and interaction) for
drawing graphics onto the
main interface kit (with screen), screen.
The prototype took in image files that were placed in the
circular touch phidget, resources folder, and
decoded them into Bitmap objects that could drawn onto the
RFID reader to be connected. It SurfaceView using the Canvas, which holds the drawing calls.
The Canvas was then
adds listeners used to
draw the
circular touch map background, and
RFID phidgets an arrow was drawn on top of that background.
A Thread was used to
detect events as and when they happen. Once the start-up procedure is complete, keep the
program state moves into graphics being drawn without it taking away processing from the
main loop of running code. This main loop performs all user interface, so the
major operations on the main interface kit. These operations include: application would not become unresponsive.
\begin{itemize}
\item Detecting thresholds and actioning commands for the slider
\item Detecting thresholds and actioning commands for the joystick
\item Detecting thresholds and actioning commands for the RFID reporgramming button
\end{itemize}
The main loop also ensures that whilst any of the phidgets are in use, they get exclusive access to the software, removing any inter-device conflicts. It also processes what happens in the event that the circular touch phidget is being used, as well as perfoming actions on any RFID tags detected by the system.
\subsection{System Walkthrough}