By this, you can make your app fully as a web based app, in any of your favorite web based programming/scripting language like php, html, javascript and control the native application with web based coding.
A demo app - the notifications app is made with this concept. The app is open source at https://code.google.com/p/notificationsapp/
I will be writing the steps in this blog, but till that time, I made a small video tutorial explaining the steps. Please check that.