I just started playing with Phonegap tonight and I love it! But I have a few problems.
There are two different installation procedures on their website: one is listed here: http://phonegap.com/install/ , and the other is listed here: http://docs.phonegap.com/en/3.0.0/guide_cli_index .md.html # The% 20Command-line% 20Interface
In the many examples that I see, there is also a difference with some links to phonegap.js in the HTML file and others using cordova.js in the HTML files. What is the difference between these two installations and these two JS files?
Further, whenever I try to get any properties of the device, nothing happens (I assume that the error occurs because other code will not be executed). For example, if I do "document.write (device.name)" I get nothing, but if so, "document.write (" test "), it works fine
Finally, for the "phonegap" version, I run javascript to build phonegap, then I go to xcode where the project is open, and I click "Run." Whenever I do console.log, I was hoping to see the output in the xcode debug window, but that would not happen. Is there a way to send console messages (and errors) to the xcode console?
Thanks!
source share