Hi
As some others said, the fastest thing is to work with a framework allready prepared for that.
There are 2 more options not mentioned before and they are free, here are the links
1 -
www.frameroot.com.ar 2 -
http://sourceforge.net/projects/tieradapter/.
If you contact any of the developers in these projects you can get all information about these frameworks.
Frameroot has already more than 50 apps in production. I haven't got that information regarding Tieradapter, but I'm sure they've got apps in production too.
Contact them. It migth be what you need.
Regards
Hernan