I'm using:
- AI2
- Windows 7, 64 bit
- Chrome 31.0.1650.63 m
- Samsung Galaxy S3 using the MIT AI2 Companion version 2.09ai2zx1
Program Components:
- Label (Label1) Text:Message Received
- TextBox (MessageReceivedTextbox) Text:(blank) Hint:No message received Multiline: true
- Texting (Texting1)
Blocks:
There is only one block: "when Texting1.MessageReceived do set MessageReceivedTextbox.Text to get messageText"
I send a text message from a different phone to the phone running the AI2 Companion. Google Hangouts gets the text message but the textbox in the application doesn't change.
I have done a reboot of the computer and phone and reconnected and get the same result.
Conjectures and attempted solutions:
Perhaps I'm misusing the textbox and should have used a label instead?
(OK, I'll test this... my block now says: when Texting1.MessageReceived do set Label1.Text to get messageText. Still not working.)
Perhaps the .MessageReceived is triggered but the message Text isn't working?
(OK, I'll test this too... my block now says: when Texting1.MessageReceived do set MessageReceivedTextbox.BackgroundColor to yellow, set Label1.text to get messageText. Nope, the textbox doesn't change color.)
Perhaps Google Hangouts is intercepting the text and not passing it on to the app?
Perhaps I'm missing an initialization block that sets up the connection between the hardware and the program (like we had to do in the old days)?
OK... I'm stuck. Does anyone have any suggestions?
Program Components:
- Label (Label1) Text:Message Received
- TextBox (MessageReceivedTextbox) Text:(blank) Hint:No message received Multiline: true
- Texting (Texting1)
Hello!
I`m using ai2 and ai1 with application, who must receiving message and show it on screen, but it not worked.
Uninstall not default sms applications is not help me. G.Hangouts settings not contain "turn on SMS", and logout of this program not help me too.
Messages not recieved by application. In android system all working well. I`m confused.
Pavel.
Trying to push the limits of App Inventor!
Snippets and
Tutorials from
Pura Vida Apps by
Taifun.