FAQ Database Discussion Community


Path for Weblogic Home& Java home for adding Oracle server in eclipse

eclipse,oracle,weblogic,settings,java-home
I had installed oracle weblogic tool for in my eclipse luna by simple drag and drop to my workspace from eclipse-marketplace..tool appers when i am going to add a new server in eclipse but Can anyone please tell what to put in Weblogic home and javaHome here .............................Do i have...

Is it practical to load user settings/preferences from an embedded database? [closed]

java,database-design,settings
The program that I am currently developing will have user preferences and I would like to ask if it would be practical to load these settings from an embedded database? Like for example if the user wants a different color scheme, the value of that certain color will be stored...

How to dynamicaly load and save user settings in WPF multi window application?

c#,.net,wpf,visual-studio,settings
I'm trying to save user setting in a WPF application. I want to save their Window position and size. To do so, I inspire myself of this. I change a little the save code to do the following : var oBaseProp = Properties.Settings.Default.Properties["baseProp"]; Properties.Settings.Default["baseProp"] = "1"; System.Configuration.SettingsProperty property = new...

Add custom iOS Build Setting options

ios,xcode,build,settings,build-settings
I am trying to create a drop down for a custom User-Defined build setting. I have created the setting LOGGING_LEVEL but I can only enter a static value against each build configuration I want to be able to select from a list like all the pre-defined setting I am not...

Saving app settings - iOS

ios,cocoa-touch,settings,nsuserdefaults,nsdata
I have an iOS app which loads certain features depending on the settings that the user sets. Currently I am using NSUseDefaults to save and retrieve these settings and it works fine. But from what I understand anyone can view and edit them with a simple XML editor. You don't...

Android make a first time use screen

java,android,android-intent,android-activity,settings
I want to implement a screen that appears when the user uses the app for the first time, like google does. Is there a special element to use? What would be the best method to check if the user opened the app for the first time?

How to display checkbox on the left when change language of Android app to Arabic?

android,checkbox,settings,locale,arabic
In Settings of my Android app, I use many of checkboxPreferences. When the locale selected is English, text appears at the Left side and Check box at the right side. Text ------------------Checkbox When I change locale to Arabic, I want to get this format: Checkbox---------------Text But it keeps the same...

Matlab 2015 font size in Help browser

matlab,fonts,settings
I have Matlab R2015a. The font size in the Help browser is too small and there are no options to increase it. They say use ctrl and +, but as soon as you navigate, the font is back to its miniature size. Is there a way to increase the font...

DNN module uninstall how to remove settings from web.config

web-config,settings,dotnetnuke,manifest,uninstall
I have a DNN manifest file with this: <configuration> <nodes> <node path="/configuration/appSettings" action="update" key="key" collision="overwrite"> <add key="LocalCurrencyCode" value="ARS"/> </node> and for uninstall I have this: <uninstall> <configuration> <nodes> <node path="/configuration/appsettings/add[@name='LocalCurrencyCode']" action="remove" /> However, when I uninstall the module the setting is not removed from web.config. Can anyone see what I...

Android Settings : How to use SharedPreferences in a SettingsFragment?

android,sharedpreferences,settings,android-preferences
I am using my own SharedPreferences in a normal Activity with a custom layout with two checkboxes and seekbars. Now I want to make a proper SettingsActivity/SettingsFragment with these settings. Is there a way to use my custom SharedPreference instead of the PreferenceManager and the default preference file? My own...

C# - Settings.Default.Save() is very slow

c#,save,settings
I want to save some UI changes when the program closes. I've read that one of the simplest ways to do that is with settings. I figured I'd save those changes to the settings whenever the program closes, instead of saving it everytime the user changes those settings. So, I...

Start Android Wifi Settings - restricted

android,android-intent,settings,android-wifi
Is there a way to open the Android Wifi Settings and restrict access to just wifi settings? Intent intent = new Intent(WifiManager.ACTION_PICK_WIFI_NETWORK); startActivity(intent); The above will open the android settings to the wifi fragment, but the user can touch the Setting button in the upper left corner and then have...

Jira SAL using PluginSettings

plugins,settings,jira,webwork,sal
I looked for a way to store project-specific configurations for my plugin. In the first step i only want to store a simple String like "Hello". So, what i found is SAL and the PluginSettings. https://developer.atlassian.com/docs/atlassian-platform-common-components/shared-access-layer/sal-services This seems pretty easy to use but I don´t have any idea how to...

Get check status 'Location consent' (WiFi & mobile network location)

android,gps,location,settings
in Setting > Location, How can I know check status of 'WiFi & mobile network location'? Click on this, show up 'Location consent' dialog. screenshot link...

Make custom intellij theme apply to UI

