I know this is old, but I'm also interested ...
I looked at it, and I do not think it is possible. I would love to do the same. This led either to the transfer of some of the Android GPL code to my application (ack), finding the configured database and code (JAR or java), or, finally, writing this code itself (double ack). Time intervals are a mine, and I hope not to write the code myself. There are many exceptions based on the location of users.
source share