Android platform development for BSTAR system
Date of Issue2016
School of Electrical and Electronic Engineering
BSTAR is an intelligent software designed for building and construction management. The mobile-based Android application for BSTAR system is developed to enable the access to BSTAR system through mobile phones. The mobile application performs the control function through turning on/off the air- conditioning and adjusting the temperature of the air-conditioning. Access to the web server has been realized using JDBC (Java Database Connectivity). Queries of turning on/off and configuring can be sent to the web server to control the status of the air-conditioning. Besides, the application can monitor and display the current conditions of the room in terms of temperature, humidity and CO2 concentration by accessing the readings of the sensors. Last but not least, the application allows users to schedule the timing for the air-conditioning to start and stop working. A local database has been created using SQLite to store the login information of the users, the settings of the air-conditioning, the readings from the sensors and the schedule set by users. Users are required to register for the first time they use the mobile application. Once registered, the login information containing username and password will be inserted into the SQLite database. A security check against the username and password will be performed during the login process. After successful login, query of the users’ lasting settings and current room conditions will be sent to the local database to load the information. The changed configurations will be updated in the SQLite database. The scheduling information including the starting/stopping point and temperature is stored in the database as well for users to apply when needed. A white-box testing has been implemented to test the functionality of the mobile application. The test cases designed focused on the registration, login/logout, change of password, controlling, monitoring and scheduling functions of the application. Results of the test cases have proved the capability of the mobile application.
DRNTU::Engineering::Electrical and electronic engineering::Computer hardware, software and systems
Final Year Project (FYP)
Nanyang Technological University