Is it possible to write plugins for the existing apps? I am not asking if I can write an Android app having a plugin architecture, like here.
For example, let's say I want to add a button in the official Android 6 Camera that takes high quality photos (not time-lapses) repeatedly with a timeout, for an unlimited amount of time. The existing camera app only provides a 3 and 10 seconds delay until the picture is taken, but I want to customize this functionality to have whatever delay between snapshots, for whatever amount of time (even until memory is full). I just simply want the camera to be automatically triggered without the need for a person to press the button repeatedly.
I didn't find anywhere if customizing the existing apps is supported by Android.