send a push notification when wlan-xxx is close to gps

Hello, I want to create a function to do this step 2:

Send push when wlan-xxx is recognized
Send push when the person is near a point marked via GPS

How to do in Android Studio?

Thanks for your help