Congratulations - C# Corner Q4, 2022 MVPs Announced
Why Join
Become a member
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
masoud ke
2.2k
5
4.9k
download link not work in webview
Jan 19 2017 1:22 AM
hi.
i us webview in my android app. and i load web page in webview.web page continio download link.but i
Click
in link is not work.
Programs written in Visual Studio
2013 and xamarin.android.
C#
code webview :
w = FindViewById
(Resource.Id.webView1);
w.Settings.LoadsImagesAutomatically = true;
w.Settings.JavaScriptEnabled = true;
w.SetWebViewClient(new mybrowser2());
w.LoadUrl("http://mypage");
// code for open page in webview
public class mybrowser2 : WebViewClient
{
public override bool ShouldOverrideUrlLoading(WebView view, string url)
{
view.LoadUrl(url);
return true;
}
}
Reply
Answers (
1
)
C# code to shut down remote pc in Lan network
Get the array element in between a string in c#