3
I have a Activity
with the following layout:
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".WebviewActivity"
android:orientation="vertical">
<WebView
android:id="@+id/webview"
android:layout_width="fill_parent"
android:layout_height="fill_parent"/>
</FrameLayout>
Inside my Activity
am opening a certain url on webview
.
This url has some javascript.
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.webview_activity);
Webview webView = (WebView) findViewById(R.id.webview);
webView.loadUrl("http://paginacomjavascript.com");
}
For some reason the Webview
not working.