Hi everybody !
I am developing an application that use the GPS and the geolocalion. So, during the application launch, I have to be sure that the user has activated the network and GPS. If he didn't tested 2 solutions :
Ask the user to activate them himself (so the application quit, and the user has to reload it)
Redirect the user in the corresponding view in order to activate them ( via something like " android.provider.Settings.ACTION_LOCATION_SOURCE_SETTINGS " )
The second solution is better to my mind but can be very boring for the user if he has to activate the Network + the GPS + Nework localisation ...
That's why I ask if it is not possible to activate all that automatically if it is not possible ? I think it is possible because it exists widget that let the user activate network, gps etc... but how can we do that in the application ???
thanks for reading ;)