androidandroid-intentsamsung

Samsung Calendar : empty event when opened with ACTION_VIEW intent


To open an existing event from its ID, I use an Intent to open the phone's default calendar app. Since November 2025, I have had many users with Samsung devices who have encountered an issue with Samsung Calendar: the event displayed is completely empty, as if it were a new event.

My code has been the following for years, opening Calendar with :

Uri eventUri = ContentUris.withAppendedId(
  CalendarContract.Events.CONTENT_URI,
  eventId
);

Intent intent = new Intent(Intent.ACTION_VIEW)
  .setData(eventUri)
  .setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP);

intent.putExtra(CalendarConstants.RETURN_INTENT_CALENDAR,           
                CalendarConstants.RETURN_INTENT_CALENDAR_VIEW);

context.setResult(Activity.RESULT_OK, intent);
context.startActivityForResult(intent, 1);

I tested versions of Samsung Calendar on Remote Test Lab and reproduced the problem:

Official Android documentation : https://developer.android.com/identity/providers/calendar-provider#intent-view

Has any developer among you had this kind of feedback on the latest versions of Samsung Calendar?


Solution

  • Conclusion : This was a bug in Samsung Calendar app.

    Actions:

    To test on a real Samsung device:
    Remote Test Lab: https://developer.samsung.com/remotetestlab
    Drag and drop the APKs onto the emulator: your application or others such as Samsung Calendar, which can be found on websites listing APKs.