开发者

PhoneGap error - "the page at 'file://' says"

Hi, I am creating an application using PhoneGap v1.0.0 rc2. When I export and run it on my phone I get an alert style input box.

The first alert box is titled "the page at 'file://' says", with this : gap:["APP","overrideBackbutton","App0",true]. Hitting ok or cancel brings the next alert, gap:["Device","getdeviceinfo","device1",true]

Hitting ok or cancel brings the next alert,

gap:["network status","getconnectioninfo","network status2",true].

开发者_JAVA百科

I already placed the plugin.xml file in the folder res / xml, I do not know what is wrong! Can anyone help me?


Make sure in your main Java file you have loaded your landing page or the start up page when the app loads correctly eg: super.loadUrl("file:///android_asset/www/index.html"); where index.html is the main landing page.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