How do I get my android webview make a load locally

Get help using Construct 2

Post » Mon Sep 08, 2014 12:04 pm

I have a doubt. What happens is the following: I exported my game by using cocoonjs contruct 2, but I want to run it on my android webview by, because I want to implement starApp, and cocoonjs not support this. So, using my code below, I get only a blank screen. But in my launcher cocoonjs, this same project works normally, just that I select Canvas + can anyone help me?

web = (WebView) findViewById(; web.setWebChromeClient(new WebChromeClient()); web.getSettings().setJavaScriptEnabled(true); web.loadUrl("file:///android_asset/www/index.html");
Posts: 40
Reputation: 509

Return to How do I....?

Who is online

Users browsing this forum: MPPlantOfficial and 10 guests