I need help with a code.

I’m trying to develop a mobile app that fetches an open source and displays the users location relevant to the source display. Does anyone know how this can be done?