frameworks for cross-platform mobile development
already present in literature. The experiments made
are presented in Section 4. We conclude in Section 5.
2 RELATED WORKS
Other works in literature analyze power consumption
of mobile applications but they usually do not cover
all sensors/features available on smartphones, and do
not consider the use of cross-platform framework for
development of mobile applications.
(Balasubramanian et al., 2009) measure energy
consumption of mobile networking technologies, in
particular 3G, GSM and WiFi. They find out that 3G
and GSM incur in tail energy overhead since they re-
main in high power states also when the transfer is
complete. They developed a model for energy con-
sumed by networking activity and an efficient proto-
col that reduces energy consumption of common mo-
bile applications.
(Thompson et al., 2011) propose a model-driven
methodology to emulate the power consumption of
smartphone application architectures. They develop
SPOT, System Power Optimization Tool, a tool that
automates code generation for power consumption
emulation and simplifies analysis. The tool is very
useful since it allows to estimate energy consumption
of potential mobile architecture, therefore before its
implementation. This is very important since changes
after the development can be very expensive. More-
over the tool is able to identify which hardware com-
ponents draw significantly more power than others
(e.g, GPS).
(Mittal et al., 2012) propose an energy emulation
tool that allows to estimate the energy use for mo-
bile applications without deploying the application on
a smartphone. The tool considers the network char-
acteristics and the processing speed. They define a
power model describing different hardware compo-
nents and evaluate the tool through comparison with
real device energy measurements.
PowerScope (Flinn and Satyanarayanan, 1999a;
Flinn and Satyanarayanan, 1999b) is a tool to mea-
sure energy consumption of mobile applications. The
tool calculates energy consumption for each program-
ming structure. The approach combines hardware in-
strumentation to measure current level with software
to calculate statistical sampling of system activities.
The authors show how applications can modify their
behavior to preserve energy: when energy is plenty,
the application allows a good user experience, other-
wise it is biased toward energy conservation.
AppScope (Yoon et al., 2012) is an Android-based
energy metering system which estimates, in real-time,
the usage of hardware components at a microscopic
level. AppScope is implemented as a kernel module
and provides an high accuracy, generating a low over-
head. For this reason, the authors also define a power
model and measure energy consumption with external
tools to estimate the introduced error, which is, in the
worst case of about 5.9%.
Eprof (Pathak et al., 2012a), is a fine-grained
energy profiler for mobile apps, which accurately
captures complicated power behavior of smartphone
components in a system-call-driven Finite State Ma-
chine (FSM). Eprof tries to map the power drawn and
energy consumption back to program entities. The
authors analyzed the energy consumption of 21 apps
from Android Market including AngryBirds, Android
Browser, and Facebook, and they found that third
party advertisement modules in free apps could con-
sume up to 65-75% of the total app energy, and track-
ing user data (e.g., location, phone stats) consumes up
to 20-30% of the total energy. Moreover, smartphone
apps spend a major portion of energy in I/O compo-
nents such as 3G, WiFi, and GPS.
Pathak et al. (Pathak et al., 2012b) study the
problem of no-sleep energy bugs, i. e., errors in en-
ergy management resulting in the smartphone com-
ponents staying on for an unnecessarily long period
of time. They develop a static analysis tool to detect,
at compile-time no-sleep bug in Android apps.
In other papers, the authors compare different
framework for cross-platform mobile development
according to a set of features. (Heitk
¨
otter et al.,
2013) compare jQuery Mobile (Firtman, 2012), Sen-
cha Touch (Sencha Inc., 2013), The-M-Project (Pana-
coda GmbH., 2013) and Google Web Toolkit com-
bined with mgwt (Kurka, 2013) according to a partic-
ular set of criteria, which includes license and costs,
documentation and support, learning success, user in-
terface elements, etc. They conclude that jQuery Mo-
bile is a good solution for simple applications or as
first attempt in developing mobile apps, while Sencha
Touch is suited for more complex applications.
(Palmieri et al., 2012) evaluate Rhodes (Motorola
Solutions, Inc, 2013), PhoneGap (Apache Software
Foundation, 2013), dragonRAD (Seregon Solutions
Inc., 2013) and MoSync (MoSync Inc., 2013) with
particular attention to the programming environment
and the APIs they provide. The authors provide an
analysis of the architecture of each framework and
they conclude highlighting Rhodes over other frame-
works, since this is the only one which supports both
MVC framework and web-based services.
(Ciman et al., 2014) evaluate different cross-
platform frameworks, i.e. Phonegap, Titanium,
WEBIST2014-InternationalConferenceonWebInformationSystemsandTechnologies
424