The application I am developing is in large parts a background-only Service BUT requires some settings that the user must add. Is there a way to integrate applications with the common Settings application/view/activity?
Asked
Active
Viewed 877 times
1 Answers
4
Is there a way to integrate applications with the common Settings application/view/activity?
Only by modifying the firmware. Android does not support SDK applications defining or adding global preferences.
You can use the same look and feel for your own settings activity by use of PreferenceActivity
and preference XML files. But you will then still need to have that activity appear in the Launcher.

CommonsWare
- 986,068
- 189
- 2,389
- 2,491
-
Actually that isn't 100% true. TTS engines do that all the time without modifying firmware and without requiring root access. I just don't know [how](http://stackoverflow.com/q/12096555/636571) they do it. – an00b Aug 23 '12 at 16:57
-
1@an00b: "TTS engines do that all the time" -- strictly speaking, they do not. They can publish their own settings activity, that the Settings app can elect to link to. That is not possible for arbitrary apps, as per the OP. – CommonsWare Aug 23 '12 at 17:09
-
OK but how do they get the Settings app to elect to link to? What protocol/api/hook is being used to make their settings activity invokable from the System Settings? I am currently researching this and I have no clue where to begin: http://stackoverflow.com/q/12096555/636571 – an00b Aug 23 '12 at 17:13