android.content.Intent.ACTION_VIEW code example Example: intent android Intent intent = new Intent(MainActivity.this,Activity.class);