Android Open Source - MyVoice About Activity






From Project

Back to project page MyVoice.

License

The source code is released under:

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE Version 2, December 2004 Copyright (C) 2004 Sam Hocevar <sam@hocevar.net> Everyone is permitted to copy and distribute verbatim or modified copies of this...

If you think the Android project MyVoice 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 org.c0ders.myvoice;
/*from w ww  .j a  v a2 s.co  m*/
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;

/**
 * @author Manuel Wildauer <m.wildauer@gmail.com>
 */
public class AboutActivity extends Activity {

  /** Called when the activity is first created. */
  @Override
  public void onCreate(Bundle icicle) {
    super.onCreate(icicle);
    setContentView(R.layout.about);
  }
  
  /**
   * call intents
   * 
   * @param View view
   */
  public void callIntent(View view){
    Intent intent = null;
    
    if(R.id.callgithub == view.getId()){
      intent = new Intent(Intent.ACTION_VIEW, Uri.parse(this.getString(R.string.github)));
    } else if(R.id.gowitter == view.getId()){
      intent = new Intent(Intent.ACTION_VIEW, Uri.parse(this.getString(R.string.twitter)));
    } else if(R.id.iconset == view.getId()){
      intent = new Intent(Intent.ACTION_VIEW, Uri.parse(this.getString(R.string.faenza)));
    }
    
    startActivity(intent);
  }
}




Java Source Code List

org.c0ders.myvoice.AboutActivity.java
org.c0ders.myvoice.LicenseActivity.java
org.c0ders.myvoice.MyVoiceActivity.java
org.c0ders.myvoice.SettingsActivity.java
org.c0ders.myvoice.models.TextToSpeechModel.java
org.c0ders.myvoice.models.Utils.java