There is a link that needs to be opened in the browser. How can I do that? At Activity - by intent, and at fragments how?
code
String ur="vk.com";//ваша ссылка без http Intent i=new Intent(Intent.ACTION_VIEW); i.setData(Uri.parse("http://"+ur)); getActivity().startActivity(i);
Source: https://ru.stackoverflow.com/questions/847166/More articles:How to save in the folder the picture received from the user through the form?Replacing special characters with numbers in orderUserControl not displayed in WinForms ConstructorAccess to a remote folder on the Windows local network in phpPassing through the list to form a list of Python listsSMS does not come Firebase auth phone numberHow to change download folder? Google chrome extensionOutput a specific string from txt to an HTML pageHow to exit “Edit as Table” mode in PhpStorm?Srcset WordPress. Links to images using httpsAll Articles