Figure 3 presents the video
playback feature of the application through standard web
technologies.
One more important functionality is the ability to store
files in the application. The user now has the ability to write
and read big or small files, such as photos, videos, stored in
the application while those files been available every time
he needs them.
C. Access to Sensors & Devices
A very useful capability is the access to the device’s
hardware from the web application. We now have the ability
to use the device’s camera either to directly live stream
the input we get from it or to use a native application to
gain access to the camera, i.e., photo or video. The native
application sends to our application the final file. The same
applies to the microphone too.
We have the ability to detect the points that the user
touches in the application because the touch events been
transferred to it. This functionality is really useful because
we can improve the user’s experience with the application
adding new features such as the ability to drag elements
in application or to create swipe gesture events making the
User Interface more usable and impressive. Of course such
a feature is really important for web games too.
Furthermore, it offers access the device’s sensors such
as GPS, orientation, gyroscope, acceleration or compass.
Therefore information such as the orientation or the motion
of the device are available and enables the web engineer to
adjust the displayed content of a website or web application
properly depending on how the user holds the device, i.e.,
landscape or portrait, or use these information from the
sensors to manipulate web-based games.