How to make notification to turn on GPS?


#1

Well, to complete my application. I need this features.
When the map feature clicked and the gps is turn off it will show notification to turn on gps first.

Here my block for the maps feature


#2

Hi @FathiIA, welcome to the Thunkable community.

Here’s a tutorial that shows you how to do this:


#3

Sorry, i still can’t undestand it. When i try the app you send, when i turn on location sensor, my GPS didn’t turn on


#4

see the Get Available SSIDs example project here https://puravidaapps.com/wifi.php about how to find out, if GPS is enabled and how to open the settings for the user to enable it

Taifun


#5

Already doing like you told me, but when i choose “Ya”, my GPS still not turn on


#6
  1. whom are you talking to?
  2. how does your Notifier.AfterChoosing event look like?
  3. also you might want to switch screens correctly, else you will run out of momory after a while… see tip 1 here


Taifun


#7
  1. Tafun and Domhnall
  2. Here, like this
  3. I’ll think that later, thanks for this tips

#8

did it work now?


#9

Well, it’s show the notification to Turn On the GPS, but the problem is, when i choose “Yes”, my GPS still not Turn On.


#10

You spouse to use the components I’m this


#11

Still not work, when i press the GPS menu, it just keep back to Screen1


#12

Here my Full Block GPS feature. If you see anything wrong, please hel me to fix it


#13

you might want to check again my previous answer

see the Get Available SSIDs example project here https://puravidaapps.com/wifi.php about how to find out, if GPS is enabled and how to open the settings for the user to enable it

Taifun


#14

I have to say: just read Taifun’s article about Wifi extension… it will works. I already use Taifun’s Wifi extension and works fine…


#15

I thought your extension only for Wifi. Alright, i’ll try this now