to include XForms elements and attributes compli-
ant to the XForms 1.0 standard. The edited XForms
document can immediately be rendered in popular
XForms-capable rendering tools.
Several XForms defined screen elements can be
inserted on the applications’ forms, such as the But-
ton, Input, Output, TextArea, Secret, Select and Label
element. It is important to notice that these compo-
nents correspond to the XForms elements that are rel-
evant for applications in mobile devices according to
our own analysis and needs. According to the XForms
specification, each element has a set of obligatory at-
tributes which must be filled in with data. To edit
each element’s values and attributes, the user simply
needs to click the desired element and edit its value.
Some attributes won’t allow text input, instead, they
will allow choosing among a set or range of choices.
Once all of those restrictions and specifications are
put together, it is possible to guarantee the applica-
tion’s consistency and correctness when translated to
the XForms format.
Once all the necessary elements in each one of the
application’s screens have been set, the XForms doc-
ument can be generated for later interpretation in the
mobile devices. Another functionality of the QFDe-
signer is the export of the whole project in an XML
document, thus saving the status of each object and
element on the diagram. This facilitates information
interchange between development teams, and, in the
future, that concept can be improved so that editing
the XML document will be interpreted by the QFDe-
signer as changes in the project’s diagram.
There is another important feature of the QFDe-
signer which is the pre-visualization of the built appli-
cation. Through that function, a preview of the posi-
tioning and appearance of the screen elements is pos-
sible before the application is sent the mobile devices.
For each of the application’s screen, a data model
is created. That data model is formatted and inserted
in the XForms document as an instance data. This
way, it is possible to have an explicit separation be-
tween data and user interface during the execution on
the mobile device.
4.3 QuickFrame Interpreter
In order to facilitate data communication over mobile
networks, content providers need to serve contents
that are presentable and functional on mobile devices.
However, there are some challenges related to the in-
herent nature of mobile communication, as compared
to the traditional wired Internet.
The challenges for content providers to present
contents to mobile devices lie in the physical char-
acteristics of mobile devices and network. There is
an enormous variety of mobile devices in the market,
and each has different hardware and software con-
figurations, such as screen size, graphic capabilities,
input mechanisms, processing power, memory, oper-
ating systems, micro-browsers, protocol support, etc.
Data transfer rates on a mobile network, which has
originally been designed for voice transmissions, are
low (at least before 3G services are fully in effect)
and the transmission is unreliable. Essentially, con-
tent providers need to serve different contents to mo-
bile devices with different hardware, software inter-
face constraints and network configurations.
The interpreters are software solutions that,
through the use of XForms, enable pervasive mobile
devices to access and complete form based applica-
tions. This solution allows developers to quickly cre-
ate, deploy, and use form based applications. The
interpreters can also deal with the problem of inter-
mittently connected mobile devices that need to ac-
cess and complete business forms stored locally on
the device. The completed forms are transferred to a
server for additional processing when connectivity is
available. Forms are pushed to mobile device clients
and cached on them. As the mobile device user com-
pletes forms and submits them, the completed form
instances are queued for delivery to the Server. When
the Server receives the completed form instances, it
dispatches them to the target backend application to
finish their processing or send a response to the de-
vice.
These interpreters belong to the mobile applica-
tion execution division in the QuickFrame Project,
which means, the interpretation of the applications’
description.
The interpreters automatically create screens and
locate the screen elements in the correct way, that is,
they transform XForms files, as shown in Figure 8,
into mobile applications, as shown in Figures: 4, 5,
6 and 7.
Currently there are many interpreters in various
technologies being developed: Java Platform Micro
Edition (JME), Windows Mobile, BlackBerry and
Wireless Application Protocol (WAP). These inter-
preters run in mobile devices, reading the XML doc-
ument in an XForms format and dynamically gener-
ating the application’s screen, this way, applications
are described only once and can be executed (or inter-
preted) in several devices and platforms.
These interpreters have a basic set of functionali-
ties:
• Access the server to obtain the description of the
application (XForms format file).
• Interpret the XForms file and automatically gen-
AN INTEGRATED APPROACH TO DEVELOP PERVASIVE MOBILE APPLICATIONS
185