PageRenderTime 17ms CodeModel.GetById 11ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/eSpeakEngine/src/com/google/marvin/espeak/eSpeak.java

http://eyes-free.googlecode.com/
Java | 22 lines | 17 code | 5 blank | 0 comment | 0 complexity | 51ca575a4e1fc84409fb756120507b35 MD5 | raw file
 1package com.google.marvin.espeak;
 2
 3import android.app.Activity;
 4import android.content.Intent;
 5import android.os.Bundle;
 6
 7public class eSpeak extends Activity {
 8	private static final String ENGINE_NAME = "eSpeak";
 9	private static final String SO_FILE = "/data/data/com.google.marvin.espeak/lib/libespeakengine.so";
10
11
12	@Override
13	public void onCreate(Bundle savedInstanceState) {
14		super.onCreate(savedInstanceState);
15		Intent data = new Intent();
16		data.putExtra("nativelib", SO_FILE);
17		data.putExtra("name", ENGINE_NAME);
18		setResult(Activity.RESULT_OK, data);
19		finish();
20	}
21
22}