Back to project page Xamarin.Forms-InlineMenu.
The source code is released under:
MIT License
If you think the Android project Xamarin.Forms-InlineMenu listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package mono.android; /* w w w.ja v a 2 s .c o m*/ import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; public class Seppuku extends BroadcastReceiver { @Override public void onReceive (Context context, Intent intent) { Intent startMain = new Intent (Intent.ACTION_MAIN); startMain.addCategory (Intent.CATEGORY_HOME); startMain.setFlags (Intent.FLAG_ACTIVITY_NEW_TASK); context.startActivity (startMain); java.lang.Runtime.getRuntime ().exit (-1); } }