I explained it in one of the posts.
ok
Hy, Palmare_as,
No it means that the event is remindered 10 minutes before…
hi Peter, I tried your suggestion and it worked very well. But I don’t understand why when the calendar appears and I press the button to save, nothing is saved.
And then another thing, as also requested by Palmare_as, the event cannot be saved automatically without showing the calendar?
Thank you so much
Sorry,
Rescue works fine…
You also can set a recurrence rule. See last blocks on the list.
Will be repeated every week on tuesdays and thursdays. This will be done 2 times.
So if you want to set a birthday for instance you can use the string.
Still haven’t found the setting for an allday event.
This is more info on the rrule possibilities:
Recurrence rule
Recurrence rule defines the repeating pattern for recurring events. It is in form of string. For example, FREQ=WEEKLY;BYDAY=MO;COUNT=3
represents a pattern repeating 3 times on every Monday weekly, i.e. Monday, 2019-Nov-05 & 12 & 19.
The rule is written in the format of {rule_name}={rule_value}
and concatenated with others with semicolon ;
.
There are lots of global standard recurrence rules. Here are the four common rules which could be able to handle most cases — FREQ
, UNTIL
, COUNT
and BYDAY
.
1. FREQ (Frequency)
Frequency defines how often the pattern is repeated. It accepts the following parameters:
DAILY
WEEKLY
MONTHLY
YEARLY
Example: FREQ=DAILY
2. UNTIL
UNTIL
defines the end date of the frequency. It accepts a value in date format of yyyyMMdd'T'HHmmss'Z'
, e.g. “ 20191105T000000Z”
Example: FREQ=DAILY;UNTIL=20191105T000000Z
means repeating the event every day until the 5th November, 2019.
3. COUNT
COUNT
defines the number of occurrence of the frequency. It accepts an integer value.
Example: FREQ=DAILY;COUNT=10
means repeating the event every day for 10 rounds, i.e. 10 days.
4. BYDAY
BYDAY
defines the list of weekday that the repeating pattern should be applied. It accepts the following parameters:
-
MO
(Monday) -
TU
(Tuesday) -
WE
(Wednesday) -
TH
(Thursday) -
FR
(Friday) -
SA
(Saturday) -
SU
(Sunday)
Example: FREQ=WEEKLY;BYDAY=MO,FR
means the pattern repeats on every Monday and Friday weekly.
Practical examples:
- Repeat yearly on the upcoming 3 years
FREQ=YEARLY;COUNT=3
- Repeat monthly until 1st January, 2020
FREQ=MONTHLY;UNTIL=20200101T000000Z
- Repeat every Monday and Thursday on the upcoming 3 weeks. Count is 6 since total occurrence is 2x3 = 6.
FREQ=WEEKLY;BYDAY=MO,TH;COUNT=6
- Repeat weekly on Monday until 1st January, 2020
FREQ=WEEKLY;BYDAY=MO,TU;UNTIL=20200101T000000Z
Trick on Recurrence Rule
UNTIL
and COUNT
contradict with each other. UNTIL
defines the end date of the frequency. COUNT
defines the number of occurrence of the frequency.
Android would ignore the presence of COUNT
if UNTIL
is presented, i.e. FREQ=DAILY;COUNT=10;UNTIL=20191105T000000Z
equals to FREQ=DAILY;UNTIL=20191105T000000Z
Hy Peter,
tanks for recurrence rule. Now I try it.
Bye,
Hi.
I’ve tryed out the Extensions and your given blocks, and it worked really well. But I still got one big problem: when I click the button, The Google calendar screen opens, but the event is empty, so my title isn’t shown etc… Does anybody now, what could be the reason for that? Is it because my settings are on German?
My is in Dutch and it works. Can you show the blocks you used?
thanks for the fast reply.
i’ve now fixed it somehow, but i now got a different problem.The title and the description are registered, but my time still doesn’t register. I also can’t change the title, once it was set.
and I also didn’t understand if it’s now an “i” ore a “L” infront of “endTime”
It is a small L. It stands for a long integer.
You have two endtime blocks in your code.
Oh yes, thank you. Now it works!!!
Hy, yann_cosson,
Is there a way to automatically save the event?
Tanks.
No, untill now, i didn’t… I am working on that… But I Think this could ve very dificult, because it’s a separate app you have to control… As son as I found a solution, I will post it here.
Ok,
tanks,
bye.
Does this work better than integrating google calender API? I have been trying to use this method but i keep getting errors.
https://groups.google.com/forum/m/#!msg/app-inventor-developers-library/x4GBw8wVI0I/U5gU_TxwsUoJ
Never tried the Calendar Api, but this works for me.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.