app development using mit app inventor 2 tool
Objective:- ON-OFF button and button status reading
Step 1: Go to url: https://appinventor.mit.edu/
Step 2: click on Create Apps!
Step 3: wait a minute! now fill your email id and email password
Step 4: wait a minute! now you have entered in app development software tool.
now click on project after that click on start new project after that give the any name for your project in project name text box then click ok.
Step 5: now we want to put two button on and off on mobile screen that are showing on computer screen.
basic information in following image
so for this click on Button icon in User Interface and pick a button and put on mobile screen on software tool.
Now you will see the screen below
now click the Button 1 in Components region and after that write the ON in Text(textbox) by deleting the Text for Button1 in Properties region of software tool.
Now you will see the screen below
now we want to put off button so repeat the above in step 5 (drag the new button from user interface to mobile screen on software tool and -----etc.)
Now you will see the screen below
Step 6 : now we want to put text box on mobile screen of software tool so that we can see the status of click button.
so for this click on TextBox icon in User Interface and drag text box and put on mobile screen on software tool below OFF button.
Now you will see the screen below
Now we will do background programming
Step 7: Now click the Blocks icon near the Designer icon of the software tool.
Now you will see the screen below:
Step 8: now click on Button1 in Blocks region
and select(or click) the following block
Step 9: now click the TextBox1 in Blocks region
and select(or click) the following blockand select(or click) the following block
for this :
Comments
Post a Comment