I have the pdf.js-Plugin in my Xamarin-Forms Project. But pdf-js dont support the touch events (long press for mark, double tap for zoomin/out, pinch to zoom ...).  I look @stackoverflow, but i dont find any correct solution.   Attempt to install ham...
I tried to call C# method from JS with arguments, but I've got an error.  I'm using Xamarin Android (not Xamarin.Forms)  C# Code:  [JavascriptInterface] [Export("test")] public Java.Lang.String Test(Java.Lang.String hello) {     retur...
I have a Xamarin.Forms app. It includes a button like this:   <Button x:Name="Buy_Button" Text="Sat?n Al" FontAttributes="Bold" TextColor="#e2e2e2" BackgroundColor="#2A52BE" FontFamily="Segoe UI" Gri...
I have been able to call JavaScript from C# inside the MainActivity but I'm trying to do so from an object. The majority of my app runs inside a WebView, my JavaScript calls to my C# Interface invoking an asynchronous function and when it's c...
I am prototyping a HTML5 app using the Xamarin framework.  I am trying to connect javascript to C# code and vice versa.  What is the best way to do this?  So far I have tried creating Mono C# bindings to the Cordova framework, which is not an ideal s...
I'm trying to share some data from an Activity to JavaScript, but all my results have failed, this is my current code:  C#  var webView = FindViewById<WebView>(Resource.Id.webView);  webView.SetWebChromeClient(new WebChromeClient());  webVi...
So recently I was trying to build my app for Android 6 by setting the android:targetSdkVersion="23" in the manifest file, everything went well but then I noticed the strange behavior of webview.  In my app I first load some content into the w...
My app relies on web-scraping, for which there don't seem to be as many good libraries in the .NET world as there are in e.g. JS.  What is the best way to embed JS into a Xamarin project, if there is a way?  Preferably with the minimum of effort...
I need to build an app for Android and since I'm a C# monkey (and probably too old to learn Java efficiently), I prefer to do that in .NET. When I was doing research I discovered that MSDN also offers a suggestion to do that using HTML/JavaScript...
I Get error in The Output of Visual Studio:       Uncaught TypeError: Foo.run is not a function   When Trying to Run JavaScript function in Index.html to Call C# Method:       <button type="button" onClick="Foo.run()">Click Me!&...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.