If not, the user will be asked to setup an account or login to an existing Google account. This description assumes that the user already has an active Google account on the phone. If there are more than one user account on the phone, the user will first be prompted to choose an account. Text notifications > Off (unless you want your app and Google Voice to notify you)īecause outgoing messages are sent through the user's (online) Google Voice account, users of Texting-over-wifi apps will be asked to give the app permission to access the user's account now and in the future.Receive text messages > Via the Google Voice app.Set the following Google Voice settings under Voice > Sync and notifications:.Start the app and follow the setup instructions.Read and approve the app's permission requests.Start the phone's Market or Play Store app.To download and install Google voice on your phone: The revised Texting component receives incoming messages over Wifi through the Google Voice mobile app. Follow the instructions there to create a Google Voice number and activate your account.Scroll down to the Google Voice link under Home and Office/.Click on the More tab on the Google menu bar.Once the app is developed, users of the app will also have to have Google Voice accounts. In order to build and test an app that sends text messages over Wifi, the app developer will have to have a Google Voice account. The revised Texting component uses Google Voice to send outgoing messages over Wifi. This may require you to login to the Wifi with a password and may also require you to login to the school's network with a username and password. Use the phone's Settings > Wireless & networks > Wi-Fi to connect to a Wifi hotspot. This may have implications for how you design your app.Ī reliable Wifi hotspot is a prerequisite to using the Texting component without a SIM card or mobile account. Note: if the user sends a message to her own Google Voice number, it will be forwarded back to the phone., whichĬould be very confusing. Google Voice will forward the message to the destination phone number.Once authenticated, the SendMessage method will forward the message and phone number to Google Voice.If this is the first message being sent by the app, the user will be prompted to authenticate with their online Google Voice account.Sending a message requires that the Texting component's Message and PhoneNumber properties have been set and that its SendMessage method has been called.Here are some of the details for how things work when a message is sent. Of course most of these details are not visible to the App Inventor programmer, who just needs to worry about the procedure in the Do slot. The MessageReceived method will process the message according to the algorithm specified in its do slot.If the Texting component is running (meaning it is visible in the foreground), its MessageReceived (with the arguments 55 and Hi for this example) event handler will be invoked.If the Texting component is enabled to receive messages, the Broadcast Receiver forwards the message to the Texting component.The Google Voice app forwards the message to the Texting component's Broadcast Receiver.The Android system forwards the message to the Google Voice mobile app, which has been set up to receive messages.The phone receives an incoming text message, say, "Hi", from some phone, say, "55".Here are some of the internal details for how things work when a message is received. The mobile Google Voice app is used for receiving messages and the user's Google Voice account is used for sending messages. Texting over Wifi uses Google Voice to send and receive messages. Once you get Google Voice set up on your phone, try the AlertMe tutorial. In order to use the Texting component over Wifi, the app user will need a Google Voice account and will also need to download and install the Google Voice app from the Play Store. Instructors use App Inventor texting examples and exercises with phones that do not have mobile or data plans. This tutorial shows how to use the Texting component to send and receive text messages (SMS) over Wifi. Texting Over Wifi: Using Google Voice Introduction For tutorials about App Inventor 2, go to the App Inventor 2 Tutorials. App Inventor Classic This information pertains to App Inventor 1 (Classic).
0 Comments
Leave a Reply. |