intellij-idea,settings
I downloaded a custom intellij theme and imported it into my project with file > import settings then went to file > settings > Editor > colors & fonts and chose my color scheme name. This applied well to the code editor, but the UI (such as the project navigation...

In iOS - Production and staging server included in single build

ios,configuration,xcode6,settings
I have an application having two servers STAGING and PRODUCTION. I used to release two builds with changing the servers in coding part. But now my client asked to provide a single build where we can provide an option in app settings or phone settings to chnage the URL. I...

Gtk vim remove mapping of

vim,settings
I used classic vim, but recently i moved to gtk-vim on ubuntu, but emmet plugin don't working, it is because when I press <C-Y> it copies above char to cursor position, i failed to disable it. When i set unmap or iunmap <C-Y> it writes that there is no maping,...

My action bar with settings menu in the Homepage doesn't show. It only shows on the bottom if I click the settings button

android,menu,settings,updates
@Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.menu_main, menu); return true; } @Override public boolean onOptionsItemSelected(MenuItem item) { // Handle action bar item clicks here. The action bar will // automatically handle clicks on the Home/Up...

Disable custom app settings

ios,swift,settings
I have an app where I'd like to open the Settings.app so the user can enable Wi-Fi or mobile data, but when I use UIApplication.sharedApplication().openURL(NSURL(string: UIApplicationOpenSettingsURLString)!) I get redirected to my custom settings, where I have an option for Notifications and one for Use Mobile Data. Is there a way...

ST3: sublimelinter-user settings ignored

python,settings,sublimetext3,sublimelinter
I change the "mark_style" using the menu command and it is still in underline more. I have installed pep8 linting, anaconda, gitgutter etc

Can I track the use of ConfigurationManager settings

c#,.net,settings,config,appsettings
I am trying to clean up the web.config in multiple projects, but am worried that I may remove an appsetting/connectionstring that is being used somewhere. For example, I want to know if ConfigurationManager.AppSettings["MySetting"]) is used. I can of course do a global find for ConfigurationManager or Appsettings, but that doesn't...

Spring service implementation by environment property

