This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <application ... > | |
| <activity android:name=".MainSearchableActivity" > | |
| <intent-filter> | |
| <action android:name="android.intent.action.SEARCH" /> | |
| </intent-filter> | |
| <meta-data android:name="android.app.searchable" | |
| android:resource="@xml/searchable"/> | |
| </activity> | |
| ... | |
| </application> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class TTSTestActivity extends Activity implements OnInitListener { | |
| private static final int MY_DATA_CHECK_CODE = 0; | |
| private TextToSpeech mTts; | |
| @Override | |
| protected void onCreate(Bundle savedInstanceState) { | |
| setContentView(R.layout.tts_layout); | |
| // check whether TTS resources are available on the device | |
| Intent checkIntent = new Intent(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* .... */ | |
| @Override | |
| public void onCreate(Bundle savedInstanceState) { | |
| super.onCreate(savedInstanceState); | |
| setContentView(R.layout.main); | |
| // MRTIPS "Incantation" Section ---------------------------- | |
| //create a string array with the tips' ids from values/mrtips_arrays.xml |
NewerOlder