Creating a Button: Android Programming

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

Recommended