9

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.

Mudassir
  • 13,031
  • 8
  • 59
  • 87

4 Answers4

3

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.

Community
  • 1
  • 1
Jo Jo
  • 7,245
  • 5
  • 34
  • 49
1

Read the details information from here .

Nice one example here.

Sandy
  • 6,285
  • 15
  • 65
  • 93
  • Its shows how to use or share menus in or between apps. I want my app settings to be accessible from Android's built in Settings menu. – Mudassir Dec 28 '10 at 04:29
1

Use android:settingsActivity in your Manifest. It works for Livewallpaper or Input Method. You can't use it for everything or for your particular App.

Ellis
  • 1,521
  • 1
  • 14
  • 16
1

You will find this good for you.Check this

this will let you know many options to customize your App

Have a Look @ this linkPreferenceActivity .

Community
  • 1
  • 1
mH16
  • 2,356
  • 4
  • 25
  • 35
  • Though it doesn't answers my query, but its nice reference. Thanks. :) – Mudassir Nov 25 '11 at 12:18
  • 1
    welcome.Your post seems to be very interesting. So can you provide some details on your implementation setting – mH16 Nov 26 '11 at 03:30
  • Have you checked PreferenceActivity . Have a look @ this link http://stackoverflow.com/questions/2027771/using-a-listview-to-create-a-settings-screen-in-android – mH16 Nov 26 '11 at 03:36