Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android 10 perform intent to settings live captioning

I would like to make a Intent to send the user to the settings screen which it has the switch to enable the Live Captioning introduced by Android 10, is there any way to to this intent?

The manual way is as described in this post

I've tried this intent:

startActivity(Intent(ACTION_CAPTIONING_SETTINGS));

But it redirects to general captions activation

like image 872
Billyjoker Avatar asked Jan 19 '26 15:01

Billyjoker


1 Answers

The only intent i found was working is

startActivity(Intent("com.android.settings.action.live_caption"))

(category DEFAULT if you want to pass that as well)

I found this by finding the top activity when I had it open on my phone with adb and then inspecting the settings application to find intents matching the activity name.

Be aware, this is not an offical way to open this dialog. It may be subject to change and is very likely to differ between devices.

I could not find an Intent which is more general, so I'm assuming there's no offical way to open the activity.

like image 163
JensV Avatar answered Jan 22 '26 23:01

JensV



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!