To Examples

TouchEvent1 Example

Goal

Directions

  1. Create a project named TouchEvent1. Leave the layout and activity files with their default names.
  2. Set up the app with these source code files:
        activity_main.xml   MainActivity.java
  3. Run your app to test it. Read the recorded touch events in the Logcat window.