Android Question sub_activity pause , cuase java numberformatexception error

cambol

Active Member
Licensed User
I used SQLite DB in Main Activity and and same DB with sub_activity .
I pause sub_activity over 20 minitus , and get back to this sub_activity , it got java numberformatexception error .
only happen in long time pasue .

Is error about SQLlite time out or some thing else ?

SDK android 26 and 28 , jar 1.8 , in android 7 system

but in in android 4 system . it work property

cambol
 

cambol

Active Member
Licensed User
Error occurred
An error has occurred in subair_activity_create (java line :462)
java.lang.NumberFormatException:empty String
Continue ?
 
Upvote 0

cambol

Active Member
Licensed User
Debug mode has another error .

B4A Version: 8.30
Parsing code. (0.31s)
Compiling code. (0.67s)
Compiling layouts code. (0.00s)
Organizing libraries. (0.00s)
Generating R file. (0.06s)
Compiling debugger engine code. Error
B4A line: 1636
End Sub
shell\src\ninefate\nicefate1\main_subs_0.java:3477: error: code too large for try statement
catch (Exception e) {
^
1 error
 
Upvote 0

cambol

Active Member
Licensed User
I find this in other web . see below

To avoid this, when paused one should choose the "Resume Later" option.

Is there any way to do that with B4A
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…