Custom Android app like ArduinoDroid or BluinoLoader

Hey everyone,
I've got a project up and running but now I want to add an HC-05 Bluetooth module to it.
I want to have OTA (over the air) updates to my project code running in the microcontroller via Bluetooth and do it with a custom android app.

I'm stunned by how powerful an Android device is that it has got the power to do these things, but the thing that is currently a bottleneck for me is how do I upload code to Arduino boards via a custom android app like ArduinoDroid or Bluino Loader (which supports Bluetooth uploads).
Is there any SDK or some kind of library for doing these things?

Thanks for reading till the end.