B4A Code Snippet Draw on top of other apps permission - Erel    Sep 5, 2023   (16 reactions) As JavaObject settings.InitializeStatic("android.provider.Settings") Dim ctxt As JavaObject ctxt.InitializeContext If settings.RunMethod("canDrawOverlays"... As JavaObject = GetBA ion = jo.CreateEvent("anywheresoftware.b4a.IOnActivityResult"... Sub Private Sub GetBA As Object Dim jo As JavaObject = Me Return jo.RunMethod("getBA"...: AddPermission(android.permission.SYSTEM_ALERT_WINDOW) Depends on: JavaObject and Phone libraries.... B4A Tutorial [java] Creating libraries for B4A - Erel    Sep 29, 2016   (8 reactions)   tags: Java library, Library, Creation required as the libraries are regular Java libraries. Knowledge required: - Java - Android main.... Creating a new project: 1. Create a new Java project (not Android project). 2. Add a reference to.... Activity objects cannot be declared in Sub Process_Globals (as this would cause a memory leak... inside the java classes. You should use regular javadoc style comments to document methods, fields and..." to generate the XML file. Choose Project - Generate JavaDoc. http://www.b4x.com... B4A Question B4A 6.80 UNEXPECTED TOP-LEVEL EXCEPTION - Marko Druskovic    Mar 1, 2017 . (0.54s) Compiling generated Java code. (2.13s) Convert byte code - optimized dex. Error UNEXPECTED TOP-LEVEL EXCEPTION: java.lang.IllegalArgumentException: already added: Lokio/AsyncTimeout$1; at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:122) at com.android.dx.dex.file.DexFile.add(DexFile.java:161) at com.android.dx.command.dexer.Main.processClass(Main...:179) at com.android.dx.command.Main.main(Main.java:103) 1 error; aborting... Bug? iTopNotification cutted out [Library] - Mike1970    Dec 6, 2019 Hi, I tried out the iTopNotification Library. The problem is that for the iPhones with the notch, the notification is showing cutted out: 86135... B4A Tutorial Inline Java Code - Erel    Feb 24, 2022   (168 reactions)   tags: Code, Java, inline java code and add them at the top of the class. The Java code will be added at the end of the class. Right...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 Question Error - UNEXPECTED TOP-LEVEL EXCEPTION: - Watchkido1    Jun 11, 2015 code. (0.00s) Generating R file. (0.54s) Compiling generated Java code. (4.21s) Convert byte code - optimized dex. Error UNEXPECTED TOP-LEVEL EXCEPTION: java.lang.NullPointerException at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:217) at com....command.Main.main(Main.java:106) UNEXPECTED TOP-LEVEL EXCEPTION: java.lang.NullPointerException....dx.command.Main.main(Main.java:106) 2 errors; aborting... B4A Question [solved] java.lang.OutOfMemoryError: Java heap space - angel_    Mar 17, 2019 After an update I get this error
UNEXPECTED TOP-LEVEL ERROR:
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOfRange(Arrays.java:3664)
at java.lang.String.<init>... B4A Question java.lang.Exception: java.lang.OutOfMemoryError - AHilberink (first post)    Apr 5, 2023 ,btnMessages.Height-3dip,btnMessages.Height-3dip,True)).Gravity=Gravity.CENTER_HORIZONTAL+Gravity.TOP....Height-3dip,btnMessages.Height-3dip,True)).Gravity=Gravity.CENTER_HORIZONTAL+Gravity.TOP... B4A Question Compile ERROR java.lang.Il Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified - elitevenkat    Sep 1, 2022 ** neworders_service_start (java line: 214) java.lang.IllegalArgumentException: dynoapis.com...) at dynoapis.com.neworders._service_start(neworders.java:214) at java.lang.reflect.Method...(ActivityThread.java:8663) at java.lang.reflect.Method.invoke(Native Method) at com.android... (neworders) Create *** ** Service (neworders) Start ** neworders_service_start (java line: 214) java.lang....java:214) at java.lang.reflect.Method.invoke(Native Method) at anywheresoftware.b4a.BA... B4J Library SSHJ - ssh, scp, sftp for Java - mindful    Jul 27, 2021   (16 reactions)   tags: scp, library, B4J, ssh, sftp is decompiled and compiled in your jar and therefore losses its signing. *NOTE3* For Android you need to....asymmetric.ec=java.base ... Page: 1   2   3   4   5   6   7   |