Joke Collection Website - Blessing messages - Make a program to send Yi short messages by computer and mobile phone.

Make a program to send Yi short messages by computer and mobile phone.

Calling adb can be achieved. I wonder if ADB knows the following code for easy language calling ~

. Version? 2

. Support library? iconv

. Support library? speculate

. Subroutine? send a text message

. Parameters? Content? Text type

. Parameters? Number? Text type

. Local variables? Text message content,? Text type

Text message content? =? Send text messages? (code conversion? (to byte set? (content),? # Code _GB23 12,? # Encoding _UTF_8,? ))? ? Pay attention to transcoding, but it's Martian without transcoding.

Run? ("ADB? Shells? Me? Start? -a? android.intent.action.SENDTO? -Dee? Text message: "? +? Number? +? "? -Really? SMS _ Text? ”? +? Text message content? +? "? - ez? Exit sending? Really? Fake? 1)

Delay? (200)

Run? ("ADB? Shells? Input? Key events? 22",? Fake? 1)

Delay? (200)

Run? ("ADB? Shells? Input? Key events? 66",? Fake? 1)