<div class="gmail_quote">On Wed, Nov 28, 2012 at 9:39 AM, Yigit Ozkan <span dir="ltr"><<a href="mailto:yigitozkan2804@gmail.com" target="_blank">yigitozkan2804@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>i've got a Samsung Galaxy S5830 (<a href="http://www.gsmarena.com/samsung_galaxy_ace_s5830-3724.php" target="_blank">http://www.gsmarena.com/samsung_galaxy_ace_s5830-3724.php</a>) and I'm looking for a way to send SMS messages with it using Python. The script will run on the computer. Is this possible?</div>
<div></div></blockquote></div><br>Well, you can always go blackhat....<div><br><div><a href="https://github.com/thomascannon/android-sms-spoof">https://github.com/thomascannon/android-sms-spoof</a></div><div><br></div><div>
But more seriously, if you have the android sdk installed and the phone connected by USB:</div><div><div><br></div><div>adb shell am start -a android.intent.action.SENDTO -d sms:CCXXXXXXXXXX --es sms_body "SMS BODY GOES HERE" --ez exit_on_sent true<br>
adb shell input keyevent 22<br>adb shell input keyevent 66</div><div><br></div><div>You could also just use the normal permissions an Android app can request, like for sending sms.</div><br>- Bryan<br><a href="http://heybryan.org/">http://heybryan.org/</a><br>
1 512 203 0507<br>
</div></div>