My current application has kill error after updating to android 5.1.1
Inside my my activity create function I was calling this line
CsCal.Initialize(Me, "CsCal" ,100%x, 100%y, DateTime.Now, ListDays)
Thats call a class CustomCalendar
This error happen only with android 5.1.1
This is my source code
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
' Show calendar
'****************** THIS SENTENCE IS THE LINE THAT HAS ERROR ***
CsCal.Initialize(Me, "CsCal" ,100%x, 100%y, DateTime.Now, ListDays)
Activity.AddView(CsCal.AsView, 0, 0, 100%x, 100%y * 0.50)
CsCal.ShowCalendar(True)
' Activa el panel de datos web
pnlCirculares.Initialize("")
Activity.AddView(pnlCirculares, 0, 100%y * factor, 100%x, 100%y - (100%y * factor))
pnlCirculares.LoadLayout("circular")
pnlCirculares.Color = Colors.White
pnlCirculares.Visible = True
tMainPanel.Initialize("")
Activity.AddView(tMainPanel, 0, 100%y * factor, 100%x, 100%y - (100%y * factor))
tScrollView.Initialize(50)
tMainPanel.AddView(tScrollView, 0, 0, 100%x, 100%y)
End Sub
In the class CustomCalendar the Initialize function have this parameters, nothing new, its only code.
Public Sub Initialize(vCallback As Object, vEventName As String, Ww As Int, Hh As Int, BeginDate As Long, ld As List) '* * * NEW 02/08/2015
....
Compiling the same project in android 5.1.1 y have this error
Installing file.
PackageAdded: package:enter.PuertaRealDemo
** Activity (main) Create, isFirst = true **
(Main, 51) FullScreen or IncludeTitle properties in layout file do not match the activity attributes settings. (warning #1004)
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (calendario) Create, isFirst = true **
java.lang.NullPointerException: locale == null
Please, can help me
Thanks in advance!