Hello Again! It’s been a while since I last posted but not to worry, some good work has been done. We’ve redone the scheduling code to more closely match Android’s design philosophy of Content, Services, and Activities. The App now uses a Schedule_Event Activity instead of just Java code. This was a bit of a paradigm change for me and it definitely helped me understand the Android system better. The app now schedules tasks successfully but we have some issues with the Calendar.
One problem that I’m having is trying to get the app to write back to the user’s calendar with all the new events that have been scheduled. This feature used to work in Android 4.0 but no longer seems to be working in 4.1. I’m not sure what changed or why but this needs more exploring. The goal would be to create a new calendar on the user’s phone called Zadatak which would house the events that we generate, with titles that match the task. Reading from the Android Calendar is giving me weird errors. Sometimes it likes to read all the events in one calendar and sometimes it reads some events from all calendars. I need to explore the Android.CalendarContract class further to fully understand why these errors are happening.
So that’s what I’ve been working on these past few weeks. I look forward to your comments and suggestions!