• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Starting new activity (screen) freezes android app

eljainc

Lurker
I have developed a simple android app where there are two screens. One class has a running activity. At the bottom of the screen there is a submit
button. When I press submit, the following code is executed:

public void getCountingMatrix()
{
//clear screen
Intent i = new Intent(this,
//FishCounting.this,
CountingMatrix.class);
startActivity(i);

}

When I run this, the second screen is displayed and runs normally. This only happens on the emulator. I have Android 1.6 as my target environment.

When I install the APK file on the android tablet, when I click the 'Submit' button, the activity is not started. I do not see the second screen.
Why might this be happening? I am stuck now.

Thanks
Mike
 
Back
Top Bottom