Skip to content Skip to sidebar Skip to footer

How To Add An Application Settings In Android System Settings?

In my application i have a requirement that i want to provide one edit text in the system settings menu to enter URL and my application hit the server based on the user given URL

Solution 1:

You can add the intent-filter blew at your activity in manifest.xml, add it will make a link at system setting -> appinfo -> your app detail | addtional settings. and click it will jump to yout activity.

this is very deep path, but it work.

<intent-filter><actionandroid:name="android.intent.action.APPLICATION_PREFERENCES" /><categoryandroid:name="android.intent.category.DEFAULT" /></intent-filter>

Another way: check and read a file like "debug.properties" from sdcard, then read the url properties.

Post a Comment for "How To Add An Application Settings In Android System Settings?"