All Questions
16 questions
0
votes
1
answer
189
views
Is it possible to synchronize session info between different WebViews?
I have a HybridWebView embedded in one of the Pages of my app. If I visit a website and sign in, the HybridWebView stores the relevant information and whenever I reopen the same website I am still ...
0
votes
1
answer
364
views
How to catch all request in Webview - Xamarin
Am having a Webview in my Xamarin android project and am trying to Catch a URL with specific keyword. If the keyword is present I need to open that link through the normal browser.but the ...
0
votes
1
answer
278
views
CS0115 'HybridWebViewRenderer.OnCreateWindow(WebView, bool, bool, Message)': no suitable method found to override - Xamarin.Forms
I am trying to implement this solution offered as an answer here: Opening target="_blank" links with Xamarin.Forms WebView
In the Android project I have created a custom renderer which has ...
2
votes
2
answers
2k
views
Opening target="_blank" links with Xamarin.Forms WebView
I have recently encountered an issue with links having the target attribute set to _blank. Tapping on them has no effect. The WebView does not load the linked page.
Searching around I found this ...
1
vote
0
answers
830
views
Xamarin Webview - Camera on Android
I have a Xamarin.Forms app, with an Android custom WebView.
I also have a web application, this one can take a picture with camera.
When I use the mobile app with the WebView to navigate to the web ...
1
vote
2
answers
2k
views
Pass some text with javascript into WebView from Xamarin.Forms
I try to send some text into a webView control from xamarin.forms. There are plenty of solution, which I almost all tried... ;-)
So actually they work great, but I have always to click a button on ...
1
vote
0
answers
143
views
Xamarin WebView App (Hybrid) with Xamarin Essential
Sorry if this question is a bit basic in nature. I understand Xamarin Essential provides low-level device API (battery, gps, accelerometer, Camera, Call etc). Is it possible to build an Html based ...
0
votes
2
answers
554
views
How do I validate a username/password in OnReceivedHttpAuthRequest?
I'm trying to store Windows credentials to login to an intranet webapp in a webview.
var login = Application.Context.GetSharedPreferences("Login", FileCreationMode.Private);
string username = login....
0
votes
0
answers
98
views
XAMARIN: WebView Loads Links Half-Way Down the Page (or keeps position?)
I've got this code for creating a WebView:
public class SessionsActivity : Activity
{
protected override void OnCreate(Bundle savedInstanceState)
{
base.OnCreate(savedInstanceState);
...
1
vote
0
answers
467
views
How to pass json data in xamarin forms web view android side
I am using xamarin forms webview and want to pass username and password json body with url like below.
I Implement Hybrid webview in xamarin forms
My PCL Code:
public class HybridWebView : WebView
...
0
votes
1
answer
789
views
Forms, Open PDF from URL
I'm using Xamarin Forms with Android, I need to open a PDF from an URL in my WebView. For some reason, sometime the the Webview is blank. I've searched a lot on Internet and I found some solution that ...
0
votes
0
answers
175
views
Facebook login failed in XAMARIN webview
I am making webview of working website, but in the webview the facebook login doesn't work. I enter email, pass, and when i click sign in, it retries me to the login page.. I need someone who knows C#,...
0
votes
0
answers
19
views
Xamarin.Android WebView crashes app [duplicate]
So I have made a web based app in VS2016 using Xamarin.Android and when i load the app. Can someone tell me where i have messed up here? The aim is to open the web page in the app and not go to an ...
0
votes
1
answer
3k
views
Member overrides obsolete member Error when using ShouldOverrideUrlLoading in Xamarin
I am a amateur coder trying to play around and explore. My coding levels is pretty novice. I have been trying to build a simple app in Xamarin. All it consist of is a webView which loads my website. ...
2
votes
2
answers
4k
views
How to enable local storage on Android WebView in Xamarin.Forms
I would like to enable HTML5 localstorage in my Xamarin.Forms app. When I deploy to an Android device I can see that the web page is erroring because localstorage is not enabled.
Natively, ...