SQLite DB によって入力された ListView を使用したアクティビティがあります。ダイアログボックスとしてアクティビティを開き、行を選択して、ダイアログを開いたActivityのTextViewにコンテンツを表示します...最善の方法は? ありがとう
AlertDialog.Builder builder2=new AlertDialog.Builder(MainActivity.this);
builder2.setTitle(getString(R.string.titolo_alert_versione_lite));
builder2.setMessage(getString(R.string.titolo_alert_testo__lite));
builder2.setPositiveButton("Google Play",new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
Uri uri = Uri.parse("https://play.google.com/store/apps/details?id=");
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
startActivity(intent);
}
});
builder2.setNegativeButton("NO", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
}
});
builder2.show();