Design and Implementation of an Android GIS Data Collection Application for Students with Non-Programming Experience Using the MIT App Inventor: A Case Study on a Tick Data Collection APP ()
1. Introduction
Ticks are significant global health and economic issue. Numerous infections can be spread by ticks to both people and animals [1]. The pathogen species involved, the location, and the recording date are crucial pieces of information for defining the geographical spread of ticks. Additional details on tick reservoirs, vectors, research types, and diagnostic techniques will be known when they become accessible [1]. Technologies for ubiquitous computing open up innovative new opportunities for real-time monitoring and analysis of user experience [2]. Centralised databases for the collation of data submitted by field workers are a good utility to spatial scientist, and a centralised geo-database can significantly decrease the time between collection and analysis of data collected by multiple users [3]. Different criteria can be used to identify ticks. In some cases, morphology may be the only criterion [4], but a more comprehensive method may base identification on host species, preference places, geographical occurrence, seasonality, and other factors [5]. Transferring data to these databases and GIS software (e.g. from field notebooks) can be tedious and in some cases will be subject to transcription errors [3], some transcription errors can be corrected of site however it is hard to correct location data while off site thus accuracy is important concerning location component [6]. An alternative to paper collection, such as mobile devices, offers attractive opportunities for spatial data collection in many areas. For example, EpiSurveyor (https://www.episurveyor.org/) allows the use of standard Nokia mobile phones for the collection of text-based data and has been utilised in resource-poor areas of Africa for many kinds of data collection [3]. Spatial decision support system (SDSS) has been a lacking component in the data collection, the growth and development of SDSS in Africa has been a tool in the development of location base decisions techniques [7]. With the use of GPS coordinates and possibly accelerometer measures, modern mobile devices offer abundant sources of data for implicit authentication, location, and co-location [8]. Co-location is indicated via WiFi/Bluetooth connections and USB connectors. Additionally, successful sync with a known PC or firebase, as well as successful authentication to a known access point, is all significant favourable indicators [9].
As data collection is one of the many tasks that spatial scientist does to minimize errors and the need to clean the collected data, usage of digital platforms to collect data will greatly reduce the work load of spatial scientist. The most common data collection tool being used by spatial scientist in Africa is the Open Data Kit [10]. However the ODK architecture has its own limitations and disadvantages especially for users in Africa where internet connectivity is usually expensive, slow and not reliable [11].
Mobile applications are an effective way of collecting geo-spatial data with the most popular platforms IOS and Android now capable of collecting geo-spatial data for example the An Android/IOS Application for Car Parking System Using GPS [12] developed by L D’souza and M Deshmukh. Tick being one of the disease vectors in both domesticated and wild animals mapping of ticks occurrences is very important, thus location based data for ticks help in decision making geographically [13] however GPS units are not affordable by everyone, thus it is better make use of location sensors on the android mobile phones and development of android application for collecting spatial data [14].
The challenge is the development of Geo-Apps by users with a non-programming background and the availability of platforms that can help such users develop the relevant applications with ease but at the same time achieving the goal of collecting spatial data that can be exported further into geo-databases and other GIS software for further processing. R Mall suggests the use of Rapid Application development [15], whose objectives can be summed up in one sentence: the commercial need to deliver working business applications in shorter timescales and for less investment [16]. With the android operating system Play Store, which together represent more than 98.9% of the smartphone app market share [17] it would be prudent to design an application compatible with the android software. Thus there is need for the identification and usage of an RAD that will allow spatial scientists to develop their own applications for data collection with little time invested and less programming effort [18].
The main objective of this study is to assess the applicability of the MIT App Inventor, a drag-and-drop visual programming tool for designing and building fully functional mobile apps for Android [19]. App Inventor promotes the creation of meaningful mobile applications using an intuitive programming metaphor and incremental development capabilities allowing the developer to focus on the logic for programming an app rather than the syntax of the coding language which is based on Android Mobile Application Development is based on Java language codes [20]. It allows people without a programming background to develop applications. To control tick-borne epidemics and potential pandemics, a centralized method of data and information gathering is required. Tick and tick-borne disease researchers, veterinarians, medical practitioners, and public health specialists are collaborating to share their expertise on tick ecology, disease transmission, diagnostics, and treatment [21].
2. Materials and Methods
MIT App Inventor Platform
Students were introduced to the MIT App Inventor platform and taught how to design a basic application. Afterwards students were challenged to develop a GIS-Application capable of collecting spatial data. The students used the web-based method in which the developer needs to login to the website to access the development platform (http://ai2.appinventor.mit.edu/). When creating an MIT application there are two different screens that are developed; there is designer screen which make up the screen object of the application building up the front end of the application as shown in Figure 1 then there is block screen which is the back hand of the application with all application programming logics complimenting the designer screen as shown in Figure 2 [22].
Testing the functionality of developed application the developer could make use of android emulator, App Inventor Companion or USB connection. We only used USB connection method which does not require wireless services but only the connection of the android device to the computer then transfer the application file to the device storage then install the application [13]. For database we
made use of file database and firebase database to cater for both offline and online storage serves. To create firebase database, we logged into firebase website (https://console.firebase.google.com) and created the database that was connected to the application for real-time data submission as shown in Figure 3. To the Firebase database of ticks project it is where all collected data are transmitted all of the output results [23]. Firebase offers a simple method for storing sensory data gathered at the device level and integrates well with Android Things’ support for the Android APIs. Many programmers for mobile and handheld devices I encounter struggle with server-side programming. Firebase genuinely aids in bridging the gap and making it simpler [24]. Firebase delivers features like a real-time database and backend. The application, we were given access to an API that enables the synchronization of application data between clients and cloud storage with Firebase. The business offers the client libraries that allow integration with JavaScript, Android, and iOS application.
3. Results
The design and implementation of android GIS data collection application for students with non-programming experience using MIT app inventor was successful. Figure 4 shows application login page secured with user name and password. The user name and password have to match the set credential otherwise alert notification for incorrect username or password pops out. Matching user name and password with the set credentials leads to the opening of new screen once login button is clicked on the white tick icon.
Once login is successful the application proceeds to the data collection form. The data collection form was developed with different options, list picker, auto date and time picker, auto latitude and longitude GPS data display.
Most of the data fields are in list picker format with example shown in Figure 5(c) an example of district and acaricide fields where by all options are made available, the collector picks from the designed list picker. Date, and time auto
![]()
Figure 4. Login page with user name and password hints (a), alert notification for incorrect user name or password entered (b).
![]()
Figure 5. Auto date picker (a), auto time picker (b), list picker(c).
![]()
Figure 6. Data collection page (a) collection page after collecting data, (b), collection page after clicking the “NEW ENTRY” button, (c).
pick the date even though it does not display on the collection form rather it displays when display result button is clicked. Lat-long GPS information also auto updates however it updates when the mobile gadget location services is on. In Figure 6(a) the data has been entered but not saved, in Figure 6(b) the collected data has been saved a condition was set that after saving the collected information all fields are to be cleared and remain written “done” ready for new entry. To input new data entry collection, a condition was set for clearing all previously entered data on the form, this happens after clicking the button the “NEW ENTRY” as shown in Figure 6(c) then the form would be ready for new data entry.
Once the data is saved it become saved a submitted to the fire base with incremental primary key set on the built-in control function. Collected data is also saved in file format on the mobile gadget storage system for the purposes of effective and alternative data storage in the event of poor or lack of internet to save on the firebase database. The data saved on the mobile gadget storage is saved in file format as comma-separated values (CSV) such that the collector can easily recall the collected data by clicking the “DISPLAY RESULTS” button and results can be displayed and scrolled while on data collection as shown in Figure 7(c).
![]()
Figure 7. Data collection page. (a) Example of list picker for district field, (b) example of list picker for acaricide field, (c) collection page after clicking display results button, results displaying below.
Figure 7(a) and Figure 7(b) demonstrate an example of list picker method of entering the data on the collection form all possible entries for each filed were made available in list format, the collector has to pick the appropriate choice for the collected data required.
There is communication and location page are accessed by clicking the button “MY LOCATION”. The purpose of communication and location page is map navigation using Google maps relative to the current location of the collector as shown in Figure 8(a) and Figure 8(b) and other communication and multimedia options. Camera is also one of the locations and communication which could be used for capturing images in case of a new tick discovery. This is done to have a pictorial view of the tick before being put into preservation bottles where it can possibly die and deform its original view. Camera is also used for taking picture of the controlling point such as dip tanks for purposes of effective reporting for infrastructure management. Collected pictures and videos are stored only on the mobile gadget storage.
Another communication page option is for viewing Google map with current location query taken from Lat-Lon GPS information displayed in the communication
![]()
Figure 8. Location and communication page.
and location page. Mobile calling option was also added successfully for direct calling to the veterinary office with the call number with ability to send a text to the same call centre mobile number. All the functions were presented in small icon buttons. For map navigation the map start navigation one map icon button is clicked, to stop map navigation one has to click stop button as shown in Figure 8 with stop button icon.
There is also developer’s page which is accessed by clicking the developer icon button under stop button as shown in Figure 8(b) the button leads to next page with contact information of the application developer. The background of the page has developer’s picture. There are three main buttons on the developer’s page, the name button, contacts button, and website button. Contacts button displays contact details of the developer contacts as shown in Figure 9(b). Name button displays the name of the developer yet website button directs to a light weight website developed by the developer as shown in Figure 9.
4. Discussion
The intended design and implementation of an android GIS data collection application for students with non-programming experience using the MIT App Inventor was successful. The design and blocks developments were developed stage by stage with easy development of blocks in the google MIT app Inventor environment [22] following the five general phases of application development which are discovery, wire-framing, prototyping, implementation, and deployment [25]. Besides that, MIT app inventor is a drag and drop way of programming It constituted an alternative, quite easy way of developing customised data collection application with location services thus MIT app inventor became a powerful programming base for students with little or no programming experience [26]. The easiness of development of tick data collection application did not compromise the standards of data collection applications especially the GIS component of the applications as MIT app inventor has ability to develop mobile applications with GPS sensors, application using databases and database online servers such as Firebase online database. The developed application has functionality of visual and interactive maps, mobile calling, mobile texting and other advanced concepts without having to lay down a hard or complicated code or learning any programming language [27]. The collected data is saved in CSV format that can is exportable to a GIS package such as ArcMapor Quantum GIS (QGIS) [28], the data file with high integrity. The data collection form was made with a much data being collected using list picker all options being included on the list this helped in maintaining database integrity and errors during data collection. The collected data is ready for spatial analysis and modelling using different methods such as ensemble techniques using Species Distribution Models (SDM) [29]. The tick data collection application was tested on various Android mobile phones with deferent frameworks, the responses from the tested Android mobile gadgets are satisfying the users.
5. Conclusion
Design and implementation of an android GIS data collection application for students with non-programming experience using the MIT App Inventor for Android mobile phone has been discussed. The purpose of the built developed application is to use mobile phone’s inbuilt GPS facility for collecting data with location characteristics in near real time also increasing database integrity hence reducing errors in data collection. The complete application so has been designed using MIT App Inventor for Android. The application program was tested on various Android mobile phones with various Android versions in which results are quite satisfactory.