src/android/ReceiverActivity.java
private void launchMainIntent () {
        Context context     = getApplicationContext();
        String packageName  = context.getPackageName();
        Intent launchIntent = context.getPackageManager().getLaunchIntentForPackage(packageName);

        launchIntent.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT | Intent.FLAG_ACTIVITY_SINGLE_TOP);

        context.startActivity(launchIntent);
    }
/**
     * Launch main intent for package.
     */
Launch main intent for package.
Launch main intent for package .
private void launchMainIntent () {
        Context context     = getApplicationContext();
        String packageName  = context.getPackageName();
        Intent launchIntent = context.getPackageManager().getLaunchIntentForPackage(packageName);
        launchIntent.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT | Intent.FLAG_ACTIVITY_SINGLE_TOP);
        context.startActivity(launchIntent);
    }
private void launchMainIntent ( ) { Context context = getApplicationContext ( ) ; String packageName = context . getPackageName ( ) ; Intent launchIntent = context . getPackageManager ( ) . getLaunchIntentForPackage ( packageName ) ; launchIntent . addFlags ( Intent . FLAG_ACTIVITY_REORDER_TO_FRONT | Intent . FLAG_ACTIVITY_SINGLE_TOP ) ; context . startActivity ( launchIntent ) ; }
Launch main intent for package.
Launch main intent for package .