  As smartphones become increasingly more powerful, a new generation of highly
interactive user-centric mobile apps emerge to make user's life simpler and
more productive. Mobile phones applications have to sustain limited resource
availability on mobile devices such as battery life, network connectivity while
also providing better responsiveness, lightweight interactions within the
application. Developers end up spending a considerable amount of time dealing
with the architecture constraints imposed by the wide variety of platforms,
tools, and devices offered by the mobile ecosystem, thereby diverting them from
their main goal of building such apps. Therefore, we propose a mobile-based
middleware architecture that alleviates the burdensome task of dealing with
low-level architectural decisions and fine-grained implementation details. We
achieve such a goal by focusing on the separation of concerns and abstracting
away the complexity of orchestrating device sensors and effectors,
decision-making processes, and connection to remote services, while providing
scaffolding for the development of higher-level functional features of
interactive high-performance mobile apps. We demonstrate the powerfulness of
our approach vs. Android's conventional framework by comparing different
software metric
