Let's say I'm playing a video on VLC player for Android [Img]. And at any point while watching it I could trigger a script that should get the value of the current time [Img] to append it to a text file. How could I get the current time of the currently played video at the time at which I triggered the script?
Note: I need to develop a separate tool from VLC player (not embedded within it) so the method of getting the current time value should consider this.
My thoughts trying to get to a solution:
- Thought 1: I'm not sure if Tasker or Automagic can trigger some script to get the current time value.
- Thought 2: There's a tool that can read values stored by third-party applications directly from memory called Cheat Engine for Desktops, recommended by Ascorbin. I'm not sure if we can use something similar for Android to get the current time value directly from memory.