Currently i have slider images, where each image is placed on single slide page with the "share" button on top of it. if clicked on share button current Page image should be shared via email and mms, to do this first i need to convert the images to bitmap from drawable. arg_object.getString("image")) is the url of image. i'm able to get for converting individual images but not for overall. please help me.
heres my code for it
Bitmap bbicon = { BitmapFactory.decodeResource(this.cordova.getActivity().getResources
(),"R.drawable."+arg_object.getString("image"))};
but on decodeResource i'm getting error as The method decodeResource(Resources, int) in the type BitmapFactory is not applicable for the arguments (Resources, String)