my car has a gps gsm car alarm, i can send it an sms containing my code and a preset command to make it do any number of things, but my main concern is lock and unlock,

is there anyway i can create a shortcut on my iphone 4 springboard that would automatically send the "lock" or "unlock" sms to my gsm alarm, but im talking 1 touch, press the shortcut and it doesnt navigate away from that screen, it just send's the sms? surely there is a way?

i hate to say it, but i only ask as my previous htc android device could

surely the superior apple os can

thanks