Changing Button's Text Dynamically
<p>I had already setup the buttons and the layout properly, but I'm having an issue to dynamically change the text in the buttons</p>

<p>|B|P|M|F|</p>

<p>When the letter b is clicked: change b to e, f, g and each change of letter stops for 1 second
When the letter p is clicked: change p to q, r, s and each change of letter stops for 2 second
and so on. </p>

<p>I searched Google, and many results show that I need some sort of threading to accomplish it. Can anyone point me to the right direction?</p>

<p>Thanks</p>

<p>Sorry if I wasn't clear enough. My exact problem is to change the text when the user has touched on a button 4 times that pauses each changed text for 1 to 2 seconds not exactly. This is part of the source code</p>

<pre><code>public class someClass extends Activity implements OnClickListener
{
    //Single Vowels
    Button a_button;
    MediaPlayer mp = new MediaPlayer();
    public void onCreate(Bundle savedInstanceState) 
    {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);  

        MediaPlayer.OnCompletionListener completionListener = new MediaPlayer.OnCompletionListener()
        {
            public void onCompletion(MediaPlayer mediaP) 
            {
                mediaP.stop();
                mediaP.release();
            }
        };

        mp.setOnCompletionListener(completionListener);

        a_button = (Button)findViewById(R.id.a_button);
        a_button.setOnClickListener(this);
    }

    public void onClick(View v) 
    {
        switch(v.getId())
        {
              case R.id.a_button:
              mp = MediaPlayer.create(this, R.raw.a_multiple);
              mp.start();   
              break;
        }
    }
}
</code></pre>

<p>So what I want to do is when the user pressed the button, there would be some sort of speech, for example, this is an apple, and the text will change accordingly with the speech. The speech is pre-recorded, and all I have to do is to trial and error and match the speech with the changing words. In total I have about 10+ buttons that does the same thing.</p>
