Michał

unread,
Jan 28, 2015, 6:37:28 AM1/28/15
to mitappinv...@googlegroups.com
Hi, I have a problem. I made the application that was designed to send sms. Unfortunately, I encountered a problem on its way, namely generic failure: message not sent and I do not understand from where this problem wzioł.
adds in Annex screen with the system blocks. thank you very much in advance for your help.
ukladblokowbramka.jpg

SteveJG

unread,
Jan 28, 2015, 8:16:55 AM1/28/15
to mitappinv...@googlegroups.com
How many characters is in the txtwiadomosc block?     You can only send a sms message with a total 'length' of characters plus spaces of about 160 characters.    Or perhaps are you attempting to send an empty message .... a message without any text?  That might trigger an error.    Or the phone number might be malformed.  Dashes, dots, and parentheses may be included (e.g., (650)-555-1212) but will be ignored; spaces may not be included.  Do you include spaces?

The documentation for the sms component is here:  http://ai2.appinventor.mit.edu/reference/components/social.html#Texting

So, do you have more than 160 characters (or very close to that); is the message empty or do you have spaces in the phone number?
Are you connected to a phone network ... if you are using a tablet and do not have phone service, sms will not work.

Regards,
Steve

Michał

unread,
Jan 28, 2015, 9:09:30 AM1/28/15
to mitappinv...@googlegroups.com
A number that gives looks as follows "514158876" without region code "48" in the content fits approx. 10 characters, the problem has not gone away. But when the law texting1 googlevoiceenabled other information appears in the error, "IO Error: unable to create GVHelper". what im doing wrong?

Michał

unread,
Jan 28, 2015, 9:17:06 AM1/28/15
to mitappinv...@googlegroups.com
Maybe the message is not sent due to "lack of funds in my account?"

SteveJG

unread,
Jan 28, 2015, 9:22:05 AM1/28/15
to mitappinv...@googlegroups.com
I ask again, How many characters is in the txtwiadomosc block?     (How long is the text message Michal?)    The problem might not be with the phone number, it might have to do with the text message length.   The phone number can include th e 48514158876   and is probably necessary for you to make the phone call.

Would you please confirm that you are actually using a phone and not a tablet.  Thank you.


Taifun

unread,
Jan 28, 2015, 9:23:01 AM1/28/15
to mitappinv...@googlegroups.com
Maybe the message is not sent due to "lack of funds in my account?"
probably yes
Are you able to send a SMS manually?
Do you use a tablet? Is your phone able to send and receive text messages?

But if this problem is persisting, please make another post attaching the aia file, with instructions about what exact steps to do to cause the error to happen.

Taifun

Trying to push the limits of App Inventor! Snippets and Tutorials from Pura Vida Apps by Taifun.         

Michał

unread,
Jan 28, 2015, 9:31:12 AM1/28/15
to mitappinv...@googlegroups.com
I use the phone, the number of characters in a block txtwiadomosc not exceed 160 characters

Michał

unread,
Jan 28, 2015, 10:29:33 AM1/28/15
to mitappinv...@googlegroups.com
I have a feeling that this script gets the money from my account. Is there a possibility to make an application that will send messages for free as web sms gateway?

Taifun

unread,
Jan 28, 2015, 10:41:40 AM1/28/15
to mitappinv...@googlegroups.com
of course sending an SMS from your device will cost you something, it's the same as sending a SMS manually from your phone

 Is there a possibility to make an application that will send messages for free as web sms gateway?
in case you find an API which offers sending SMS for free, then yes
Taifun

Michał

unread,
Jan 28, 2015, 12:57:07 PM1/28/15
to mitappinv...@googlegroups.com
I understand everything. But I have another question. The main objective of the application was to send anonymous messages. and here begins to question. Is it possible to hide or change the number of the sender?

SteveJG

unread,
Jan 28, 2015, 2:41:46 PM1/28/15
to mitappinv...@googlegroups.com
No.     ...and anonymous messages sound  a bit like spam.   Is that a nice thing to do?


Regards,
Steve

Michał

unread,
Jan 28, 2015, 3:21:49 PM1/28/15
to mitappinv...@googlegroups.com
I did not think of it that way. I meant to create an application in this category "fun" that allowed the user to send messages with jokes, etc. while maintaining the anonymity

Divanan

unread,
Jan 30, 2015, 9:43:38 AM1/30/15
to mitappinv...@googlegroups.com
Michal, is the phone that you're having this problem "generic failure: message not sent" a dual sim phone? If yes, then set the sim that you want to send the messages with as the default sim for messaging under sim management settings.
Reply all
Reply to author
Forward
0 new messages