Hello!
I'm new to this forum (and generally in B4A and Android programming) and this is my first post.
I have a problem with the app I'm developing.
This is the code causing the crash, but I don't know how to fix it:
Could you please help me solve this problem?
Thank you
I'm new to this forum (and generally in B4A and Android programming) and this is my first post.
I have a problem with the app I'm developing.
This is the code causing the crash, but I don't know how to fix it:
B4X:
Private DriveStartHour As Int = -1
Private DriveStartMin As Int = -1
Label1.Text = 4 - (DateTime.GetHour(DateTime.Now) - DriveStartHour) + "h " + 30 - (DateTime.GetMinute(DateTime.Now) - DriveStartMin) + " min remaining"
Could you please help me solve this problem?
Thank you