pass value to another screen then add * or # to phone number then call

101 views
Skip to first unread message

Mohamed Mostafa

unread,
Dec 29, 2014, 6:10:59 PM12/29/14
to mitappinv...@googlegroups.com
hi
i am trying to have new app which is actually 3 screens to combine values passed from these screen then call this value

the first screen is to chose one value from 4 values
the second screen is to add a number and save it to Tag in TinyDB
thirds screen is to add specific symbol like # and * plus a specific Number  ( depends on  the first value chosen from the first screen ) then combine this to  the number took in the second screen then then  try to call that Number ( the combined formula )

ex: if i chose value 1 in screen one then in screen 2 typed Number 111111 then it should automatically in screen 3 combined *111*11111#  then call this compined Number

how can i do that

Enis

unread,
Dec 29, 2014, 10:00:39 PM12/29/14
to mitappinv...@googlegroups.com
What have you tried so far?  Have you done the tutorials? 

The tutorials are located here: http://appinventor.mit.edu/explore/ai2/tutorials

If you've made some attempts, please post screenshots of your relevant blocks and we'll see how to help you out.
____________________________________________________________________

http://twodogapps.com?page_id=686

For our App Inventor Tips, visit TwoDogApps.com by clicking here!






Taifun

unread,
Dec 30, 2014, 8:56:01 AM12/30/14
to mitappinv...@googlegroups.com
concerning the #: you could uri encode the # character using the UriEncode block of the web component or just write %23 instead of #
Taifun

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

Peep Prants

unread,
Dec 30, 2014, 10:56:02 AM12/30/14
to mitappinv...@googlegroups.com
In Android (also in IOS) dialing pad * mean "pause" and for coding use , (comma). One comma is 2 second pause. If you need more seconds, insert more commas :) 

Mohamed Mostafa

unread,
Dec 30, 2014, 6:29:48 PM12/30/14
to mitappinv...@googlegroups.com
thanks all but i am not able to get this work
see the attached project
R1.aia

Taifun

unread,
Dec 30, 2014, 6:34:11 PM12/30/14
to mitappinv...@googlegroups.com
If you are asking for help, I recommend you to make it as easy for others to be able to help you ...
You probably will get more feedback then...

which means in your case post a screenshot of your relevant blocks...

To download the aia file, upload it to  App Inventor, open it, do some bug hunting for you, etc... this takes time, and most people will not do that...
Thank you.

Mohamed Mostafa

unread,
Dec 30, 2014, 11:50:18 PM12/30/14
to
Thanks sure i need help :)
here is the screenShots .
what i want to accomplish is to pass value from screen 1 ( for ex : *100* ) then ad another Nomber ID from screen 2 to it so it wil be *100*ID then add another * then in screen 3 add another Number to end and end al theta with 3 then cal it
for final Number will be something like
*100*ID*Pin#  >> Dial
Screen3.JPG
Screen3Design.JPG
Screen1Design.JPG
Screen1Block.JPG
Screen2Block.JPG
Screen2Design.JPG

Taifun

unread,
Dec 31, 2014, 10:48:35 AM12/31/14
to mitappinv...@googlegroups.com
this should be IDNo.Text instead of the IDNo component

Mohamed Mostafa

unread,
Dec 31, 2014, 11:12:07 AM12/31/14
to mitappinv...@googlegroups.com
Thanks but when i reach the 3rd screen the Call Button it didn't work . nothing happen when i press it

Taifun

unread,
Dec 31, 2014, 11:14:57 AM12/31/14
to mitappinv...@googlegroups.com
1. take a look into how to pass values between screens

2. learn to use Do it, see also tip 4 here

Taifun
Reply all
Reply to author
Forward
0 new messages