Hey guys
So,I get this wierd java error every time that I try to start my app
The text is:
An error has occurred in sub:
Main_activity_create(java line:267)
Java.Lang.NumberFormatExeption
Continue?
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("main")
If FirstTime = True Then
Map1.Put("number_correct",corrects)
Map1.Put("number_wrong",wrong)
Map1.Put("number_times",times)
End If
corrects = corrects+Map1.Get("number_correct")
wrong = wrong+Map1.Get("number_wrong")
Msgbox(Map1.Get("number_wrong"),"Info")
End Sub
A bit down in the code I have
Map1.Put("number_correct",corrects)
Map1.Put("number_wrong",wrong)
Map1.Put("number_times",times)
Yes I have a layout called main
However,When I remove the map1 code,The projekt runs fine,What am I doing wrong?
Please help me
The application should save the data and open it later
corrects,wrong and times are all int numbers.
Thestar19