The scale-up of antiretroviral therapy (ART) has significantly increased adult life expectancy for people living with HIV and reduced HIV transmission [-]. Despite this, in 2022, there were 1.3 million new HIV infections and 630,000 HIV-related deaths globally, with the majority occurring in sub-Saharan Africa []. Migration, including short-distance and frequent geographic relocations, is sustaining the HIV epidemic [,]. Previous studies indicate that highly mobile individuals face a greater risk of acquiring HIV [-] and once living with HIV, are less likely to adhere to treatment or achieve viral suppression compared to less mobile individuals [,]. Consequently, highly mobile people are at an increased risk of developing AIDS [] and dying from HIV-related causes []. In addition, mobility is linked to high-risk behaviors (eg, multiple and concurrent partners and substance use), which can increase the risk of HIV transmission if individuals are not virally suppressed [-]. For example, the treatment and prevention trial in rural KwaZulu-Natal showed that the new HIV infections among transient individuals within the trial communities slowed down efforts to increase ART coverage and population viral load suppression []. Therefore, understanding mobility patterns, including destinations, duration, and frequency, is important to inform the development of effective interventions to improve HIV prevention and treatment outcomes.
Potential of Location-Aware TechnologiesLocation-aware technologies, such as smartphones, offer simple and accurate tools for capturing both spatial and temporal dimensions of human mobility. A growing body of research has used portable GPS devices, smartwatches, and phones to examine relationships between mobility and health-related outcomes [-]. These studies reported sufficient acceptability among participants for using such technologies. However, there were challenges with standalone GPS devices, including satellite signal loss [], the burden of carrying devices [], complaints about discomfort or appearance [], privacy and confidentiality concerns [], and the need for active user effort to facilitate data collection []. Familiar technologies such as smartphones and wearables can mitigate some of these challenges. For instance, potential participants in rural South Africa perceived smartphone GPS valuable and appealing for studying human mobility and HIV risk due to their familiarity with smartphones []. Another United States study tested the use of smartphones and smartwatches in chronically ill patients with noncommunicable diseases []. Participants preferred smartphones because of ease of use. Also, there was more complete location data from the smartphones compared to smartwatches []. However, this study only assessed short-term use (28 days) and focused on noncommunicable diseases, which are typically less stigmatized than infectious diseases like HIV.
We conducted a pilot study to assess the feasibility of using smartphone GPS technology to study linkages between human mobility and poor HIV outcomes among young adults in rural KwaZulu-Natal, South Africa. Young adults in this setting are highly mobile [] and experience complex and intersecting vulnerabilities (poor risk perception, economic hardships, and lack of social support), increasing their risk of poor HIV care outcomes [,]. This paper evaluates the long-term use of smartphone GPS for collecting mobility data among these young adults. We also present key lessons learned from this study.
This study was conducted in uMkhanyakude district, northern KwaZulu-Natal, South Africa, using the Africa Health Research Institute (AHRI) population-based HIV surveillance program. The study area is predominantly rural, with limited access to water and electricity []. Internet connectivity is low, mainly accessed via mobile phones on a prepaid basis. Over 85% of youth aged 20‐24 are unemployed [], and 20% of young adults migrate annually for economic and educational opportunities []. The area has high HIV burdens with an incidence rate of 8% among women aged 20‐24 and 4% among men aged 25‐29 years [].
Study Design and DatesThe study was conducted in 2 phases from June 2021 to May 2023 (see ). In phase I, participants received an Android smartphone (Proline Falcon XL, Proline, South Africa) with a customized Avicenna app. These smartphones, purchased in October 2019, were chosen for their low cost and compatibility with a proposed app developed for the study. However, this app was found unusable in March 2020, leading to delays in the study to search for an alternative. The COVID-19 pandemic led to further delays, and the study began in June 2021. In phase II, participants used their personal smartphones to address operational challenges faced in phase I.
Individuals were eligible if they: (1) were aged 20 to 30 years old; (2) participated in the 2019 annual AHRI HIV surveillance round; (3) resided in the southern AHRI HIV surveillance area; (4) were willing to participate in the study; and (5) owned a compatible smartphone (minimum random access memory [RAM]: 1GB, sufficient free space for study app installation - phase II only). Eligibility was not limited by HIV status; the study aimed to include both those living with HIV and those who were not. The age criterion excluded individuals aged 18-19 years because they were more likely to be in school, raising parental concerns about smartphone use.
Using the 2019 AHRI HIV surveillance program population as a sampling frame, we generated a random sample of 1467 eligible individuals. Fieldworkers contacted them by telephone to introduce the study, assess eligibility, and interest. Data collection was conducted using Android tablets. Interested individuals were scheduled for a home visit. During the home visit, fieldworkers provided more comprehensive study information, including an informational video addressing privacy and confidentiality concerns identified in preliminary research []. The video used animations to explain GPS technology, study procedures, and data protection measures. Participants had the opportunity to ask questions before giving informed consent. After obtaining informed consent, participants were guided through the app installation (phase II) and registration. They were also provided with instructions on the app’s functionality and usage. Participants were followed for 6 months (26 weeks).
Participants received mobile data bundles (phase I: 1GB, phase II: 2GB) at enrollment and monthly thereafter. A portion of the data was intended for app connectivity with the study server, but this was not implemented due to changes with the app service providers. In phase II, monthly mobile was provided only if participants provided location data for at least 10 days. illustrates the study enrollment, participation, and follow-up process.
We used the Avicenna software platform [], customized into a smartphone app called “Sesikhona.” The Sesikhona app, available on Google Play Store, used Android location services to capture GPS coordinates of the device using a combination of Wi-Fi routers, cell towers, and GPS satellites. Initially, the app collected location data every 5 minutes but was later adjusted to 30 minutes (refer to ), to capture at least 48 location points per smartphone daily. For accuracy, the app recorded GPS data over 60 seconds until 3 precise location points were obtained.
For the app to collect location data, participants needed to: (1) grant the app GPS access; (2) enable location services; and (3) exclude the app from battery optimization (see ). Participants could revoke these permissions at any time to prevent location data collection. The app uploaded collected location data hourly to a secure study server hosted by Avicenna. If the smartphone lacked internet connection, data was supposed to be stored locally and uploaded during the next scheduled cycle. The data were then transferred from Avicenna to a MySQL database at AHRI.
To ensure confidentiality, the app did not collect personal identifying information. Instead, participants were registered with an alias, comprising an AHRI internal number, a study-specific email address, and password. The fieldworker aided the initial app setup by tethering the smartphone to their tablet for internet access. To ensure data integrity, participants were contacted by phone or visited at home if location data was missing for 48‐72 hours. Troubleshooting involved checking app settings such as location permissions, battery optimization, and internet connectivity using REDCap (version 14.044). Fieldworkers used tablets as temporary internet hotspots, enabling the app to resume data transmission.
App updates were managed in 2 processes. Study modifications, such as changes to location data collection frequency, were automatically pushed from the Avicenna platform to participants’ devices in the background. These updates required an internet connection. If offline, participants had to manually initiate the update by selecting the “reload studies from the server” option in the app. Updates to the Sesikhona app, including performance enhancements or bug fixes, were provided through the Google Play Store. Participants had to manually approve and install these updates. Initially, fieldworkers conducted home visits for assistance but later provided remote support via phone calls and data bundles to ensure internet access. App updates were discussed in weekly debriefing meetings with the project operations team, reviewing recruitment, enrollment and follow-up progress, technical challenges, and study procedures. Notes from these meetings informed revisions and improvements.
Data AnalysisWe report on participants’ enrollments, key demographics, HIV status at enrollment, age group, education years, and socioeconomic status. Feasibility was assessed using collected location data, including the number of location data points and weekly averages per participant. Also, we reviewed project operation meeting notes to construct a narrative of our study implementation experiences. This review highlights challenges in data collection, like phone replacement and device settings, and strategies to improve data collection.
Ethical ConsiderationsThe study was designed with special attention to ethical considerations related to location data collection. We conducted formative research and applied the Emanuel ethical framework to identify the ethical issues and used the findings to inform the development of the informed consent materials and overall study design []. The study was approved by the Biomedical Research Ethics Committee of the University of KwaZulu Natal (BREC Ref 460/15). All participants provided written informed consent before participation, and study participation was entirely voluntary. To ensure privacy, all data were deidentified, with no personal identifying information in the final dataset. Participants received smartphones in phase I to keep after the study, along with data bundles in both phases as incentives for participation.
We first describe participant characteristics, then summarize the collected location data. Finally, we discuss the operational challenges faced and opportunities identified during the study implementation.
Enrollment and Participant characteristicsA total of 516 individuals were contacted (including 88 in phase II), of whom 207 consented to participate (phase I: 163 and phase II: 44). Of the 207 participants, 3 did not provide location data (): one due to incomplete registration and 2 due to device incompatibility. Among those who provided location data, 131 out of 204 (64.2%) were female. Most participants, 95.2% (160 out of 168 that reported education) completed 10 to 17 years of education, and 39 out of 204 (19%) were living with HIV. Regarding age distribution, 80 out of 204 (39.2%). However, phase II participants were slightly older with a higher socio-economic status ().
Table 1. Demographic characteristics of study participants.CharacteristicPhase I (n=162), n (%)Phase II (n=42), n (%)Total (n=204), n (%)SexFemale99 (61.1)32 (76.2)131 (64.2)Male63 (38.9)10 (23.8)73 (35.8)HIV statusNegative129 (80.1)35 (83.3)164 (80.8)Positive32 (19.9)7 (16.7)39 (19.2)Missing101Age20‐2468 (42.0)12 (28.6)80 (39.2)25‐3094 (58.0)30 (71.4)124 (60.8)Years of education[0,10]7 (5.4)1 (2.6)8 (4.8)[10,17]123 (94.6)37 (97.4)160 (95.2)Missing32436Socioeconomic Index[1–2]7 (4.5)3 (7.3)10 (5.1)[2–3]103 (66.9)21 (51.2)124 (63.6)[3–4]44 (28.6)17 (41.5)61 (31.3)Missing819aExcluding the 3 that did not contribute location data.
bSocioeconomic index with [1-2] representing very low socio-economic status, [2-3] low socioeconomic status and [3-4] lower-middle socioeconomic status.
Location DataA total of 204 participants recorded 27,589,855 location points, with a median number of 74,865 (IQR 28,471‐186,578) points per participant. Participants provided a median of 2906 (IQR 856‐6688) location points weekly, though consistency varied. Ideally, location data were collected every 30 minutes, equating to a minimum of 336 location points weekly (48 daily). However, on average, participants collected 95.3 out of the expected 336 points (28.4%) weekly. The range and volume of location data varied by participant ().
In phase I, weekly location data peaked at 45.4% (SD 29.7%; 152.5/336) in Week 2 and declined by more than half to 21.5% (SD 22.2%; 72.3/336) by Week 26. In phase II, data collection fluctuated with participant engagement, increasing in the latter half of the study and peaking at 43.3% (SD 36.5%; 145.5/336) in Week 26. However, the overall difference between the 2 phases was 28.3% (SD 15.6%; 95.0/336) versus 29.0% (SD 26.6%; 97.4/336) was not statistically significant (P=.82) using a 2-sample t test. ().
Several operational challenges emerged during phase I of the study. A major issue was the app’s reliance on internet connectivity to upload location. In the first month, we found that many participants quickly exhausted their prepaid data bundles, leading to gaps in location data. To address this, we partnered with Datafree technologies [] to implement a reverse-billed app (AHRI connector) which allowed the Sesikhona app to upload collected location data without an active data bundle on participants’ devices. However, deploying the AHRI connector app (available as an APK file) required home visits to install via Bluetooth. While this was a logistical challenge, it presented an opportunity to initiate the study update to the increased 30-minute data collection frequency. Reverse billing initial data bundle balance requirements were bypassed by tethering participant devices to the fieldworker tablet. Another challenge stemmed from hardware limitations. The study smartphones, purchased in 2019, faced significant technological issues due to their prolonged storage and aging hardware. Common malfunctions included frozen touchscreens, loss of network signal, and hardware failures, resulting in 77 phone replacements, with some 20 participants requiring multiple replacements (refer to ). Some participants lost or broke their phones. Notably, 16 participants opted to install the app on their personal phones, demonstrating early acceptability of personal phone use for the study.
In addition, the app was prone to frequent app terminations resulting in missing location data. Despite participants maintaining correct app settings, including 90% (324/360) with location services enabled (on), 95.5% (345/361) with battery optimization disabled, and 76.8% (274/357) with AHRI connector on (refer to ), the app was not collecting location data. Subsequent analysis by the Avicenna team determined that these disruptions were due to the smartphone operating system background task management, which automatically terminated apps running in the background, including Sesikhona, to optimize system performance for active apps.
Adaptations and Phase IIIn response to the phone-related challenges and participants’ preference for switching to personal phones, phase II adopted a revised approach. Unlike phase I, where the study provided smartphones, phase II required participants to install the Sesikhona app on their own devices. Of the 44 participants who consented, 2 had smartphones with 512 MB RAM, insufficient for the app. This issue was not initially identified, but discussions with Avicenna established that at least 1 GB RAM was needed for optimal app performance. Similarly to phase I, participants reported losing (n=2) or breaking (n=2) their phones, and 8 participants switched to different phones. In addition, a few participants changed their phone numbers. Nine participants deleted the app across both phases (5 in phase I and 4 in phase II), 6 reinstalled it, and 3 were no longer interested. Reasons for deletions included unintentional removal by children, app performance issues, or insufficient storage. Some intended to reinstall but were unable to due to forgotten login details. Fieldworkers provided reinstallation assistance and technical support to minimize data collection disruptions.
Location data gaps persisted in phase II despite correct app settings. To enhance user engagement and reduce app terminations, we introduced a gamification (Wheel of Fortune) in November 2022. This daily lottery game (available from 9 AM to 4 PM) with additional plays on Saturdays offered participants an opportunity to win prizes like airtime, data bundles, and shopping vouchers (see ).
Engaging with the game was positively correlated with the frequency of location data collection. The probability of participants providing location data was 77.6% days when they played the game, versus 27.5% if they did not play (refer to ). The odds ratio was 9.12 (95% CI 5.44‐15.29) with a P<.001. In addition, playing the game was associated with +15.7% (7.5/48; P=.007) increase in the amount of location data received per day (refer to ).
summarizes the key findings from phase I and II. While phase II had few participants, having AHRI connector at the outset and introduction of the gamification enhanced user engagement and data collection. Overall, there were fewer technical challenges reported in phase II compared to phase I.
aAHRI: Africa Health Research Institute.
bnot applicable.
In this study, we found that smartphone-based GPS technology is a feasible approach for studying human mobility in rural settings using commercial software, provided that key implementation challenges are addressed. Individuals living with HIV and without accepted both study-provided and personal smartphone use for location data collection. Although most participants complied with study protocols, only 28.4% (95.3/336) of the expected weekly location data were collected, largely due to operational challenges such as hardware malfunctions, lack of internet connection, and frequent app terminations, particularly during phase I. Frequent troubleshooting provided insights into context-specific adaptations needed for rural settings, including implementation of the reverse billing to facilitate data transmission with an active data bundle.
The introduction of gamification in phase II significantly increased the likelihood of receiving location data from participants who engaged with the game. This highlights the potential of gamified strategies to enhance participant engagement and improve data completeness in long-term studies. Notably, phase II participants were slightly older and from higher income brackets, raising important considerations for equity in future studies. Requiring smartphone ownership could exclude younger or lower-income populations, who may be at higher risk for HIV and stand to benefit most from mobility-informed interventions.
Comparison to Prior WorkOur results align with previous studies demonstrating feasibility and acceptance of smartphone GPS apps to understand HIV risk [-], substance use and violence among people living with HIV []. The lower median data collection of 28.4% highlights challenges in rural settings. Two South African smartphone-based studies reported significant technological and operational issues with using personal phones, where inadequate RAM, storage, and device type affected implementation [,]. Furthermore, Clouse et al noted how lack of internet contributed to missing location data [].
Although Hardy et al [] found that smartphones provided more complete location data with less user effort, our study showed that the app required significant user effort to collect data. The high number of days with missing location data, especially later in the study, is comparable to findings from studies using standalone GPS devices [,]. However, these studies had smaller sample sizes, shorter follow-up periods, and different settings. Finally, other research shows that game elements enhance user engagement in mobile apps [].
Implications for Future HIV Research and InterventionsThe mobility data from this study will provide a granular understanding of how mobility intersects with HIV risk. Identifying geographic hotspots and mobility patterns linked to high-risk behaviors, such as multiple concurrent partnerships or inconsistent condom use, can enable more targeted and efficient allocation of prevention resources. For example, interventions can be tailored to specific locations and times where risk is highest to maximize impact.
Mobility data can also reveal disruptions in HIV care, such as missed clinic appointments due to travel, informing the design of tailored interventions like mobile clinics or targeted outreach programs at critical locations. Integrating mobile health tools, like the Sesikhona app, into broader health systems offers opportunities to prospectively monitor human mobility and deliver real-time support to individuals at risk of disengagement. For example, automated reminders or check-ins could be triggered on an individual’s location to encourage care engagement or treatment adherence protocols. However, for these strategies to be effective, technological and access barriers must be addressed, and the interventions should be co-designed with communities to align with privacy expectations and ethical standards. Overcoming these challenges will be critical to leveraging mobility-informed approaches to achieving the UNAIDS 95-95-95 targets, particularly among highly mobile and hard-to-reach populations.
Study Strengths and LimitationsThis study provides important evidence on the feasibility of using commercially available smartphone GPS apps to collect mobility data in a rural, resource-limited setting. While the high adoption rate and engagement demonstrate potential, feasibility was constrained by technological and operational challenges related to device and internet connectivity. These findings suggest that use of smartphone-based GPS to study mobility is feasible if key barriers are addressed. However, generalizability may be limited. The study was conducted within a cohort already engaged through the AHRI HIV population-based surveillance program, where established trust likely enhanced participant acceptance. In addition, reliance on smartphone technology may have introduced access and literacy barriers, which could affect scalability in other settings.
ConclusionThis study provides critical insights into the feasibility of using smartphone-based GPS technology to collect mobility data among young adults in a rural, HIV-hyperendemic setting in South Africa. By comparing the outcomes of 2 distinct phases, the study highlights the success and challenges of using both study-provided and personal smartphones. Although the collected data was lower than expected, high adoption rates, sustained engagement, and the success of solutions such as reverse billing and gamification demonstrate the potential of smartphone-based approaches to study mobility, provided technological barriers are addressed.
The implications of this study extend beyond its immediate context, offering valuable lessons for the broader field of HIV research and intervention. Our findings underscore the potential of integrating mobile health tools into health systems to support high-risk mobile populations. Mobility-informed approaches could enhance real-time monitoring, targeted service delivery, and ultimately improve HIV prevention and care outcomes. Further research is needed to refine engagement strategies, address technological and access barriers, and optimize data integration methods to fully leverage mobility data for achieving global HIV epidemic control.
The authors would like to acknowledge the study participants for their time. We wish to appreciate Ms Zinhle Mkhwanazi, Mr Velaphi Gumede, Mrs Nqobile Nkosi, Ms Onie Mgu, Mrs Neli Mtshali, and Mr Mareca Sithole for participant recruitment, data collection, and data management. We would like to acknowledge Mr Brendan Gilbert for the suggestion of a lottery game. This study was supported by grants from the National Institutes of Health (R01HD084233), Academy of Medical Sciences Newton Advanced Fellowship, and German research foundation (BA2067/14-1). The Africa Health Research Institute's (AHRI) Demographic Surveillance Information System and Population Intervention Program is funded by the Wellcome Trust (227167/A/23/Z) and the South Africa Population Research Infrastructure Network (funded by the South African Department of Science and Technology and hosted by the South African Medical Research Council). FT and TM are also supported by the National Institute of Mental Health (R01MH131480). The content is solely the responsibility of the authors and does not necessarily represent the official views of the funding bodies.
The datasets generated or analyzed during this study are not publicly available due to them containing sensitive information that could compromise the privacy of research participants but are available from the principal investigator (FT) on reasonable request.
TM: conceptualization, methodology, formal analysis, project administration, writing – original draft, writing – review & editing. EO: formal analysis, methodology, data curation, software, validation, visualization, writing – original draft, writing – review & editing. KHT: formal analysis, methodology, data curation, software, validation, visualization, writing – original draft, writing – review & editing. MI: writing – original draft, writing – review & editing. DC: writing – original draft, writing – review & editing. HYK: writing – original draft, writing – review & editing. FW: writing – original draft, writing – review & editing. TB: conceptualization, funding acquisition, investigation, writing – original draft, writing – review & editing. AD: conceptualization, investigation, methodology, writing – original draft, writing – review & editing. FT: conceptualization, funding acquisition, investigation, methodology, supervision, writing – original draft, writing – review & editing.
None declared.
Edited by Lorraine Buis; submitted 01.11.24; peer-reviewed by Hailey J Gilmore, Kate Clouse; final revised version received 06.05.25; accepted 06.06.25; published 25.08.25.
© Thulile Mathenjwa, Elphas Luchemo Okango, Khai Hoan Tram, Maxime Inghels, Diego Cuadros, Hae-Young Kim, Fiona Walsh, Till Barnighausen, Adrian Dobra, Frank Tanser. Originally published in JMIR mHealth and uHealth (https://mhealth.jmir.org), 25.8.2025.
This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR mHealth and uHealth, is properly cited. The complete bibliographic information, a link to the original publication on https://mhealth.jmir.org/, as well as this copyright and license information must be included.
Comments (0)