Android Open Source - Android-TTSNotifier T T S Notifier Receiver






From Project

Back to project page Android-TTSNotifier.

License

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.

Java Source Code

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);
  }

}




Java Source Code List

vub.lhoste.ttsnotifier.TTSDispatcher.java
vub.lhoste.ttsnotifier.TTSNotifierLanguageDE.java
vub.lhoste.ttsnotifier.TTSNotifierLanguageEN.java
vub.lhoste.ttsnotifier.TTSNotifierLanguageFR.java
vub.lhoste.ttsnotifier.TTSNotifierLanguageNL.java
vub.lhoste.ttsnotifier.TTSNotifierLanguage.java
vub.lhoste.ttsnotifier.TTSNotifierPreferences.java
vub.lhoste.ttsnotifier.TTSNotifierReceiver.java
vub.lhoste.ttsnotifier.TTSNotifierService.java
vub.lhoste.ttsnotifier.TTSNotifierStartServiceActivity.java