IOSD_Counter_App
A counter app made for demonstration in IOSD session. The Increment and Decrement buttons increment and decrement the count respectively and the changes are reflected on the text view.
Installation
Install Android Studio from here.
Enable USB debugging in Android phone
Steps to enable USB debugging can be found here.
Create a new Android Studio project
Follow the steps here.
Run the App
Follow the steps here.
Tip: Choose Empty activity initially to avoid complexity.
Topics covered
-
Package name
-
Activity
-
Layouts - FrameLayout, LinearLayout (horizontal, vertical), RelativeLayout, ConstraintLayout
-
TextView
-
Button
-
OnClick event
-
findViewById() method