Phonegap Startup with .js file

untggee

New Member
I am new to using Phonegap.I want to convert a website to a mobile application. I am using Phonegap.Phonegap starts the index page with: \[code\]super.loadUrl("file:///android_asset/www/index.html");\[/code\]I want this to open (javascript file):\[code\]super.loadUrl("file:///android_asset/www/index.js");\[/code\]It doesnt execute it, but reads the file and displays it on the screen.Does anyone have a solution for this?
 
Back
Top