Back to project page MnemR.
The source code is released under:
GNU General Public License
If you think the Android project MnemR 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 com.mnemr.utils; // ww w . java 2 s. co m import com.mnemr.ui.MnemEditorActivity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.sax.StartElementListener; public class CameraButtonReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { abortBroadcast(); context.startActivity(new Intent(context, MnemEditorActivity.class) .setAction("NEHM_THAT").setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS)); } }