Page 5 of 5

Re: DIY-Actions/Triggers: Start Activity, General Broadcast, ...

Posted: 01 Jan 2020 09:55
by Rafi4
Hi all
Is there any way to get a specific account's calendar events in a list? How can I get?

Happy new year to all.

from record4

Re: DIY-Actions/Triggers: Start Activity, General Broadcast, ...

Posted: 03 Jan 2020 13:02
by Martin
Hi,

You can use action Query Content Provider to get a list of calendar events. You can base it on the example named All current calendar events. You could change the last part of the content uri from {triggertime} to {triggertime+7*24*60*60*1000} to read all events in the next 7 days and then try to filter the calendars with the selection field. You can try to disable the projection to get all fields in the result and change the result type to table and then analyze the result with a condition Debug Dialog to see what the calendar returns.
Unfortunately there's currently no better way to access this data. Please also check the flow sharing area. Maybe someone already wrote a flow for something similar.

Regards,
Martin

Re: DIY-Actions/Triggers: Start Activity, General Broadcast, ...

Posted: 05 Jan 2020 02:36
by Rafi4
Hi Martin and all
Is there any way to get memo list in input dialog using query Content Provider action? Package name "com.samsung.android.app.memo"

And also I want to know how to
View a memo
Edit a memo
Delete a memo
Thanks from record4

Re: DIY-Actions/Triggers: Start Activity, General Broadcast, ...

Posted: 11 Jan 2020 02:56
by Rafi4
Hi
Martin
Is it possible to get data (variable value) with send broadcast action?
How can I?
Thanks from record4

Re: DIY-Actions/Triggers: Start Activity, General Broadcast, ...

Posted: 11 Jan 2020 06:19
by Desmanto
@Rafi4 : For Samsung memo, if the app doesn't provide the data, there is no direct way to access it. Even if it have the content provider, you have to look at the documentation on how to read/write to it. As I don't use this, can't help much on this. I am still waiting on AM 1.38 before learning much more about content provider.

You can get the data from broadcast using trigger general broadcast. See the example to show how to get the extras. Not all app provide intent broadcast you can use. You have to look on the app documentation to see if it support it.

Re: DIY-Actions/Triggers: Start Activity, General Broadcast, ...

Posted: 20 Feb 2020 23:13
by KVN
Hi all

I has this task

1. I have folder on mobile in folder has files - 1.jpg and .nomedia
2. I delete .nomedia
3. Go to gallety and no see 1.jpg
4. I need do it - https://developer.android.com/reference ... ng.String)
5. I think that i need use Action - Send Broadcast

But HOW:))??

That i can write in
Send Broadcast:
Action ?
Category List ?
Data URI ?
.....
Extras?

Re: DIY-Actions/Triggers: Start Activity, General Broadcast, ...

Posted: 21 Feb 2020 00:00
by anuraag
@KVN Try action
Update Media Database

Re: DIY-Actions/Triggers: Start Activity, General Broadcast, ...

Posted: 21 Feb 2020 06:03
by KVN
anuraag wrote:
21 Feb 2020 00:00
@KVN Try action
Update Media Database
Big Thank You - it is solve my Task :)

But i want know too how it solve use intent, please give example for 1 files...

Re: DIY-Actions/Triggers: Start Activity, General Broadcast, ...

Posted: 21 Feb 2020 07:46
by anuraag
KVN wrote:
21 Feb 2020 06:03
anuraag wrote:
21 Feb 2020 00:00
@KVN Try action
Update Media Database
Big Thank You - it is solve my Task :)

But i want know too how it solve use intent, please give example for 1 files...
Execute following flow. Select folder where .nomedia file exists.

Re: DIY-Actions/Triggers: Start Activity, General Broadcast, ...

Posted: 21 Feb 2020 14:00
by KVN
anuraag wrote:
21 Feb 2020 07:46
KVN wrote:
21 Feb 2020 06:03
anuraag wrote:
21 Feb 2020 00:00
@KVN Try action
Update Media Database
Big Thank You - it is solve my Task :)

But i want know too how it solve use intent, please give example for 1 files...
Execute following flow. Select folder where .nomedia file exists.
Thank you for this example:) ;)