How to call one Activity to another Activity in Android
Intent intent = new Intent(getApplicationContext(), HomeActivity.class);
startActivity(intent);
startActivity(intent);
OR
Intent intent = new Intent(this, HomeActivity.class);
startActivity(intent);
startActivity(intent);
OR
Intent intent = new Intent(LoginActivity.this,HomeActivity.class);
startActivity(intent);
startActivity(intent);
OR
startActivity(new Intent(getApplicationContext(), HomeActivity.class));
0 comments:
Post a Comment