how do i open my class from main activity?
<p>Im attempting to open my class Speak2 from my main activity with code:</p>

<pre><code>Intent i = new Intent("R.voice.Speak2");
        startActivity(i);
</code></pre>

<p>Please advise?</p>

<p>code:</p>

<pre><code>public class recon extends Activity implements OnClickListener{
ListView lv;
static final int check = 2000;

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.voice);
    lv = (ListView)findViewById(R.id.lvVoiceReturn);
    Button b = (Button)findViewById(R.id.bVoice);
    b.setOnClickListener(this);
}



public void onClick(View v) {
    // TODO Auto-generated method stub
    Intent i = new Intent(recon.this , Speak2.class); 
    startActivity(i);
}


@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    // TODO Auto-generated method stub








    super.onActivityResult(requestCode, resultCode, data);
}
</code></pre>

<p>}</p>

<p>My program is simple , button appears from voice.xml layout and when pressed launches the class activity Speak2, but some problem exists...</p>
