no calender event

Post your questions and help other users.

Moderator: Martin

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: no calender event

Post by Desmanto » 01 Jan 2018 16:54

You have two selection arguments, put 2 question marks, then at arguments separate them with comma. I assume the same "Hamburg" and then "conference" filter for the title

Selection : calendar_displayName like ? and title like ?
Selection Arguments : %Hamburg%,%conference%

I also don't know why direct constant (%conference%) in the selection won't work, must be replace with ? (question mark).
Maybe it is by design. I am still learning SQL query as I post this.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

User avatar
Micha
Posts: 46
Joined: 27 Dec 2017 23:04

Re: no calender event

Post by Micha » 01 Jan 2018 17:24

That does not work for me... But I realized it with the condition after the Content Provider action. First I make a list of event titles. Then I check this list in a condition with contains(event_titles, "conference").

Micha

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: no calender event

Post by Desmanto » 05 Jan 2018 15:08

I've just discover a better way. Turns out we have Condition Calendar Event too.
See my other post here : viewtopic.php?f=6&t=7175&p=20160#p20160
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

User avatar
Micha
Posts: 46
Joined: 27 Dec 2017 23:04

Re: no calender event

Post by Micha » 05 Jan 2018 16:07

Ingenious! Tomorrow is the first day this flow will be active... Hope it will work correctly.

Micha

Post Reply