Once I receive the gas percentage from the Arduino board I check this percentage, if high the application will send an SMS with the current location.
the problem is that as long as the percentage is high the application keep sending the sms message infinitely until the percentage back to it's normal state!

I guess that the problem can be solved by creating a timer but I'm not so sure of how will it be implemented. 

also not sure of how to create a method that return the current location?