Hi, I am creating an application for espocrm using webview, and probe the code with other page but when I put the url where no load espocrm use the login form.
I share the link to the App so they can verify it.
https://drive.google.com/file/d/0ByM...ew?usp=sharing
Application structure:
1.Content_main.xml
He was added:
<WebView
android:id="@+id/webview"
android:layout_width="match_parent"
android:layout_height="match_parent">
</WebView>
2. MainActivity.java
He was added:
webView = (WebView) findViewById(R.id.webview); String url = "http://demo.espocrm.com/basic/"; webView.getSettings().setJavaScriptEnabled(true); webView.loadUrl(url); webView.setWebViewClient(new WebViewClient() { public boolean shoulOverrideUrlLoading(WebView view, String url) { return false; } } );
3.AndroidManifest.xml
He was added:
<uses-permission android:name="android.permission.INTERNET"/>
I share the link to the App so they can verify it.
https://drive.google.com/file/d/0ByM...ew?usp=sharing
Application structure:
1.Content_main.xml
He was added:
<WebView
android:id="@+id/webview"
android:layout_width="match_parent"
android:layout_height="match_parent">
</WebView>
2. MainActivity.java
He was added:
webView = (WebView) findViewById(R.id.webview); String url = "http://demo.espocrm.com/basic/"; webView.getSettings().setJavaScriptEnabled(true); webView.loadUrl(url); webView.setWebViewClient(new WebViewClient() { public boolean shoulOverrideUrlLoading(WebView view, String url) { return false; } } );
3.AndroidManifest.xml
He was added:
<uses-permission android:name="android.permission.INTERNET"/>
Comment