Skip to content

How to open non-exported activity

Depends on device

May not work on different devices. Please check on your device by yourself

Depends on app and activity

Non-exported activities often can't be opened outside the app, because it require extras or additional data for work.

Keycode

To get it working, you need a configured way to emulate a button. It can be enabled Leankey Keyboard (chosen as default IME) or enabled "Use ADB for emulating buttons

To open non-exported activity you need to create intent in the tvQuickActions app.

Go to the "Custom actions" -> "Intents" -> "Add"

Then enter any name, choose any icon, other fields without changes

Go down and find "Package" and "Class" fields. You can enter these fields manually or you can tap on "Choose activity" to find the activity that you need.

Extras

You can't pass any additional data or extras to non-exported activities

Then enable "Non-exported activity" at the bottom of the screen

That's all. Save it and just map this intent to the button or menu.