Reminder app
Moderator: Martin
-
- Posts: 42
- Joined: 17 Sep 2019 08:30
Reminder app
Hi for all, I wtite script for voice control of my phone, also I have app what I want to store reminders in app database. With database all OK, automagic store records and they shows in app correct, but app not shows alarm taskactivity in stored in database time, how to solve it with automagic? Sorry for bad English.. Disassemble com.luitech.remindit of app in attachment
-
- Posts: 42
- Joined: 17 Sep 2019 08:30
Re: Reminder app
Some body help me? How to emulate pressing confirm button in remindit app without open app ui?
Re: Reminder app
Hi,
You can usually not click buttons in an app that is not open and showing on screen.
Please do not attach files containing decompiled APKs and other material that might violate copyright.
Regards,
Martin
You can usually not click buttons in an app that is not open and showing on screen.
Please do not attach files containing decompiled APKs and other material that might violate copyright.
Regards,
Martin
-
- Posts: 42
- Joined: 17 Sep 2019 08:30
Re: Reminder app
Sorry, coders not support this app for many years,... but how this app confirm reminds and where they stores? Not only in database, in other place. What count time fot next remind? And how to add this alarm using automagic?
Re: Reminder app
It seems what you want, can be done using Google Assistant. Why don't just use Gass? You can also create voice control using Input Speech and create the action to make a reminder using Global Variable Date time or calendar event. If using calendar event, you can create another flow to react to the calendar notification to speak out loud the content. All created reminder can be logged and written to a text file.
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.
-
- Posts: 42
- Joined: 17 Sep 2019 08:30
Re: Reminder app
Thanks for reply! I don't want to say "OK google" like other do, and I don't want to write my reminders to the text file, and so on.. I want to use app that I use for many years and I can recognize my voice in automagic like:"remind me tomorrow morning at eight hours and five minutes wake up" and store to remindit app database Time of remind in Millis and name of remind. This record then shows in app ui. I don't know how to send to alarm manager intent and time in Millis from remindit app, using automagic and then wait when broadcast receiver of app catch alarm from Android and shows me taskAlarmAcrivity with my remind "wake up"Desmanto wrote: ↑27 Sep 2019 17:58It seems what you want, can be done using Google Assistant. Why don't just use Gass? You can also create voice control using Input Speech and create the action to make a reminder using Global Variable Date time or calendar event. If using calendar event, you can create another flow to react to the calendar notification to speak out loud the content. All created reminder can be logged and written to a text file.
Re: Reminder app
No "OK google" here. That app function can be replicated easily in Automagic. Simply use Trigger Shortcut. Then followed by input speech, then parse the sentence and create the reminder. The time part is a bit difficult to parse though.
If you still want to use that app, simply use the shortcut to launch the app and use control UI to tap the mic icon. Pressing shortcut in automagic will launch the app and tap the mic button. There you can record directly using the app and have the database stored exactly there.
If you still want to use that app, simply use the shortcut to launch the app and use control UI to tap the mic icon. Pressing shortcut in automagic will launch the app and tap the mic button. There you can record directly using the app and have the database stored exactly there.
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.
-
- Posts: 42
- Joined: 17 Sep 2019 08:30
Re: Reminder app
I parse the sentence correctly, I want to set alarm for broadcast receiver of this app without control ui, on locked screen with display off. Maybe using part of Java code of this app in automagicDesmanto wrote: ↑28 Sep 2019 18:50No "OK google" here. That app function can be replicated easily in Automagic. Simply use Trigger Shortcut. Then followed by input speech, then parse the sentence and create the reminder. The time part is a bit difficult to parse though.
If you still want to use that app, simply use the shortcut to launch the app and use control UI to tap the mic icon. Pressing shortcut in automagic will launch the app and tap the mic button. There you can record directly using the app and have the database stored exactly there.
Re: Reminder app
When you say set alarm for broadcast receiver, do you mean we send intent with the variable to the app and let it keep at its database? If the app itself doesn't open up for automation (receive broadcast), there is not much you can do without Control UI. Even if it has the receiver, you still have to see the dev's documentation on how to use it. Using java code in automagic is usually related to what the android can do already. It is not about using the java code in/to other app.Sergey_777-s wrote: ↑30 Sep 2019 19:08I parse the sentence correctly, I want to set alarm for broadcast receiver of this app without control ui, on locked screen with display off. Maybe using part of Java code of this app in automagic
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.
-
- Posts: 42
- Joined: 17 Sep 2019 08:30
Re: Reminder app
In this app I need to use this code:Desmanto wrote: ↑01 Oct 2019 17:30When you say set alarm for broadcast receiver, do you mean we send intent with the variable to the app and let it keep at its database? If the app itself doesn't open up for automation (receive broadcast), there is not much you can do without Control UI. Even if it has the receiver, you still have to see the dev's documentation on how to use it. Using java code in automagic is usually related to what the android can do already. It is not about using the java code in/to other app.Sergey_777-s wrote: ↑30 Sep 2019 19:08I parse the sentence correctly, I want to set alarm for broadcast receiver of this app without control ui, on locked screen with display off. Maybe using part of Java code of this app in automagic
Code: Select all
public void setAlarm(Task task) {
354 Date date = task.getReminderDate();
355 if (date != null) {
356 ((AlarmManager)this.context.getSystemService("alarm")).set(0, date.getTime(), Model.super.createAlarmPendingIntent(task, false));
357 }
358 }