You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
502 B
18 lines
502 B
package com.example.garagedoor
|
|
|
|
import androidx.appcompat.app.AppCompatActivity
|
|
import android.os.Bundle
|
|
import android.webkit.WebView
|
|
|
|
class GarageViewActivity : AppCompatActivity() {
|
|
|
|
override fun onCreate(savedInstanceState: Bundle?) {
|
|
super.onCreate(savedInstanceState)
|
|
setContentView(R.layout.activity_garage_view)
|
|
|
|
val myWebView = WebView(this)
|
|
setContentView(myWebView)
|
|
myWebView.loadUrl("http://70.123.32.254:1234/sensor")
|
|
|
|
}
|
|
}
|