Question

i am working on CalendarView.i am adding event in Calendar with this code.

Intent intent = new Intent(Intent.ACTION_INSERT);
                intent.setData(CalendarContract.Events.CONTENT_URI);
                startActivity(intent);

when device is offline, event saved in device's locale calendar.

now the problem is: "Sony ericsson" has facility to store Calendar-entry locally. but when i use "Micromax-tablet", there is no facility to store calendar-entry locally,you have to store calendar-entry on google-calendar.

so,what should be solution? solution may be save data into database.suppose i have some birth-date in "myBirthday" variable.

now my question is how to display data to CalendarView(on cell of date)?

any suggestion will be strongly appreciated.

Was it helpful?
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top