2014년 12월 30일 화요일

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


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

--
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.

--
concerning the #: you could uri encode the # character using the UriEncode block of the web component or just write %23 instead of #


--

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 :) 

--
thanks all but i am not able to get this work

see the attached project

R1.aia


--
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...

--
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








--
this should be IDNo.Text instead of the IDNo component


--
Thanks but when i reach the 3rd screen the Call Button it didn't work . nothing happen when i press it

--
1. take a look into how to pass values between screens

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

댓글 없음:

댓글 쓰기