Back to project page Android-TTSNotifier.
The source code is released under:
GNU General Public License
If you think the Android project Android-TTSNotifier 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 vub.lhoste.ttsnotifier; /* ww w . jav a2s. c o m*/ import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; public class TTSNotifierReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { intent.setClass(context, TTSNotifierService.class); intent.putExtra("result", getResultCode()); //intent.setAction("android.intent.action.MAIN"); //intent.addCategory("android.intent.category.LAUNCHER"); //intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_MULTIPLE_TASK); TTSNotifierService.beginStartingService(context, intent); } }