yes, this doesn't support Android 4. I got the below error when running on a Galaxy nexus.
would be really help if we can get a calendar function.
Code:
main_activity_create (B4A line: 39)
myMap = cal.GetListOfAllCalendars(True) 'get a "Map" of the available calendars
android.database.sqlite.SQLiteException: no such column: access_level: , while compiling: SELECT _id, name FROM Calendars WHERE (access_level=700)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:179)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)
at android.content.ContentProviderProxy.query(ContentProviderNative.java:358)
at android.content.ContentResolver.query(ContentResolver.java:310)
at android.app.Activity.managedQuery(Activity.java:1706)
at edsmith.calendar.Calendar.getCalendarManagedCursor(Calendar.java:649)
at edsmith.calendar.Calendar.GetListOfAllCalendars(Calendar.java:116)
at ed.smith.calendar.example.main._activity_create(main.java:248)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:136)
at ed.smith.calendar.example.main.afterFirstLayout(main.java:84)
at ed.smith.calendar.example.main.access$100(main.java:16)
at ed.smith.calendar.example.main$WaitForLayout.run(main.java:72)
at android.os.Handler.handleCallback(Handler.java:605)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4340)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)
android.database.sqlite.SQLiteException: no such column: access_level: , while compiling: SELECT _id, name FROM Calendars WHERE (access_level=700)