system-setting

How to open Home Launcher List settings screen programmatically in Android using Intent

爷,独闯天下 提交于 2019-12-21 19:19:33
问题 I am looking for a way to open a Launcher list screen in Home option in system Settings using Intent. main system Settings >> Home >> Launcher List. I need to open this Launcher list screen using Intent. If anyone could point me in the right direction I would really appreciate it. Thanks much. 回答1: To bring up the home screen settings page, call the Settings.ACTION_HOME_SETTINGS intent. However this is ONLY supported in API 21 and above. API 20 and below need to call the Settings.ACTION

How to add own setting to system settings?

帅比萌擦擦* 提交于 2019-11-27 17:03:23
问题 I have seen applications that manage to add their own checkboxes to system settings without requiring root access. For example, when a new TTS engine is installed, it adds its own items to the Voice input & output > Text-to-speech settings screen: How do they do that? If I want to add my own setting to that Text-to-speech settings screen, what hook, API and/or documentation should I be looking for? 回答1: How do they do that? By examining the TtsEngine sample app in the SDK, it would appear