-
-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Long-press action for Tabs #119
Comments
These are package names + Activity components, while we could probably launch these, this is just an implementation details of a specific ROM. It will not work on every ROM. To work on all ROMs, we need to use https://developer.android.com/reference/android/provider/Settings#ACTION_ACCESSIBILITY_SETTINGS If something is not possible with intent actions, and we really want to still launch that activity, then we need to build a ROM database to account for the differences. |
Okay. I don't know the details. I use Shortcut Maker app to quickly launch a few System Settings, and I picked up these details from this app These shortcuts work on both my Samsung phone and OnePlus phone (both are on Android 12). |
Couldn't find an official way to do this. Do we just try these and throw an error otherwise? |
Why not let the user choose what he wants to launch with a long-press? You can allow for long-press configuration under app settings. The setting for each tab will launch full list of 'Activities' or 'Intents' that the ROM supports. User can choose whatever best suits his requirement. |
Not directly supported by BottomNavigationView. |
Can you implement long-press action for the 3 tabs at the bottom?
Overview Tab will launch System Settings Homepage:
com.android.settings.Settings OR
com.android.settings.homepage.SettingsHomepageActivity
Apps Tab will launch App Dashboard*:
com.android.settings.Settings$AppDashboardActivity
Permissions Tab will launch the Permissions Manager page directly, OR Privacy Dashboard:
com.android.settings.Settings$PrivacyDashboardActivity
*the reason I chose App Dashboard and NOT this one:
com.android.settings.Settings$ManageApplicationsActivity
is because I haven't found a direct shortcut to the Special Access page. App Dashboard gives quick access to both Applications as well as Special Access.
The text was updated successfully, but these errors were encountered: