I'm building an android app, it basically just gets the user's coordinates using GPS, and then using those coordinates calls an API (using HTTPrequest) to get the city.
My question is, where should I be doing this (calling the GPS and the HTTPrequest) : in the onCreate() or the onStart() function of my main file?
And if I can do it from both, which is the better practice?