pass from interface a to interface b with android
<p>Hello
I'm beginning with android development
I created two interfaces, the first a.xml and the second b.xml.</p>

<p>In the first I have an ImageButton. My goal is to switch to interface b when the user clicks on the ImageButton (button.setonclicklistner).</p>

<p>How can I use the activity and intent to navigate between the interfaces
(I have one file java pg.java 
the intent function parameters ActivtyA.class. I don't inderstand it (I haven't a file pg.class)</p>

<p>Thank you</p>
