In building an environment for AASMP, two techniques,
namely XHTML5 and Remote Device Access (RDA) are
developed as its foundation. XHTML5 provides an execution
environment on server side to run Android applications while
accessing motion senor devices on client-side mobile platform
is enabled through RDA. Fig. 2 depicts the architecture
of AASMP which shows Clients, Connection Manger (CM),
System Manager (SM), and Virtual Execution Environment
(VEE). Once a client connects to AASMP, one VEE will be
created by SM to serve the client. An Android application
program can then be executed on the Android emulator in the
VEE. The communication between client and AASMP is
accomplished by HTTP that is handled and managed by CM.
Therefore, client-side user can operate the browser running
on mobile platform to run Android applications on AASMP.
The details are described in the following subsections