B4A Tutorial PreferenceActivity tutorial - Erel    May 10, 2020   (12 reactions)   tags: Project S, Setup This tutorial explains how to use the new PreferenceActivity library. This library allows you to....php?p=78136
For PreferenceActivity you should add the following code to the manifest editor... B4A Library PreferenceActivity library - Erel    Aug 3, 2011   (1 reaction) PreferenceActivity v1.01 is available. See the tutorial for more information: http://www.b4x.com/forum/basic4android-getting-started-tutorials/10608-preferenceactivity-tutorial.html http://www.b4x.com/basic4android/images/preference_1.png Installation instructions: - Unzip the attached file. - Copy both files to the internal libraries folder: C:\Program Files\Anywhere Software\Basic4android\Libraries V1.01 released - fixes a bug with GetUpdatedKeys method... B4A Question PreferenceActivity tutorial - Resetting Preferences - Erel (first post)    Apr 18, 2013 the preferences to the default value.... B4A Tutorial android.jar / targetSdkVersion / minSdkVersion - Erel    Oct 18, 2023   (91 reactions)   tags: runtime permission, sdk version, Targetsdk, SDK, B4A of our apps. The purpose of this tutorial is to explain the differences between them and help... the COARSE location was enough. - 29 - new "dangerous" (runtime) ACTIVITY_RECOGNITION permission required for the activity recognition service. - 30 - The requestLegacyExternalStorage attribute... to the targetSdkVersion value: StartActivity from a service will not work if there is no visible activity. As a workaround you can request the special "draw over apps" permission: https... B4A Question preferenceactivity error - Erel (first post)    Aug 31, 2023 I've just tested the old example: https://www.b4x.com/android/forum/threads/preferenceactivity-tutorial.10608/ Changed the targetSdkVersion to 33 and it works. Does it work for you? I do recommend to switch to B4XPreferencesDialog.... B4A Tutorial [B4X] B4XPages - Cross platform and simple framework for managing multiple pages - Erel    Jul 12, 2023   (78 reactions) 440642051 B4XPages is a library that serves two purposes: 1. Make it simple to develop B4A apps by solving almost all of the challenges involved with Android complex activities life cycle. B4XPages makes B4A behave more similar to B4J and B4i where the new "B4XPage" element is a regular... limitations. One notable limitation is that in B4A, the activity that holds all the pages should...: B4J - Form B4i - Page in a single NavBarController B4A - Panel in a single activity. Lets start: 1... B4A Tutorial Background location tracking - Erel    Jul 16, 2023   (50 reactions)   tags: Longrunningaoo, background clock alive, B4A Background location, gps, B4A https://www.b4x.com/basic4android/images/SS-2018-11-29_15.48.38.png Simple example of a foreground service that keeps the process running in the background. The current location is shown in the persistent notification. The app starts at boot and theoretically should run all the time. It also schedules itself to run with StartServiceAt. This can help in cases where the OS kills the process. Rele... B4A Code Snippet SaveAs - Let the user select a target folder + list of other related methods - Erel    Sep 10, 2023   (43 reactions) ) StartActivityForResult(intent) Wait For ion_Event (MethodName As String, Args() As Object... Return True End If Return False End Sub Sub StartActivityForResult(i As Intent) Dim jo As JavaObject = GetBA ion = jo.CreateEvent("anywheresoftware.b4a.IOnActivityResult", "ion", Null) jo.RunMethod("startActivityForResult", Array(ion... B4A Tutorial Runtime Permissions (Android 6.0+ Permissions) - Erel    Mar 16, 2022   (33 reactions)   tags: RuntimePermission, runtime permissions, B4A Runtime Permissions, Runtime, SDK, B4A The CheckAndRequest method can only be called from an Activity. There is another method named Check that only tests... an Activity. It will be simpler to always call CheckAndRequest. Listing the permissions Not many... B4A Example AppCompat with ToolBar - minimal example - Erel    Jun 23, 2023   (23 reactions)   tags: ToolBar, Android, drawer badge notification, AppCompat is to add this line in the main activity: #AdditionalJar: androidx.arch.core:core-runtime ... Page: 1   2   |