The purpose is to add functionality to a copy button on teh screen itself. What it does is it copies the text9 at that pint of time ) in the textview and copies that to the user's clipboard and hence making it available to forward that text and use it in other applications. What do I do?
#Java File.
package com.dreamgoogle.gihf;
import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.widget.ImageButton;
import android.widget.TextView;
public class Quotes extends Activity {
ImageButton next;
ImageButton previous;
ImageButton copytext;
TextView q;
TextView nm;
String[] str;
int i, s;
...
....
....
...
...
...
copytext.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
}
});
}