I need help with creating both pseudocode and a flowchart to design

a mobile app. The app will write the device's latitude and longitude to a file each time the device's location changes.