i have some data in listview from list view i want to send my one field to dialogbox ` l=(ListView) findViewById(android.R.id.list); l.setOnItemClickListener(new AdapterView.OnItemClickListener() {
@Override
public void onItemClick(AdapterView<?> arg0, View v,int position, long arg3) {
TextView textView = (TextView) v.findViewById(R.id.name);
String text = textView.getText().toString();
Toast.makeText(getApplicationContext(),text,Toast.LENGTH_SHORT).show();
final Dialog dialog = new Dialog(context);
dialog.setContentView(R.layout.customdailog);
dialog.setTitle("Fill This Form");
// set the custom dialog components - text, image and button
EditText DrName,Patient_mobile,Useame;
DrName=(EditText)findViewById(R.id.DortorName);
DrName.setHint("sss");
ImageView image = (ImageView) dialog.findViewById(R.id.image);
image.setImageResource(R.drawable.ic_launcher);
Button dialogButton = (Button) dialog.findViewById(R.id.dialogButtonOK);
dialog.show();
`
