How to remove the App installed screen after app installation in android
<p>I am installing the app programatically using intent. After installation i am getting a screen as App installed. How do i remove or not to have this screen coming up after installation is completed.</p>

<p>Following is the code:</p>

<pre><code>Intent intent = new Intent(Intent.ACTION_VIEW);
            intent.setDataAndType(Uri.fromFile(new File(Environment.getExternalStorageDirectory().getAbsolutePath() + File.separator + filename)), "application/vnd.android.package-archive");
            intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK
                    ); // without this flag android returned a intent error!             
            context.startActivity(intent);  
</code></pre>

<p><a href="https://i.stack.imgur.com/BLsbt.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BLsbt.jpg" alt="enter image description here"></a></p>