How to Convert the following (https://stackoverflow.com/questions...ce=google_rich_qa&utm_campaign=google_rich_qa) code to B4A?
I tried:
But it opens Gallery on my Galaxy S8.
B4X:
intent = new Intent();
intent.setAction("com.android.settings.TTS_SETTINGS");
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
this.startActivity(intent);
I tried:
B4X:
Dim i As Intent
i.Initialize("", "")
i.SetComponent("com.google.android.tts/com.google.android.tts.settings")
i.Flags = 268435456 'FLAG_ACTIVITY_NEW_TASK
StartActivity(i)
But it opens Gallery on my Galaxy S8.