How can I write cross platform mobile framework [on hold]

view story

http://stackoverflow.com – I want to develop a framework for smart phones. I want to make it cross platform framework(working on iOS,Android) like SQLite. So What language I want to use? and How Can I archive it?Please guide me to right path Thanks in advance. (HowTos)