¿Cómo compartir una imagen dibujable a través de Viber y Google Hangout?
mi código funciona bien cuando comparto una imagen a través de WhatsApp ... pero para Viber, Google Hangout recibo el error "No puedo encontrar la foto". Este es mi código:
int ImageResourse=imageAdapter.mThumbIds[position];
Uri path = Uri.parse("android.resource://dragonflymobile.stickers.lifestickers/" + ImageResourse);
Intent shareIntent = new Intent(android.content.Intent.ACTION_SEND, path);
((Activity)getActivity()).setResult(Activity.RESULT_OK, shareIntent); //set the file/intent as result
((Activity)getActivity()).finish(); //close your application and get back to the requesting application like GMail and WhatsApp