Creating a Button: Android Programming HD

09.01.2017
Demo of using Android Studio to create a simple application with a button which generates a log message and a toast. 1. Launch Android Studio; create simple hello-world app. 2. See XML and .java code for activities 3. Add a button, change name, see XML 4. Java code to access button: View.OnClickListener 5. Generate a log message when button is clicked. 6. Generate a toast when button is clicked. 7. Show where to find the compiled R class.

Похожие видео

Показать еще