Android Enhancing Alert Dialogs edit

Alert dialog containing a clickable link

In order to show an alert dialog containing a link which can be opened by clicking it, you can use the following code:

AlertDialog.Builder builder1 = new AlertDialog.Builder(youractivity.this);

builder1.setMessage(Html.fromHtml("your message,<a href=\"\">link</a>"));

builder1.setPositiveButton("ok", new DialogInterface.OnClickListener() {
    public void onClick(DialogInterface dialog, int which) {

AlertDialog Alert1 = builder1.create();
Alert1 .show();

Feedback about page:

Optional: your email if you want me to get back to you:

Enhancing Alert Dialogs/
Enhancing Alert Dialogs
Alert dialog containing a clickable link

Table Of Contents
64 Menu
112 Loader
119 Xposed
132 Colors
135 Fresco
140 AdMob
147 Button
156 Vk SDK
170 XMPP
176 OpenCV
200 FileIO
203 Moshi
217 Paint
231 AIDL
241 JCodec
243 Okio
252 Enhancing Alert Dialogs
255 Looper
  ↑ ↓ to navigate     ↵ to select     Esc to close