Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
package com.example.puyadaily
import android.content.Intent
import android.net.Uri
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
}
fun wiseManPuya(view: View)
{
intent = Intent(this, Wise::class.java)
startActivity(intent)
}
fun SongPuya(view: View)
{
intent = Intent(this, Song::class.java)
startActivity(intent)
}
fun quizFunc(view: View)
{
intent = Intent(this, PlmQuiz::class.java)
startActivity(intent)
}
fun mixYt(view: View) {
val url = "https://www.youtube.com/watch?v=A-ESOXaVDYw"
intent = Intent(Intent.ACTION_VIEW)
intent.data = Uri.parse(url)
startActivity(intent)
}
}