Share via

Webview verse REST code

Edward Benoit 21 Reputation points
2021-12-21T19:47:35.47+00:00

Below is the code I was using to connect to my website. Need code to replace webview code with REST code because Webview no longer work and not supported.

Button1.Click += (sender, e) =>
{

            Button1.Visibility = Android.Views.ViewStates.Gone;
            TheRegButton.Visibility = Android.Views.ViewStates.Gone;

            WebView webView = FindViewById<WebView>(Resource.Id.webView1);
            webView.Settings.JavaScriptEnabled = true;

            webView.LoadUrl("https://www.smbudget3.com/shopping_signon.aspx"); // (ok now) err_connection_reset
                                                                                                                                // webView.LoadUrl("https://www.smbudget3.com/budgetsignonandroid.aspx");
        };
Microsoft Partner Center API
0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.