Author Topic: Changing default app in "send to calendar"  (Read 3291 times)

WinstonY

  • Newbie
  • *
  • Posts: 12
Changing default app in "send to calendar"
« on: December 07, 2015, 11:08:40 pm »
Hi,

How do I change the default calendar app when using "send to calendar" function? I have Informant installed but it always defaults to opening Samsung S Planner. I cannot find where to clear defaults. Any help?

Thanks!

Winston

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Changing default app in "send to calendar"
« Reply #1 on: December 08, 2015, 01:17:25 am »
System settings -> apps (or apps management, is it?) -> find and tap into your currently default calendar app and there should be a "clear defaults" button.

After you've done this, next time Android should prompt you for which app to use.

http://www.cnet.com/how-to/how-to-clear-a-default-app-setting/
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

WinstonY

  • Newbie
  • *
  • Posts: 12
Re: Changing default app in "send to calendar"
« Reply #2 on: December 09, 2015, 03:29:14 am »
Thanks so much for the reply. I tried doing that and the clear defaults button on the application manager are all greyed out for S Planner, Aquamail and Informant. It's not a big deal. More of wondering why its not resetting app defaults.

All the best!

Winston

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Changing default app in "send to calendar"
« Reply #3 on: December 09, 2015, 02:54:51 pm »
Maybe Informant doesn't handle the "intent" which is the mechanism for sending stuff between apps?

Please check with this app's developer. Here is what I use, it's all officially documented stuff:

      Intent intent = new Intent(Intent.ACTION_INSERT, CalendarContract.Events.CONTENT_URI);
      intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);

      intent.putExtra(CalendarContract.EXTRA_EVENT_BEGIN_TIME, ...);
      intent.putExtra(CalendarContract.EXTRA_EVENT_ALL_DAY, ...);
      intent.putExtra(CalendarContract.EXTRA_EVENT_END_TIME, ...);
      intent.putExtra(CalendarContract.Events.TITLE, subject);
      intent.putExtra(CalendarContract.Events.DESCRIPTION, description);

      try {
         context.startActivity(intent);
...


The most important bit is:

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


... and Informant may not be wired to respond to this.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Changing default app in "send to calendar"
« Reply #4 on: December 09, 2015, 03:23:12 pm »
I installed Informant, and "send to Calendar" in AquaMail gives me the choice of two other calendar apps installed on the device (Sony's built-in calendar and Google Calendar) -- but not Informant.

So yes, please contact the developer of Informant.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/