B4A Library Preferences - Material Design Preferences - corwin42    Jul 21, 2024   (24 reactions) Create your Preference elements in PreferenceView_Ready() event.
See the example for detailed usage.
The example has minSdkVersion set to 14. This is because the MaterialDateTimePicker needs this. The Preference library itself will work with a minimal SDK version of 9.
The example projects additi B4A Tutorial PreferenceActivity tutorial - Erel    May 10, 2020   (12 reactions) File handling is done automatically. Note that when you reinstall an application (without uninstalling it) the files are kept so the settings will also be kept.
Each preference entry is stored as a key/value pair. The key is a string (case sensitive) and the value can be either a string or a boolea B4A Question PreferenceManager Library - Erel (first post)    Jun 11, 2020   (1 reaction) 1. Yes, it is called PreferenceActivity.
2. See the tutorial: https://www.b4x.-tutorial.10608/
3. Yes.
Tip: Check B4XPreferenceDialog. B4A Question Want animation of preference dialog - LucaMs (first post)    May 01, 2022   (2 reactions) Something like this:
Dim PrefDlg As PreferencesDialog
Dim Left, EndTop, Width, Height As Int
Width = 150dip
Left = (Root.Width - Width) / 2
PrefDlg.Initialize(Root, "Title", Width, Height)
Dim Data As Map = CreateMap()
Dim PDE As ResumableSub = PrefDlg.ShowDialog(Data B4A Library fsPreferences ( PreferenceMenu + PreferenceManager) - Filippo    Nov 25, 2022   (13 reactions) Hi,
I hereby make my updated library available to all.
In the example all necessary functions are included.
The file "fsPreferences.xml" and "fsPreferences.jar" must be saved under "C:\Program Files\Anywhere Software\B4a\Extern-Library" or similar.
You can make each entry dependent on another ent B4A Library AdsHelper extends FirebaseAdMob2 / Google Mobile Ads v20.0+ - Erel (first post)    Apr 18, 2021   (2 reactions) You can parse the error message. It is a json string. Or: Dim ctxt As JavaObject ctxt.InitializeContext Dim Preferences As JavaObject Dim SharedPreferences As JavaObject = Preferences.InitializeStatic("android.preference.PreferenceManager").RunMethod("getDefaultSharedPreferences", Array(ctxt)) Di Wish Scrollbar in PreferenceDialog - Cadenzo    Jul 28, 2020   (1 reaction) The Preference-Dialog is really a big help. I use it regular in new apps. And beside this wish I would have a new one:
In iOS there is a vertical scrollbar (in Android not). This is useful, because already multiple times I had UI tests, where the user did not think about scrolling.
But: raising a nu Bug? PreferenceManager (version 1.01) is not working properly on Android 11 - Erel (first post)    Jan 09, 2022 Can you reproduce it in a small project?
(generally speaking, I don't recommend using the old PreferencesManager - B4XPreferencesManager is cross platform and better) B4A Question Error using Preferences - Material Design Preferences by Corwin42 - ernschd (first post)    Feb 06, 2020 This delivers:
In the SDK manager, android:preference:preference (Google Maven) Version 1.1.0, is installed. B4A Question B4X Preference Dialog take a snapshot of a whole inside display panel - mike1967    Sep 25, 2022 Hello, Is possible to take a snapshot of a whole inside display panel of a B4X Preference Dialog ? Thanks in Advances Page: 1   2   3   4   5   6   7   Powered by ColBERT |