I have in integer array in which I have images from drawable folder. Now I want to share image from that integer array to facebook wall.I tried the code below
Uri imageuri = Uri.parse("android.resource://" + "package name/" + mBitmapIds[int_image_position]);
String filePath = imageuri.getEncodedPath();
Bundle bundle=new Bundle();
bundle.putString("picture", filePath);
facebookConnector.getFacebook().request("me/feed", bundle, "POST");
where mBitmapIds is int array but it is not posting the image on wall. can anybody tell me how can I do that. Thanks in advance.