B4A Tutorial [java] Creating libraries for B4A - Erel    Sep 29, 2016   (8 reactions)   tags: Java library, Library, Creation /java-creating-libraries-for-basic4android.6810/
See this thread for the default license: http...-video-tutorial-creating-simple-library.html
Basic4android has a very good support for external... B4A Tutorial [java] Video tutorial - Creating a simple library - Erel    Nov 6, 2011   (7 reactions) required for building a library with Eclipse: Basic4android Tutorial - Creating a library - YouTube...-developers-questions/6810-creating-libraries-basic4android.html
One step is missing from the video... B4A Tutorial Accessing third party Jar with #Additionaljar and JavaObject - Picasso - Erel    Jan 19, 2026   (26 reactions)   tags: Lib, use jar in b4a, JAR the interface. This is done with JavaObject.CreateEvent (or CreateEventFromUI). In this case we... image with callback Dim jo As JavaObject = GetPicasso Dim callback As Object = jo.CreateEvent...) End Sub JavaObject is an internal library. v2.07 is available here: https://www.b4x.com/android.... With the help of JavaObject it is now possible to integrate third party jars without a wrapper. This solution is good for "simple" libraries. If the API is complicated with many interfaces... B4A Tutorial [java] Libraries and multithreading - Erel    Nov 20, 2011   (3 reactions)   tags: Library, threading In order to keep Basic4android simple for developers, Basic4android code runs under the main UI thread. Internally Basic4android has good support for multithreading. Libraries developers.... This is indeed the case with Http library and AsyncStreams (and others as well). Internal thread pool An internal thread pool is available for handling background tasks. The pool is created on demand.... As the user (B4A developer) expects his code to run on the main thread, the library developer should... B4A Tutorial Handle the soft keyboard with the IME library - Erel    Jul 6, 2025   (30 reactions)   tags: IME Android has very good support for custom input method editors (IMEs). The downside for this powerful feature is that interacting with the soft keyboard can be sometimes quite complicated. This library includes several utilities that will help you better handle the soft keyboard. The attached example demonstrates the available methods. 156404 Note that the IME object should be initialized before it can be used. Handling the screen size changed event When the keyboard opens the available... B4A Tutorial [java] Custom View with Designer Support (Java library) - Erel    May 7, 2013   (3 reactions) Please start with this tutorial: Custom View with Designer Support Implementing custom views in a Java library is similar to custom views created in B4A. The class must implement... activityClass, String EventName) void DesignerCreateView(PanelWrapper base, LabelWrapper lw... the @Hide annotation. The second method cannot be hidden. For example, the following code creates... = ba; } //this method cannot be hidden. public void DesignerCreateView(PanelWrapper base... B4A Tutorial Android database encryption with SQLCipher library - Erel    Jul 20, 2025   (24 reactions) Edit: this library isn't compatible with the 16KB page size requirement. Don't use it. SQLCipher is an open source project that extends SQLite and adds full database encryption. License...-release/ Includes 64 bit binaries and emulator binaries. Requires B4A v8+. Library is attached. Not compatible by default with databases created with older versions. See this link: https://www.zetetic.net....4.aar You should download and copy it to the additional libraries folder.... B4A Tutorial Inline Java Code - Erel    Feb 24, 2022   (171 reactions)   tags: Code, Java, inline java code setContentView): #If JAVA public void _onCreate() { requestWindowFeature(Window...The next versions of B4A (4.30) and B4J (2.80) will allow you to embed Java code inside your... to access third party SDKs and also to allow developers to add existing Java code snippets to their projects. Adding Java code is done with an #If Java block: #If JAVA public String FirstMethod() { return "Hello World!"; } #End If You need an instance of JavaObject to access... B4A Tutorial [java] Loading files from a library - Erel    Mar 11, 2014   (2 reactions) The correct way to load files from a library is with anywheresoftware.b4a.objects.streams.File.OpenInput. anywheresoftware.b4a.objects.streams.File.OpenInput deals correctly with standard files, assets files and virtual assets file (new to v3.50). Starting from v3.50 the rapid debugger uses a virtual assets folder. This allows the debugger to only redeploy updated files. This means that if you try to directly load a file from the assets file then it will fail. Calling File.OpenInput... B4A Tutorial [java] Guide - Using onActivityResult - Erel    Jan 12, 2011 Starting with B4A V1.1 libraries can use startActivityForResult and receive the onActivityResult event. There is a new interface named: IOnActivityResult. public interface IOnActivityResult { void ResultArrived(int resultCode, Intent intent); } You should implement this interface and pass...) { list.setObject((java.util.ArrayList)t....startActivityForResult(ion, i); } ion is an instance variable. When the user calls Listen we create a new... Page: 1   2   3   |