I want to switch from the index.html file to a second html file called projects.html in a PhoneGap App on Android. If I write something like <a href="projects.html">Second Page</a> the projects.html page opens, but I get a prompt “[]” and then “usePolling” and then “getPort”. In adb logcat the error “D/PhoneGapLog( 3288): file:///android_asset/www/phonegap.0.9.6.js: Line 810 : JSCallback Error: Request failed.” appears. Looking around on the internet using multiple html files seems to me to be some kind of an issue with phonegap. Any ideas how I could get this to work?
I want to switch from the index.html file to a second html file called
Share
I changed to phonegap version 1.0. This fixed the problem.