I would like to display a link in my AlertDialog, but after multiple attempts it still displays it as plain text.
I have tried the suggestions in the following links: How can I get clickable hyperlinks in AlertDialog from a string resource?
Here is my current state:
     final TextView msg = new TextView(context);
    final SpannableString s = new SpannableString("https://play.google.com/store/apps/details?id=com.google.zxing.client.android");
    Linkify.addLinks(s, Linkify.WEB_URLS);
    msg.setText("BradcodeScanner app must be installed on your phone\n" +
               "click on the link below.\n\n" +s);
    msg.setMovementMethod(LinkMovementMethod.getInstance());
    info_img = (ImageView) findViewById(R.id.qr_info);
    info_img.setOnClickListener(new View.OnClickListener() {
        public void onClick(View v)
        {
            new AlertDialog.Builder(context)
                    .setTitle("QR Location Scan")
                    .setView(msg)
                            .setPositiveButton(android.R.string.yes, new DialogInterface.OnClickListener() {
                                public void onClick(DialogInterface dialog, int which) {
                                    return;
                                }
                            })
                                    .setIcon(android.R.drawable.ic_dialog_info)
                                    .show();
        }
    });
 
     
     
    