DIY-Actions/Triggers: Start Activity, General Broadcast, ...
Moderator: Martin
Re: DIY-Actions/Triggers: Start Activity, General Broadcast, ...
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
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
No.1 Automation app in play store Automagic Premium
Samsung Galaxy j2 non rooted.
Android 5.1.1
Samsung Galaxy j2 non rooted.
Android 5.1.1
Re: DIY-Actions/Triggers: Start Activity, General Broadcast, ...
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
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, ...
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
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
No.1 Automation app in play store Automagic Premium
Samsung Galaxy j2 non rooted.
Android 5.1.1
Samsung Galaxy j2 non rooted.
Android 5.1.1
Re: DIY-Actions/Triggers: Start Activity, General Broadcast, ...
Hi
Martin
Is it possible to get data (variable value) with send broadcast action?
How can I?
Thanks from record4
Martin
Is it possible to get data (variable value) with send broadcast action?
How can I?
Thanks from record4
No.1 Automation app in play store Automagic Premium
Samsung Galaxy j2 non rooted.
Android 5.1.1
Samsung Galaxy j2 non rooted.
Android 5.1.1
Re: DIY-Actions/Triggers: Start Activity, General Broadcast, ...
@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.
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.
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.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: DIY-Actions/Triggers: Start Activity, General Broadcast, ...
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?
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, ...
@KVN Try action
Update Media Database
Update Media Database
Re: DIY-Actions/Triggers: Start Activity, General Broadcast, ...
Execute following flow. Select folder where .nomedia file exists.
- Attachments
-
- flow_Update_Media_Database_20200221_131451.xml
- (4.94 KiB) Downloaded 1919 times