This line of code:
causes that:
Line 492 is the MsgBox2Async() line
This is the app running on a hardened Samsung tablet. It is apparently not fully running...
As usual, any help appreciated.
B4X:
Dim i as Int
i = Msgbox2Async( "Do you want to save your changes?", Starter.AppName, "", "Save As", "Do Not Save", Null, False )
B4X:
Error occurred on line: 492 (Script)
java.lang.NumberFormatException: For input string: "android.app.AlertDialog@e7cb3ca"
at jdk.internal.math.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2054)
at jdk.internal.math.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
at java.lang.Double.parseDouble(Double.java:662)
at anywheresoftware.b4a.debug.RDebugUtils.numberCast(RDebugUtils.java:67)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:348)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:157)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:205)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:201)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:8812)
at android.widget.TextView.performClick(TextView.java:18678)
at android.view.View.performClickInternal(View.java:8789)
at android.view.View.-$$Nest$mperformClickInternal(Unknown Source:0)
at android.view.View$PerformClick.run(View.java:33811)
at android.os.Handler.handleCallback(Handler.java:1070)
at android.os.Handler.dispatchMessage(Handler.java:125)
at android.os.Looper.dispatchMessage(Looper.java:358)
at android.os.Looper.loopOnce(Looper.java:288)
at android.os.Looper.loop(Looper.java:392)
at android.app.ActivityThread.main(ActivityThread.java:10346)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:638)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:972)
Line 492 is the MsgBox2Async() line
This is the app running on a hardened Samsung tablet. It is apparently not fully running...
As usual, any help appreciated.