Take a look at AirplaySDK, it allows you to develop a mobile application against their framework and then compile it as an ARM binary and deploy it to most mobile platforms (including some game consoles).
It has some disadvantages, but if portability is your main goal, it's a good option, and the performance is very good because it runs as native ARM.
EDIT: Some OpenSource alternatives (that I haven't tested) are:
- Appcelerator Titanium
- Rhomobile
- PhoneGap
Al of them are more Web oriented, and compile to native mobile applications.
EDIT: They wrap a native client around your web application, it's a very different approach to AirPlaySDK that compiles to native code.
Hope it helps.
Regards!