My checklist app uses a service to upload a backup file to Google Drive when the list changes or the app exits. I first save the file locally (instant), but because it takes a few seconds to upload to the net, I thought a service would be the right way to do this (so that the service gets the...
Hi everyone, i'm using the speechtotext library by @Biswajit (thanks)
i noticed that once i ported it to B4XPages it started throwing this errors in the logs... actually the sub exsists and infact then it works... but it does not seems to be a stable things, it has already happened that the...
Hi all,
I hope someone can shed some light on this one. The attached project is intended to show a B4XDialog with a layout that contains a ListSelectionView from the jControlsFX9 library (the same happens with the jControlsFX library). When clicking either OK or Cancel on the B4XDialog, this...
Hi everyone,
I've a question.
Given an App that handles a Try Catch, what is the best method to send the Exception in order to see the details?
Crashlytics is only good when the app actually crashes, but if the error is managed and I only want to see what the error was? How can I do...
Running the attached (very small) project from the IDE (both Release and Debug modes) works fine (B4J 9.30, OpenJDK 11.0.1). I run it using @agraham 's RunSelfNamedJarJdk11 because I don't need an installer and this keeps the footprint minimal in terms of disc space, as basically it does this...
I have a small project to show images.
It's very simple and integrates a floating window for some specific functions.
The program worked without problems until I had to format the PC and reinstall everything.
I have no problems running the program directly from the IDE, but if I run the JAR file...
Hello,
Sometimes you need to stop a piece of code and explain why you have to do it.
A good way is to raise an exception and to give information about the reason why.
This little class offers you a pratical way to do this :
1) Add the class to your project
Public fException As clsException...
Hi all.
Please help me - what does this exception mean - anywheresoftware.b4a.pc.Debug$ExceptionWithModuleAndLine.
I debugged my code and got this exception.
Exception didn't happen after I clicked Ctlr+P to clean up my project. I didn't change any line in my code, didn't change any byte in...
I have a strange problem (only on any smartphone) when i try to get value from resultset when inside result set i keep the blob column.
android.database.CursorIndexOutOfBoundsException: Index -1 requested, with a size of 1
at this point
dim value as string = rst.GetString2(0)
or for blob
Dim...
This Wish is in reference to this thread:
Does exceptions in inline java mess with live updating the code?
https://www.b4x.com/android/forum/threads/does-exceptions-in-inline-java-mess-with-live-updating-the-code.98502/
In some cases (see thread above) a thrown exception gets its type changed...
I'm testing some things and have a piece of inline java that is throwing an exception under some conditions. That exception is not fatal for the app at all, and is also wrapped in a try/catch block.
However, if the exception is thrown, it's not possible to live update the code anymore. In...
Hello Guys,
I'm having hard time to test this app. It is presenting the following error when I do an
Activity.LoadLayout("Layout1")
App basic code:
Load Layout1 (1 panel with 1 label field)
User click on label ==> start Content Chooser to select a photo
Load selected photo on image...
Have we got a way to handle uncaught exceptions in our B4I apps?
I'm thinking something like this, which is for B4A, https://www.b4x.com/android/forum/threads/uncaught-exceptions.59805/
Apologies if this is super obvious, but I was unable to find anything in the forum about it, and my B4I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.