When the app launches for the first time Screen 1 appears if not screen 2 appears

In screen 1 is screen login so if user done login next launch not open screen but open screen 2

1 Like

Please show us your relevant blocks so we might suggest you some blocks and logic to do that task.

use TInyDB to store successful login

TinyDB.StoreValue LoginSuccessful

then in Screen1.Initialize use an if statement like this

if TinyDB.GetValue LoginSuccessful
          valueIfTagNotThere false
then open another screen Screen2


1 Like

Use tinydb store value in screen 1 instlaize ?

What i’m not understand

A very good way to learn App Inventor or Kodular is to read the free Inventor’s Manual here in the AI2 free online eBook App Inventor 2 Book: Create Your Own Android Apps … the links are at the bottom of the Web page. The book ‘teaches’ users how to program with AI2 blocks.

There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro and the aia files for the projects in the book are here: App Inventor 2 Book: Create Your Own Android Apps

How to do a lot of basic things with App Inventor are described here: How do you...? .

Also do the tutorials Our Tutorials! to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor


You can give me block code or video tutorial pleasee i need