Treehouse Quick Tips (HD)

Start a New Activity in an Android App


Listen Later

This video will show you how to switch between screens in an Android app.
A new android project starts with one basic activity. There are a variety of ways to switch activities in Android, and in this video we'll see how to use a button on the main screen.
First you'll want to create a new activity. Then use a button on the first activity and an onClick listener to switch activities. The intent will execute the switch between activities.
Intents are very powerful and can make use of so many apps, classes, and services on your device.
...more
View all episodesView all episodes
Download on the App Store

Treehouse Quick Tips (HD)By Treehouse

  • 5
  • 5
  • 5
  • 5
  • 5

5

7 ratings