Open ulsoftnaver opened 1 year ago
import android.content.ComponentName; .. .. else if(action.equals("tts")) { if (android.os.Build.VERSION.SDK_INT >= 14) { intent = new Intent(); intent.setAction("com.android.settings.TTS_SETTINGS"); } else { intent = new Intent(); intent.addCategory(Intent.CATEGORY_LAUNCHER); intent.setComponent(new ComponentName("com.android.settings", "com.android.settings.TextToSpeechSettings")); } }
,,,,,,,,,,,,,,,,,,,,, TTS = "tts",
use->
NativeSettings.openAndroid({ option: AndroidSettings.TTS, });
import android.content.ComponentName; .. .. else if(action.equals("tts")) { if (android.os.Build.VERSION.SDK_INT >= 14) { intent = new Intent(); intent.setAction("com.android.settings.TTS_SETTINGS"); } else { intent = new Intent(); intent.addCategory(Intent.CATEGORY_LAUNCHER); intent.setComponent(new ComponentName("com.android.settings", "com.android.settings.TextToSpeechSettings")); } }
,,,,,,,,,,,,,,,,,,,,, TTS = "tts",
use->