Enable Google Location Service by clicking

Hi,
i wish set location device data pushing an app button.

So i want a popup like this one:

Ok click set “device enable location service” on enabled.

Now i know only how redirect the user on gps setting page with this IntentLauncherAndroid.

Any Idea?

Thanks

Hey @cklinx,

I’m not entirely clear about what you’re asking, but I’ll give it my best shot. You’ll likely want to use a modal to create the component like the one you posted in here. Then, like you mentioned, use IntentLauncherAndroid to redirect the user to the Location Settings page if they tap “OK” .

Cheers,

Adam

Hi @adamjnav,
thanks for your answed but what i want is set to “enable” the GPS setting without redirect the user.

He should click “ok” on modal and my app must enable the gps device.

=)

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.