title: Android: How to get facebook profile picture into my dialog
body: <p>I am working on a dialog box. When I click a button it should open  a dialog box  with a Facebook profile image. How can I achieve this? Below is my dialog box.</p>
  
  <pre><code>final Dialog dialog = new Dialog(context);
                          dialog.setContentView(R.layout.customdailog);
  
  
  
                          ImageView image = (ImageView) dialog.findViewById(R.id.imageView2);
                          image.setImageResource(R.drawable.fb);
  
                          Button dialogButton = (Button) dialog.findViewById(R.id.fbshare);
  
                          dialogButton.setOnClickListener(new OnClickListener() {
  
                              public void onClick(View v) {
                                  dialog.dismiss();
                          }
  
                          });
                          dialog.show();
                          break;
                      }
  </code></pre>