aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/java/mx/trackermap/TrackerMap
diff options
context:
space:
mode:
Diffstat (limited to 'androidApp/src/main/java/mx/trackermap/TrackerMap')
-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()
+ }
+}