Skip to first unread message

Kartik Tambi

unread,
Aug 26, 2018, 12:02:08 AM8/26/18
to mitappinv...@googlegroups.com
Hello,
 I have made a test texting app for my other project.
But when I run the app, It shows  "Generic failure: message not sent".
How to fix this problem??

Regards,
Kartik
9950d0f7-1e3e-4da7-ad21-53b9365d396e.jpg
9c7a1f58-6796-4538-8ee0-c06f02dd1e0f.jpg
533e5623-9208-4685-af3c-b7cbf0c40864.jpg
blocks.png
blocks (1).png

Chris Ward

unread,
Aug 26, 2018, 5:23:41 AM8/26/18
to MIT App Inventor Forum
Hello Kartik

Well, you are not handling Screen switching correctly and that causes a memory leak. 

Can't really understand your process from the Block snippets. Please post the Project File for someone to check.

Export Project File to your PC for FORUM.png


TimAI2

unread,
Aug 26, 2018, 5:36:01 AM8/26/18
to MIT App Inventor Forum
and make sure you are texting another phone, you cannot text yourself !

SteveJG

unread,
Aug 26, 2018, 8:21:14 AM8/26/18
to MIT App Inventor Forum
@Tim   Actually, you can send an sms message to yourself.   I can do it.  It is how I test.   If you cannot text yourself, it might be something your cell provider uses to block.  Texting to oneself using Sprint and my phone works.  Really.

Regards,
Steve

TimAI2

unread,
Aug 26, 2018, 9:37:54 AM8/26/18
to MIT App Inventor Forum
Happy days :)

Chris Ward

unread,
Aug 26, 2018, 10:48:33 AM8/26/18
to MIT App Inventor Forum
Hmm - that's strange. I can't sms to me and I thought that was the norm. It might possibly rely on whether the messenger can also handle email?

SteveJG

unread,
Aug 26, 2018, 11:44:52 AM8/26/18
to mitappinv...@googlegroups.com

blocks (1) (1).png

@ Kartik ... sorry, I do not have a solution.  You can use the example below to see if you can send text messages to your own phone for testing. 

@Chris / Tim

1) you got to have your cell phone turned on
2) you got to install your app
3) you have to know this difficult algorithm

smsSelf.png


If you can not, I suspect it has something to do with the type of cell phone network you are in 
The most commonly used radio systems are GSM (Global System for Mobile Communication) and CDMA (Code Division Multiple Access). As of September 2017, Verizon, Sprint, and US Cellular use CDMA. AT&T, T-Mobile, and most other providers around the world use GSM, making it the most widely used mobile network technology. LTE (Long-Term Evolution) is based on GSM and offers greater network capacity and speed.

or it might have something to do with the Android version (this was done with an LG 4.4.2 ,  Google being increasingly security concous might not allow this on devices above 5+ (I do not know as I do not have anything other than a 4.4.2 phone to test).

-- Steve
blocks (1) (1).png

Chris Ward

unread,
Aug 26, 2018, 2:16:24 PM8/26/18
to MIT App Inventor Forum
ah, failed on point 1 :)

Kartik Tambi

unread,
Aug 28, 2018, 11:17:16 AM8/28/18
to mitappinv...@googlegroups.com
Hey,
I don't want my app to send messages on the own user's phone...!
My aim is that when a person enters any other no. on which he wants to text (the text is pre-defined), the app should store the phone no., yes/ no, and his alphabet.
If the user1's alphabet matches the other alphabet, then only send the message...
I have attached an AIA file of my app...
Please Help...

Regards, 
Kartik.
measaging2.aia

TimAI2

unread,
Aug 28, 2018, 1:23:11 PM8/28/18
to mitappinv...@googlegroups.com
Didn't have my phone switched on either ;)

But I cannot text myself from my on board messaging app.
Reply all
Reply to author
Forward
0 new messages