Hello.
I made a very simple flow for automating a simple task: (for spam prevention, I changed the true sms address servers). This is the description of the flow:
When I receive a sms message from either one of two sms server (abc@xyz.com or def@xyx.com) that contain in the text number ''44'', I reply a message with the text ''gg*''. The flow contain only two box:
The trigger ''SMS Received'' containing the two sms server address and the text ''44'' as a trigger
and the action box ''Send SMS'' that forward the text ''gg*'' to the server abc@xyz.com
The bug is in the action box ''Send SMS''. It seems that he only accept a phone numbers. The action box Send SMS with a phone number and the flow woks perfectly.
Here is the log:
08.05.2013 23:48:02.411 [Forward SMS Flow] Starting to execute flow 'Forward SMS Flow' with Context{global{},local{flow_name=Forward SMS Flow,trigger='SMS Received: from abc@xyz.com, def@xyz.com containing 44',triggertime=1368071282323,sms_text=(Notification) 44
,sms_sender=abc@xyz.com}}
08.05.2013 23:48:02.411 [Forward SMS Flow] Start executing action 'Send SMS: to abc@zyz.com 'gg*' (20 in 12h)'
08.05.2013 23:48:02.465 [Forward SMS Flow] End executing action 'Send SMS: to abc@zyz.com 'gg*' (20 in 12h)' and exception null
08.05.2013 23:48:02.466 [Forward SMS Flow] Flow ends execution due to errors
08.05.2013 23:48:02.466 [Forward SMS Flow] Error:
java.lang.NullPointerException
at android.os.Parcel.readException(Parcel.java:1431)
at android.os.Parcel.readException(Parcel.java:1379)
at com.android.internal.telephony.ISms$Stub$Proxy.sendText(ISms.java:714)
at android.telephony.SmsManager.sendTextMessage(SmsManager.java:214)
at ch.gridvision.ppam.androidautomagic.d.a.ca$1.a(SourceFile:250)
at ch.gridvision.ppam.androidautomagic.util.dy$1.run(SourceFile:39)
at java.lang.Thread.run(Thread.java:856)
08.05.2013 23:48:02.478 [Forward SMS Flow] Flow ended.
Is-it a bug? I can reply or send to a sms message server manually with my Samsung Note 2.
Any hints will be appreciated.
bug with 'send SMS' function.
Moderator: Martin
Re: bug with 'send SMS' function.
Hi,
This is the expected behavior. The action Send SMS can only send regular SMS to a phone (no MMS and no Google Voice text messages).
Regards,
Martin
This is the expected behavior. The action Send SMS can only send regular SMS to a phone (no MMS and no Google Voice text messages).
Regards,
Martin