Scripting capabilities with the Android app
daniel.hershcovich says:
I have a new Android phone, and I'm a big fan of the RTM Android application. I use it to keep track of the lessons I study in an audio course, among other things.
However, I haven't found an easy way to use the application for this purpose that suites my needs: I have a repeating task for studying the next lesson in my audio course, and I add the lesson number to the task name (there's no more suitable field, I think). The problem is, every time I want to report the completion of a lesson, I have to edit the task, increment the number in the task name, save it, and then complete it.
It would be much easier if I could just click a button to complete a lesson task, which would also increment the "counter" in the task name.
I know this is not a very common usage of the application, which is why I'm more than willing to implement this functionality myself, using a script. The problem is, I don't know how to communicate with the Android application.
What I need is a way to get the incomplete tasks that match a certain regular expression, edit a task name, and complete it, all from a script (Python/Perl/sh/Javascript), or even a Java application.
I want to be able to talk to the application on my phone specifically, and not use something like the Twitter client, because I'm going to use this script when I'm offline, and I want to utilize the RTM Android application's synchronization feature so the task gets renamed and completed in the RTM website automatically when I connect to the internet, and so that the change is reflected in the application when I open it to look at my tasks.
Is there currently a way to do what I want? If not, can it be implemented, please?
Thanks,
Daniel
However, I haven't found an easy way to use the application for this purpose that suites my needs: I have a repeating task for studying the next lesson in my audio course, and I add the lesson number to the task name (there's no more suitable field, I think). The problem is, every time I want to report the completion of a lesson, I have to edit the task, increment the number in the task name, save it, and then complete it.
It would be much easier if I could just click a button to complete a lesson task, which would also increment the "counter" in the task name.
I know this is not a very common usage of the application, which is why I'm more than willing to implement this functionality myself, using a script. The problem is, I don't know how to communicate with the Android application.
What I need is a way to get the incomplete tasks that match a certain regular expression, edit a task name, and complete it, all from a script (Python/Perl/sh/Javascript), or even a Java application.
I want to be able to talk to the application on my phone specifically, and not use something like the Twitter client, because I'm going to use this script when I'm offline, and I want to utilize the RTM Android application's synchronization feature so the task gets renamed and completed in the RTM website automatically when I connect to the internet, and so that the change is reflected in the application when I open it to look at my tasks.
Is there currently a way to do what I want? If not, can it be implemented, please?
Thanks,
Daniel