java,spring,spring-mvc,service,settings
I have a service interface interface ImageSearchService { // methods... } And I have 2 implementations: @Service class GoogleImageSearchImpl implements ImageSearchService { // methods... } @Service class AzureImageSearchImpl implements ImageSearchService { // methods... } And I have a controller to use one of the both: @Controller ImageSearchController { @Autowired ImageSearchService...

Suitable data structure to save localized settings

ios,uitableview,swift,localization,settings
Here's the scenario. I have a set of settings in an app. For example consider my app as a video player. So there are settings like allow full screen, display subtitles etc. All these settings have boolean values since you either turn on or off them. These settings should display...

Media files end up in in a pycharm subdirectory when uploading

django,upload,directory,settings,media
I am building a Django application on a Windows system where the user should be able to upload images. But somehow my uploades files end up in my Program Files directory at: C:\Program Files (x86)\JetBrains\PyCharm Community Edition 4.5.1\jre\jre\bin\WebApp\media\TestData\static\images I just can't understand why I get this result. I would like...

Creating game with different game modes and settings, how to handle all the different settings?

java,android,settings
I am creating a game in which you can either play against computers or humans with multiple (advanced) settings for each, the variety of possible games get large quickly when adding new settings. I want to write clean code and I face the problem that I need to write a...

Save dictionary in application settings and load it on start

c#,wpf,dictionary,settings,converter
I've got Dictionary<string, double> which I would like to save and restore it when I restart the application. From what I have heard you cannot store dictionary in c#, so trying to make a workaround. Currently I have made string variable in setting called DB, and trying to use something...

What is possible value for editor.insertSpaces other than auto

settings,vscode
I want to disable editor.insertSpaces I want to keep tabs in vscode but I can't do it. There are no suggestion value for it except auto. How can I do...

View values as hexidecimal by default while debugging in Android Studio

android-studio,settings,default
My question is similar to "Android Studio" debugging - display variables as hexadecimal, but I want to know how to make this the default setting. I know how to change the setting for individual values: but for checking the values of all the characters in long strings, this becomes tedious....

cordova IOS permanent storage if app is deleted

ios,cordova,local-storage,settings
we're developing a cordova based ios app which is being limited to a select number of login credentials (id pins). Im looking to create an internal lookup to do this. Basically if the user enters the correct pin id (that is saved inside app json file) then they gain access....

Reading settings from applicationSettings is very slow?

c#,performance,settings,application-settings
I have a C# WinForms application that stores 4 settings in my App.config file (specifically in the applicationSettings section). These settings were created via the Project -> Properties -> Settings UI in Visual Studio. My App.config file looks like this: <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System,...

Meteor: How to pass a value to a Meteor.settings variable from terminal?

meteor,configuration,terminal,settings,env
Here is a code I have in my serveur directory in a file called main.js: if (Meteor.isServer) { Meteor.startup(function() { return Meteor.Mandrill.config({ username: Meteor.settings.username_mail, key: Meteor.settings.key_mail }); }); } I am using Mandrill to send e-mail and I would like to know how can I set the following username: Meteor.settings.username_mail,...

How to enforce action bar settings icon at old android APIs

java,android,android-actionbar,settings
The new android smartphones have no menu settings button. Instead, the settings icon is in the ActionBar. If I run my app on an old smartphone, there is no settings icon in the actionbar. You have to click at the menu settings button of the smartphone. How can I enforce...

Django settings

python,django,python-2.7,settings
In my project (based on Django) I need a custom option in order to switch on/off some functionality in my view. if (FLAG): ..... else: ..... As I know, if I set this variable in settings.py I wouldn't have imported it from settings.py, because settings.py is not a module and...

saving tab page to settings vb

vb.net,tabs,settings
I'm trying to save the active tab page on closing the app/form and on next startup, have that tab show again, rather than the first one. Tried using settings, with (simplified) approach below: Public Sub Form1_Load(sender As Object, e As System.EventArgs) Handles Me.Load Me.TabControl1.SelectedTab = My.Settings._frmTab end sub ' Stuff...

Scrapy - Activating an Item Pipeline component - ITEM_PIPELINES setting

python,scrapy,settings,pipeline
In scrapy documentation there is this information: Activating an Item Pipeline component To activate an Item Pipeline component you must add its class to the ITEM_PIPELINES setting, like in the following example: ITEM_PIPELINES = { 'myproject.pipelines.PricePipeline': 300, 'myproject.pipelines.JsonWriterPipeline': 800, } The integer values you assign to classes in this setting...

Controlling Auto Rotation with toggle?

android,orientation,settings
I want to create a toggle button through which I can enable/disable auto rotation. I've tried this: public void arclick(View view) { if (arclick.isChecked()) android.provider.Settings.System.putInt(getContentResolver(), android.provider.Settings.System.USER_ROTATION, 90); else android.provider.Settings.System.putInt(getContentResolver(), android.provider.Settings.System.USER_ROTATION, 0); } But it's not working actually. Any ideas? Thanks in advance!!! P.S: The selected orientation should be applied to...

How can i add an account to Windows Phone?

silverlight,windows-phone-8,settings,account
I'm new in developing applications for Windows Phone 8. Can I add custom account from my application (to Settings => email+accounts)? Thank you.

Percent sign in bash is not typeable

linux,bash,settings,ubuntu-12.04
I have a strange problem: I cannot type or copy the percent sign in my bash... I tried to read ~/.bashrc, /etc/profile (and stuff in /etc/profile.d). I also tried "sudo bash", but still not possible to type "%". Percent sign in "sh" works... Any suggestions? uname -a Linux 3.2.0-65-generic #99-Ubuntu...

Enabling Yosemite's Dark mode through Terminal or Applescript OSX 10.1

osx,shell,applescript,settings,osx-yosemite
Is there any way to turn on Yosemite's Dark Mode through Shell Script (Terminal) or Applescript? I have tried: sudo defaults write /Library/Preferences/.GlobalPreferences AppleInterfaceTheme Dark but it does not work. Please help!...

Retrieving data from settings page in live wallpaper

android,settings,live-wallpaper
Consider following code be the settings page of a live wallpaper in android: <?xml version="1.0" encoding="utf-8"?> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" android:title="@string/livewallpaper_settings" android:key="livewallpaper_settings"> <ListPreference android:key="livewallpaper_testpattern" android:title="@string/livewallpaper_settings_title" android:summary="@string/livewallpaper_settings_summary" android:entries="@array/livewallpaper_testpattern_names"...

How to Undo an “Import Settings” in IntelliJ

intellij-idea,settings,undo
How do I revert or undo the changes made after using the "Import Settings" option in IntelliJ IDEA?

how to have existing data in coredata ENTITY before the app launches

ios,core-data,settings,default-database
In my iOS app - I have something called settings where I set the priority for X , Y ,Z ; eg: X = 30, Y = 60 , Z = 80. which have some default value (X=50,Y=50 and Z =50) for the first time and untill user changes it...

QtCreator - start external tool in an interactive bash

linux,bash,terminal,settings,qt-creator
A while ago I discovered that you can make QtCreator call external tools directly from within the IDE and pass various arguments to those via the Tool->External. I find this pretty convenient however I'm currently struggling with the issue of starting a terminal-based application in an interactive bash. I am...

Expanding Link Abbreviatons, Dreamweaver Setting

html,settings,dreamweaver
I think this is a pretty basic question, but I just haven't been able to find a solution for this through google. In Dreamweaver, in the code view, Dreamweaver will oftentimes abbreviate links and src's in order to make the experience more aesthetic and the code more easily browseable. However,...

jQuery settings for form validation

javascript,jquery,validation,settings
I'm building a basic jQuery form validator. The code below is just to validate the name. I have several functions to validate mail, password, credit card, date etc. I want the user to be able to easily edit the error messages and classes. Let's say the user want to change...