On touch gps to sms

>> Hi there! I kindda need to write an app to turn the gps on, wait for
>> the gps to have > 1.0 HDOP send the coordenates through an sms and
>> turn the gps of. I first wanted to ask if anyone did that already. I
>> think it would be prety easy as gps can be turned on and off using
>> python, an there's a python script to send sms too, right?
>>>> Any hint would be greatly wellcomed.
>>I remeber someone posted a python script to send sms directly from
>console, but I can't find it. any hint?
just look at sms-sentry
Petr