mfinkle / geckobrowser

Very basic Android browser application that uses the GeckoView widget
Mozilla Public License 2.0
103 stars 26 forks source link

can not load local HTML file #14

Open ImpressCMS opened 10 years ago

ImpressCMS commented 10 years ago

Hello, thank you for this sample!

The app works as well. But I want load not a online website, I want to load a local HTML site. It looks like it's not possible?

My code: {code} mGeckoView.addBrowser("file:///android_assets/www/index.html"); {/code}

If I run the app, the GeckoView can not find the file, but it's on the right place.

Any ideas?

mfinkle commented 10 years ago

That is being tracked in this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=948465

There might be a workaround in Comment 1.

ImpressCMS commented 10 years ago

Thanks for the help. But it's not possible to solve it with the workaround.