It looks like José did some work with the others on the team out of MIT that work with the App Inventor source. I'll defer to those that have actual knowledge
but ;-)
I am working on adding App Inventor source to Android apps. It could be you could take your App Inventor source and drop the jar file you get from my tools into an Android service.
I have not tried that.
My tools are alpha, not ready for prime time.
It would take time and I do not have any to spare.
But, if this sounds like something that would work, let's explore the idea.