Note

When you start your application, the Activity that will be opened is the AndroidViews Activity that you created with your project. Therefore, place the following code in AndroidViews.java for the purpose of starting the Test Activity.

Intent testActivity = new Intent(this, test.class);

This line creates an Intent called testActivity. The parameter test.class tells the call that you want the Intent testActivity to represent the Test Activity you created that is associated with this Activity.

0 0

Post a comment