Questions tagged [preferences]

The java.util.prefs package provides a way for applications to store and retrieve user and system preference and configuration data.

1531 questions
0
votes
2 answers

Eclipse preference page with multiple arrays

I tried to search the internet for examples for doing that, but can not find a good one. Also I checking eclipse IDE source code, but it's a bit too big to filter out what I need for an example. What I would need is something similar to Eclipse File…
danizmax
  • 2,446
  • 2
  • 32
  • 41
0
votes
0 answers

Preferences from for MEF plugin

I make my application with VS2010 and .NET 4 with MEF for plugin framework. I see few examples in Google, for example this, it's good. I want to call preferences form from each plugin when user select plugin from list. My plugins may return…
Superjet100
  • 129
  • 1
  • 11
0
votes
2 answers

SharedPreferences default values

I have a settings.xml file that contains Preferences for my app. All the values by default are set to "true" and its used by PreferenceActivity in my app. In my main activity I read the values through SharedPreferences…
user1927829
  • 302
  • 3
  • 9
0
votes
1 answer

How to add "Open in Explorer" functionality in Eclipse? (Without using a plugin)

The questions how to open a selected file in a file explorer has been asked and answered thouroughly but nobody ever explained how to do it without downloading a plugin. At least as far as I know. So the question I had was: How can I add "Open in…
Lucas Hoepner
  • 1,437
  • 1
  • 16
  • 21
0
votes
0 answers

how to finish the inbuilt WiFi setting screen when it goes pause state

In my app i am calling inbuilt WiFi setting form Preference.xml file. I am using this code to call the in built WiFi setting
Jagan
  • 692
  • 1
  • 12
  • 38
0
votes
1 answer

Eclipse custom C/C++ code style profile for multiuser environment

My developers are using Eclipse Helios with CDT 7. I am writing the Eclipse plug-in for this environment. I have created the custom C/C++ code style profile with my new settings named "My Profile". The "My Profile" profile is created and it is in…
0
votes
2 answers

Access preferences from asynctask

i am trying to access saved preferences from within an asynctask but i always keep getting the error "preferences can not be resolved". Any ideas? Here is a part of the code: public class Login extends SherlockActivity { SharedPreferences…
robs
  • 649
  • 4
  • 13
  • 28
0
votes
1 answer

Android Preferences in second Activity

I have added some button to main activity. When using a button you will open an activity. In main activity Intent myIntent = new Intent(v.getContext(), SettingsActivity.class); startActivityForResult(myIntent, 0); In that new activity i want to…
G3oRge
  • 19
  • 2
0
votes
1 answer

Delete plugin preferences between different sessions of application

I have my own custom plugin which extends org.eclipse.ui.plugin.AbstractUIPlugin class. Some preferences for this plugin are changed while application working. But after when I close workbench, they are immediately flushed into hardrive. This is…
szolo
  • 247
  • 1
  • 4
  • 15
0
votes
1 answer

android view pager fragments update from sharedpreferences

I successfully converted my app from activities to a tabbed/fragmented app with 2 tabs/fragments and swiping between them :) Right now I have 2 tabs: 1 - The main tab - shows textfields and stuff according to settings stored in shared preferences. 2…
samz
  • 1,592
  • 3
  • 21
  • 37
0
votes
3 answers

How to call Activity from PreferenceActivity?

I need to launch new Activity from PreferenceActivity on button click or somehow else. Is it possible? How to make it?
BArtWell
  • 4,176
  • 10
  • 63
  • 106
0
votes
1 answer

Can I use Apache Mahout Taste for User Preferences matching?

I am trying to match objects based on predefined user preferences. A simple example would be finding best matching vechicle. Lets say a user 'Tom' is offered a rented vehicle for travel based on his predefined preferences. In this case, the…
Gopi
  • 10,073
  • 4
  • 31
  • 45
0
votes
2 answers

Theme.NoTitleBar.Fullscreen and preferences button

I am working on an app for tablet that uses the Theme.NoTitleBar.Fullscreen: my tablet is under android 4.1.1 and the settings button should be on the top right corner of the app, but with such a style, the button (three little squares aligned…
0
votes
1 answer

use preference edittext except filename

I have application that searchs External storage for the file i want..Example for song named sound1.mp3 String path = getFullFilePath(getApplicationContext(), "sound1.mp3); .I use loaded sound for soundpool. I want to get text from Preference…
Tom Jackson
  • 230
  • 3
  • 17
0
votes
1 answer

Text overlapping in Eclipse preferences?

I was investigating Eclipse's Preferences windows, and I came upon the Formatter options. I decided to have a look, and eventually to create my own format options. Upon clicking the "New" button and selecting a base to work from, It came up with…
mattbdean
  • 2,532
  • 5
  • 26
  • 58