Hi Friends!
I have a problem with mi project, when I deploy to Sony Xperia with android 5.1.1
The program gets the follow exception:
In the activity when initialize calendar, I get this error...
LogCat connected to: B4A-Bridge: Sony C6906
....
....
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (calendario) Create, isFirst = true **
java.lang.NullPointerException: locale == null
This error seems strange, because the same project deployed to any device with android 4.x.x works very well,
I hope some in this forum can help me!
I post and zip file with my project
I was using B4A 4.30
I have a problem with mi project, when I deploy to Sony Xperia with android 5.1.1
The program gets the follow exception:
In the activity when initialize calendar, I get this error...
B4X:
Sub Activity_Create(FirstTime As Boolean)
' Coloca la zona horaria de mexico
DateTime.SetTimeZone(-5)
ListDays.Initialize
ListDays.Add("06/01/2015")
ListDays.Add("06/02/2015")
ListDays.Add("06/03/2015")
ListDays.Add("06/18/2015")
Dim factor As Float
factor = 0.50
' THIS LINE GETS ERROR ONLY ON ANDROID 5.1.1, WITH VERSION 4.x.x WORKS FINE!!!
'*******************************************************************************
CsCal.Initialize(Me, "CsCal" ,100%x, 100%y * 0.51, DateTime.Now, ListDays)
LogCat connected to: B4A-Bridge: Sony C6906
....
....
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (calendario) Create, isFirst = true **
java.lang.NullPointerException: locale == null
This error seems strange, because the same project deployed to any device with android 4.x.x works very well,
I hope some in this forum can help me!
I post and zip file with my project
I was using B4A 4.30