I'm developing an app that uses geolocation functions. The same is already taking the locations of the smartphone, and I can check if the connection of the GPS or not. So far, what I'm not getting is that if the GPS is turned off, ask the user to turn it on, taking it directly to the GPS settings screen, or just with a click of a turn on the GPS and do not let the same use the app until it is connected.