aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/java
diff options
context:
space:
mode:
authorIsidro Henoch <imhenoch@protonmail.com>2021-12-03 21:18:33 -0600
committerIsidro Henoch <imhenoch@protonmail.com>2021-12-03 21:18:33 -0600
commitc7039b6b0f6ab0f99fefecac07196ada6da2221a (patch)
treeab598ce96300b71607f9501bbb52b5ac6ea4528c /androidApp/src/main/java
downloadetbsa-trackermap-mobile-c7039b6b0f6ab0f99fefecac07196ada6da2221a.tar.gz
etbsa-trackermap-mobile-c7039b6b0f6ab0f99fefecac07196ada6da2221a.tar.bz2
etbsa-trackermap-mobile-c7039b6b0f6ab0f99fefecac07196ada6da2221a.zip
Inits the project
Diffstat (limited to 'androidApp/src/main/java')
-rw-r--r--androidApp/src/main/java/mx/trackermap/TrackerMap/android/MainActivity.kt20
1 files changed, 20 insertions, 0 deletions
diff --git a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/MainActivity.kt b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/MainActivity.kt
new file mode 100644
index 0000000..e7d1b5e
--- /dev/null
+++ b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/MainActivity.kt
@@ -0,0 +1,20 @@
+package mx.trackermap.TrackerMap.android
+
+import androidx.appcompat.app.AppCompatActivity
+import android.os.Bundle
+import mx.trackermap.TrackerMap.Greeting
+import android.widget.TextView
+
+fun greet(): String {
+ return Greeting().greeting()
+}
+
+class MainActivity : AppCompatActivity() {
+ override fun onCreate(savedInstanceState: Bundle?) {
+ super.onCreate(savedInstanceState)
+ setContentView(R.layout.activity_main)
+
+ val tv: TextView = findViewById(R.id.text_view)
+ tv.text = greet()
+ }
+}