Androidのsl4aで定型のSMSを送るコードを書いた。APIがわかりやすく、レファランスもしっかりしているので簡単に書けた。因みに、Rubyです。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "android"; | |
droid = Android.new | |
droid.smsSend("電話番号","送る内容") | |
droid.makeToast( "ちゃんと送りました。") |