how to use intent in android code example
Example 1: intent android open activity
Intent intent = new Intent(this, DisplayMessageActivity.class);
intent.putExtra(key:,value:);
startActivity(intent);
Example 2: intent android
Intent intent = new Intent(MainActivity.this,Activity.class);
Example 3: intent jump to new activity
//Intent i = new Intent(getApplicationContext(), Second.class);
// startActivity(i);