Contains python control script, Android app code, schematics, and an installer script to automate installation on the Pi.
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.
|
|
package com.example.garagedoorcontroller
import androidx.appcompat.app.AppCompatActivityimport android.os.Bundleimport android.webkit.WebView
class GarageOpenActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_garage_open)
val myWebView = WebView(this) setContentView(myWebView) myWebView.loadUrl("http://70.123.32.254:1234/login")
}}
|