Hey guys, welcome back to an another Blog. Today in this blog we are going to make a App Lock  in Sketchware. 

A sample image.


Follow the steps:
 
1. Drag the horizontal linear to the design field.
2. Then drag the text, edit text, and button.
3. Then you can arrange then as your own wish.


This one is just for 
the example.

  
5. Now comes the coding part.
6. Move to "Event" and go to "View" and click on "Button 1".
7. Then add the " Intent " component.


8. Now move " Control" and drag the ' if...else ' block.
9. Then move to "operator" then drag the ' Equals ' block.
10. Then move to "View" and then drag the ' Text View... Get Text ' block.

In this way.

11. Then in Textview select the ' EditText 1' and then in equals space write the password which you want to keep.

In this way...

12. Drag the following from the "Component" section.

Drag all this here. Make sure to add
a second activity for the intent action.


13. Now go back and then RUN and INSTALL the project.

Post a Comment

Previous Post Next Post