Hi,
I am trying to write a simple multiple activity application - each of which
has a xml layout file (containing a button)
On the button click, the need to switch between the activities.
My onClick() looks like this
{
Intent myIntent = new Intent("Multi2");
Activity act2 = new MultipleActivity();
act2.startActivity(myIntent);
}
And I have exact replica of code in my second activity as well.
However, when I click on my button, it freezes. Sometimes, there is a force
close warning.
What am I doing wrong?
Regards,
UE.
--
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en