Just wondering if it's possible to add a button like the "Clear History", "Clear Cookies" etc buttons in the Safari preferences to your own app's settings bundle? Been digging through the dev docs and can't find any plist specifier for a button, so I'm wondering if this is an internal API for the Apple guys?
After you hit the button, y...
Hi.
I have one main activity and one preferenceActivity. On my first activity I call menu and go on preferenceActivity by calling startActivityForResult.
case R.id.settings:
startActivityForResult(new Intent(this, SettingsActivity.class), LAUNCH_SETTINGS);
return true;
Then I change my ...
When you establish a shared preference such as below...
public static final String PREFS_HI = "MyPrefsFile";
Can you access it from other activities just like you would normally do?
SharedPreferences settings = getSharedPreferences(PREFS_HI, 0);
Or is there something unique that you must do to access the preferences?
...
I have a ListPreference which look something like this:
<ListPreference
android:title="Choose item"
android:summary="..."
android:key="itemList"
android:defaultValue="item1"
android:entries="@array/items"
android:entryValues="@array/itemValues" />
Then, I have another preference which should only be enabled if "item3" is selected in t...
I'm trying to create a preference page programmatically, I need to work with preference pages without define preferencePage extension point in plugin.xml
I'm very close to solution, I'm able to load page and save the value the first time application loads,
the core of my code is
PreferenceManager pmngr= PlatformUI.getWorkbench().getPr...
Hey Everyone,
I am writing a script to grab some Firefox settings, however it looks like some preferences are not within Firefox's various .js files.
The preferences I am referring to are the preferences in about:config (such as network.http.max-connections). The .js file I am mainly referring to is prefs.js.
So my question is: Are a...