Professional Documents
Culture Documents
Hangman
-web application for mobile devicesAndroid
Web Technologies and Languages
2015-2016
Contents
1.
Introduction.................................................................................................................... 3
2.
Application design.......................................................................................................... 4
2.1.
Application architecture........................................................................................... 4
2.2
Used technologies.................................................................................................... 5
2.3
2.4.
2.5.
Database structure................................................................................................... 6
3.
Application implementation............................................................................................ 7
4.
1. Introduction
A Web application (Web app) is an application program that is stored on a remote server and
delivered over the Internet through a browser interface. Within the mobile computing sector, Web apps
are sometimes contrasted with native apps, which are applications that are developed specifically for a
particular platform or device and installed on that device.
Given the fact that the majority of the devices nowadays run on the Android platform. Android is a
mobile operating system (OS) currently developed by Google, based on the Linux kernel and designed
primarily for touchscreen mobile devices such as smartphones and tablets. Android's user interface is
mainly based on direct manipulation, using touch gestures that loosely correspond to real-world actions,
such as swiping, tapping and pinching, to manipulate on-screen objects, along with a virtual keyboard
for text input. In addition to touchscreen devices, Google has further developed Android TV for
televisions, Android Auto for cars, and Android Wear for wrist watches, each with a specialized user
interface.
In addition to being the most widespread operating system, mobile devices are much more used than
desktop devices when it comes to applications ranging from games. Therefore, the developed
applications for mobile devices outnumber the desktop ones. And because a mobile device does not have
the same memory size as a desktop device, web applications are preferred because the data is stored on
the server and not on the phone's internal memory.
Given the above, the chosen topic for Web Technologies and Languages class homework is to
develop a web application for mobile devices that run on Android operating system. The application is
called Hangman. It is a well known game. Besides it is exciting, it test your intuition, your observation
and your perspicacity. In other words, it is a mind game.
2. Application design
Because when it comes to mobile devices, it also comes the problem of memory. In order not to
unnecessarily load the devices memory, application data is stored on a server in a database.
Start Screen
Category selectionStart ga
In developing these applications in the first phase they were used languages to make the web
section. Therefore, in order to build the user interface were used the markup language HTML and the
CSS standard for formatting elements of an HTML document. Also being a web application, as many
others applications, it has a database designed in MySQL language and in order to connect with it is
used PHP. The operations behind the user interface were performed using the JavaScript language.
Check function of a letter if it belongs to the word and the events triggered by whether or
not it does:
Id_cuvant, integer type that represents the primary key in the word database
Text_cuvant, varchar type that stores the word itself
Categorie, varchar type that stores the category which includes the word
3. Application implementation
The development environment used to make the web application for mobile device is Android
Studio. This has been done through the use of WebView and for creating the layout was used a XML file
and programming language Java (see Fig. 3 and Fig. 4). As alternative development environment is
Eclipse IDE.
Bibliography
[Unknown]. (n.d.). Wikipedia. Retrieved 1 10, 2016, from Android (operating system):
https://en.wikipedia.org/wiki/Android_(operating_system)
Rouse, M. (n.d.). TechTarget. Retrieved 1 7, 2016, from Web application (Web app)
definition: http://searchsoftwarequality.techtarget.com/definition/Web-application-Web-app