My Android Java isn't printing photos out?
<p>My code is meant to get the  URLs for a user's photos when they are logged into Facebook. It does this successfully. however, when I try to output them to the screen in my app, nothing happens. Why is this? My code is below:</p>

<pre><code>        super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_my_photos);
    Profile profile = Profile.getCurrentProfile();
     final String id= profile.getId();
    GraphRequest request = GraphRequest.newMeRequest(
            AccessToken.getCurrentAccessToken(),
            new GraphRequest.GraphJSONObjectCallback() {
                @Override
                public void onCompleted(
                        JSONObject object,
                        GraphResponse response) {

                    JSONObject photos = object.optJSONObject("photos");
                    JSONArray data = photos.optJSONArray("data");

                    for(int i =0;i&lt;data.length();i++) {
                        JSONObject link = data.optJSONObject(i);
                        String link2 = link.optString("picture");
                        Log.e("Photos", String.valueOf(link2));
                        URL url = null;
                        try {
                            url = new URL(link2);
                        } catch (MalformedURLException e) {
                            e.printStackTrace();
                        }
                        Bitmap src = null;
                        try {
                            src = BitmapFactory.decodeStream(url.openConnection().getInputStream());
                        } catch (IOException e) {
                            e.printStackTrace();
                        }
                        Bitmap dest = Bitmap.createBitmap(src.getWidth(), src.getHeight(), Bitmap.Config.ARGB_8888);
                        Canvas cs = new Canvas(dest);

                        cs.drawBitmap(dest,20f,20f,null);


                    }

                }
            });
    Bundle parameters = new Bundle();
    parameters.putString("fields", "id,name,picture,photos{link,picture}");
    request.setParameters(parameters);
    request.executeAsync();
</code></pre>