2014년 12월 23일 화요일

How to make math application using any formula such as a^2*b/300

How to make math application using any formula such as a^2*b/300. Means two fields a and b. when user enter these values and hit button it calculates using formula and shoe result on next screen...



If your problem is how to read values from an input field, calculate something, and start a new screen with a value to display, then do the tutorials and you will find answers. If not, how what you tried, with a screenshot of your blocks.
If you question is, how can I use an arbitrary formula that the user types in, that is not really possible in AI. If you are an advanced AI user, you could try JavaScript with the eval() function.



Here is probably what you want to do:

and how to use them is here:  http://www.appinventor.org/Chapter16

Why put the result on another screen?   Yes, that can be done.  Search the forum using the Search for topics box to the right of the colorful google at the top of this page  with terms like    screen manager    or  changing screens.



댓글 없음:

댓글 쓰기