Android Question Call more than one Activity.

joaquinortiz

Active Member
Licensed User
Longtime User
Is there a way to call more Activities? For example.

I want to develop the following:
I have the Main Activity, and I want to call to a new one called "Login" Activity, then this activity, will do the login validation and if it is correct, then, called a Menu Activity that has several options to select. And from my Menu Activity, depending on the user selection, called differents Activities..

Can you confirm this and how can I do this? Do you have a sample, to look how it does?.
 

Brandsum

Well-Known Member
Licensed User
Call StartActivity(login) to start an activity. Start login activity validate user credentials then on success store login status then call StartActivity(menu). On menu click call StartActivity(your-activity). Also check if the user is logged in or not on login activity resume. If yes then close login activity or open the menu activity again.
 
Upvote 0

Jorge M A

Well-Known Member
Licensed User
Upvote 0
Top