Problema initializar latitud y longitud gps al momento de inicializar pantalla

Glad you got the LocationSensor working Miguel. If the user disables the gps in the phone, yes, the location will no longer be updated. The only thing that can be done is to manually turn on the Location Settings on the device. It is impossible to turn the GPS hardware on or off using code. It is a security feature of Android.

Depending on the version of Andorid, there is a screen in the device Settings that looks like this:

.
Your app can provide code to display the Location Setting options like this:

but the user MUST make the changes manually using the screen provided by the ActivityStarter.

Regards,
Steve