Created
June 1, 2023 10:41
-
-
Save jack-webb/83de91289a9723d60ebc79ae5ab87a11 to your computer and use it in GitHub Desktop.
Opening a URI with ACTION_VIEW
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val url = Uri.parse("https://www.asos.com/") | |
val browserIntent = Intent(Intent.ACTION_VIEW, url)) | |
startActivity(browserIntent) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment