Commit 2fa316c0 authored by Philipp Auersperg's avatar Philipp Auersperg

handler

parent 09e6ea81
......@@ -142,4 +142,8 @@ class MainActivity : AppCompatActivity() {
return startForegroundService(intent) //android 8
}
}
fun onAcquirePermissions(view: View){
println("onAcquirePermissions")
}
}
......@@ -105,10 +105,10 @@
android:layout_marginEnd="16dp" app:layout_constraintStart_toStartOf="parent"
android:layout_marginStart="16dp">
<Button
android:text="install"
android:text="perms"
android:layout_width="wrap_content"
android:layout_height="wrap_content" tools:layout_editor_absoluteY="198dp"
tools:layout_editor_absoluteX="1dp" android:id="@+id/button" android:onClick="onInstallApk"/>
tools:layout_editor_absoluteX="1dp" android:id="@+id/button" android:onClick="onAcquirePermissions"/>
<Button
android:text="service"
android:layout_width="wrap_content"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment