crash

  1. yo3ggx

    Android Question When app crashes, is not fully closed

    Hello, I have an application that runs some code in a service (to allow running in the background). When the application crashes, Android shows it as open. I try to use in Starter service Sub Application_Error (Error As Exception, StackTrace As String) As Boolean ExitApplication Return...
  2. X

    Android Question App Crash how to know why?

    I program an App with 2 activity(1 and 2). Everything runs perfect, but after several times of the App runs perfect, anytime when I start the app and goto activity 2, the App crash. In debug mode I got nothing report, I try to use Try...Catch to get what error but got nothing. After the App...
  3. Hosein_Mghr

    Android Question Start Service In Android 13

    In Android 13, I did everything to be able to restart the service after destroying it. Android 13 does not allow restarting. I tried StartService and StartServiceAt, but it didn't work. Now I want to know if it can be done with the new b4a receivers from the intent action. I should make a...
  4. T

    Android Question B4XDialog crash on android 8.1

    As per title... It's crashing on dialog.TitleBar.Height = 10%y but only on my Oreo device (also test on android 10 and 13 devices) Using B4A 11.8, XUIViews library version 2.55 Dim dialog As B4XDialog Dim input As B4XInputTemplate Dim xui As XUI Dim...
  5. M

    Android Offline SpeechToText by Biswajit - Crash after changing model (Fix)

    Hi everyone, i don't know if this is the right place to post this. I'm trying out the library wrapped from @Biswajit (awesome work) https://www.b4x.com/android/forum/threads/speechtotext-continuous-offline-voice-recognition.134857/#content I tried changing the voice model to work with another...
  6. A

    Android Question What does this error mean - anywheresoftware.b4a.keywords.Common.StartServiceImpl?

    I can't find Common.java file Exception java.lang.RuntimeException: at anywheresoftware.b4a.keywords.Common$11.run (Common.java:1184) at android.os.Handler.handleCallback (Handler.java:938) at android.os.Handler.dispatchMessage (Handler.java:99) at android.os.Looper.loopOnce...
  7. K

    Bug? [B4X] B4XImageView error during image load at older devices

    Hello, I developed app in B4X Pages and used there B4XimageViews. During tests on different devices I found the problem with using B4XImageView at Samsung Galaxy TAB S - SDK 19. Subsequently I used example from tutorial...
  8. Luciano Veneziano

    Italian QR Reader che funziona solo sulla pagina principale

    Salve a tutti. Volevo usare una pagina per leggere il codice QR. L'applicazione, creata dall'ottimo LucaMs funziona perfettamente se è messa come pagina principale. Messa come pagina secondaria, (con l'aiuto di LucaMs) l'app crasha brutalmente. Dopo una giornata di mail con LucaMs, che...
  9. Lucas Siqueira

    Android Question B4XLoadingIndicator pause , ProgressDialogShow don't pause

    Why when I use B4XLoadingIndicator it gets stuck when I query SQLite, or even I run a For i = 1 To 10000 ProgressDialogShow("Progress") does not crash. Is there any way to improve the B4XLoadingIndicator code so that it doesn't crash? Sub Class_Globals Private Root As B4XView...
  10. S

    Android Question App works ok on Android 9, crashes on Android 11 and 12 while scrolling

    Hello, an app where I'm working on runs ok on Android 9, but crashes on Android 11 and 12 emulators (10 I could not test). This happens while scrolling down to the last loaded image, and when reached it crashes (but not on Android 9). An no error is given in the filtered logs. I'm not...
  11. gezueb

    Android Question Android crashes at midnight

    I have made an app that counts pulses from a electrical power meter (with camera2 lib) and searches for surges. Each time at midnight, Android stops working (black screen) and must be cold started. The app uses datetime functions to determine start and stop hour for measurements. It works...
  12. R

    Android Question Google Licensing Library Crashing SDK 30

    A mature application recently recompiled with Android Target SDK 30 now crashes on open with the following error message. It appears to relate to the licensing Library (v1.21)
  13. LucaMs

    B4J Question Project containing bugs: debug and release behavior.

    Running a project containing bug(s), in debug mode it logs the error and crashes. If you run it in release mode (of course even if you run the jar) no crashes happens. (I'm attaching a test project. Press on button "Error" and then on button "Toast"). Two questions: is this a design choice...
  14. MegatenFreak

    Android Question App crashes at startup on Android 10 and 11...

    Hi. My app works fine with lower versions of Android. Is there something I'm missing? (like something needs to be defined in the manifest file?) * more info on the app: It works with B4XPages and uses the following libraries: B4XTable, HttpUtils2, JavaObject, JSON, Reflection, XUI Views Thanks a...
  15. mik21

    Android Question xCustomListView crash

    I have simple activity which has xCustomListView with panel with edit view. Edit has FocusChanged proc. This proc read edit value and set label text in picture edit value is "12" and label text is "Kid 0". The "Clear CLV" button clear xCustomListView. If the cursor is parking on the edit...
  16. A

    Android Question WebView unexpected crash

    Hello In my app, i have a simple webview. It works correctly with 99% of website. But with an online javascript reader for PDF, the webview crash abruptly, immediately or after some minutes. So abruptly there is no mention of bug, crash, failure or error in the B4A logs. I think there is an...
  17. M

    Android Question [SOLVED] Raise an event when app crashes

    Hi Is there a way to raise an event when the app crashes and do something (like run a service)? The idea is to send the sqlite db (via ftp in a service) when the app crashes. Thank you
  18. Sandman

    Android Question [SOLVED] Crash when I change package name

    I bit of background (not sure how relevant it is): My app is using geofences, pretty much based on the example code by Erel. In that code there's this sub: Private Sub CreateGeofenceRequest (GeofenceBuilder As JavaObject) As JavaObject Dim builder As JavaObject...
  19. K

    Android Question Firebase admob Issue

    Hi All I am having an issue with my app. I am creating a simple B4x Page application, with one page [this has a couple of images and a button. there is also a panel which is the placeholder for the admob to display into. My app will install and run on my phone perfectly until I add...
  20. J

    iOS Question Object was not initialized (UIView)

    Hi there I wrote this code some months ago and I'm sure it was working back then. Something must have changed because now it crashes at the line pg.RootPanel.LoadLayout. It says 'Object was not initialized (UIView)' but what object? Sub Show(date As String) DateTime.DateFormat =...
Top