I want to redirect the user to another activity that opens a internet url. On button click.
Here is my code so far
Button(onClick = { val intent = Intent(Intent.ACTION_VIEW, Uri.parse("http://www.google.com")) // Here is some code that starts the activity }) { Text(text="APPLY HACK") }