<s> '''<STR_LIT>''' <EOL> from jnius import autoclass <EOL> from plyer . facades import Sms <EOL> SmsManager = autoclass ( '<STR_LIT>' ) <EOL> class AndroidSms ( Sms ) : <EOL> def _send ( self , ** kwargs ) : <EOL> sms = SmsManager . getDefault ( ) <EOL> recipient = kwargs . get ( '<STR_LIT>' ) <EOL> message = kwargs . get ( '<STR_LIT:message>' ) <EOL> if sms : <EOL> sms . sendTextMessage ( recipient , None , message , None , None ) <EOL> def instance ( ) : <EOL> return AndroidSms ( ) </s>
