The idea of ​​a telephone conversation is “deployed once, deployed everywhere”, which means that you write only one application, and then you can pack it together with different versions suitable for deployment on any mobile device. This is similar to installing Java on Windows, Mac, and Linux. You can run the same code for any of them, because there is a special Java implementation for all three systems. Phonegap works basically the same way, except that you actually put the runtime in your application. If you look at the WAC project, they tried it completely in Java.
source share