How to change activities using buttons and intents?
I went through many sites to know how to change activity in android using buttons. None of them worked for me. It either gives a java error or force closes. Please can anyone give me a simple example and explain?

Take these parameters
Main activity: Act1
Next activity: Act2
Button id: entry

How to change activities using buttons and intents?
===

I went through many sites to know how to change activity in android using buttons. None of them worked for me. It either gives a java error or force closes. Please can anyone give me a simple example and explain?

Take these parameters
Main activity: Act1
Next activity: Act2
Button id: entry
