Is your plan to use your app to tell the phone to send an SMS? Or are you trying to send SMS directly?
The former is going to be wholly specific to the phone hardware you're trying to connect to, and the latter will only work if you either have access to a third party service that'll allow you to send SMS, or if you have hardware that'll accept a SIM card and some sort of API to control it.