different types of intent in android code example Example: intent android Intent intent = new Intent(MainActivity.this,Activity.class);