Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding App Specific Entry into the Android Settings Menu

Tags:

android

As I know, we can add our app specific menu entries in iPhone's Settings menu. I want to know how same can be done in Android? I am developing for Android 1.6 using Eclipse Galileo. Please guide me.

like image 861
Mudassir Avatar asked Dec 28 '10 03:12

Mudassir


2 Answers

Probably the closest thing to what you seek is the Account Authenticator feature. For more information see this question and look for the android:accountPreferences attribute. This allows your preference Activity to show up in the Accounts area of Settings.

Apart from that, while it's difficult to prove a negative, I've analyzed the Settings source code for Jelly Bean and I'm pretty certain this is impossible. To see for yourself, examine the onBuildHeaders() method in the Settings.java file. The headers array is maintained internally to the Settings Activity and the only flexibility seems to be the Account mechanism mentioned above.

like image 97
Jo Jo Avatar answered Nov 11 '22 08:11

Jo Jo


Read the details information from here .

Nice one example here.

like image 40
Sandy Avatar answered Nov 11 '22 08:11

Sandy