phonegap : Sever side link for internal html file...?

878 Views Asked by At

I will develop phonegap app for Android. phonegap version is 3.2

My App's index.html is at web server ( ex:www.mydomain.com/mobileapp/index.html)

That is all right.... Then Im trying to load somepage.html(internal html file) with just an ordinary link.

But load is not. My code in index.html(server side) is below..

<.a href="file:///android_asset/www/somepage.html"> load internal page <./a>

The error is...

D/CordovaLog(18788): null: Line 0 : Not allowed to load local resource: file:///android_asset/www/somepage.html

E/Web Console(18788): Not allowed to load local resource: file:///android_asset/www/somepage.html at null:0

I hope I explained this well enough. If anyone has insight that could help with this, it would be greatly appreciated. If anyone has any question, please ask and I'll do my best to answer them.

Thanks in advance.

0

There are 0 best solutions below