top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to Share Image from Remote url in Android?

+2 votes
267 views

Hi, I have built an application using android programming and I want to forward & sharing image from one application to other which was loaded from a remote url.

void onShareItem(View v) {

ImageView ivImage = (ImageView) findViewById(R.id.ivResult);

Uri bmpUri = getLocalBitmapUri(ivImage);
if (bmpUri != null) {

    Intent shareIntent = new Intent();
    shareIntent.setAction(Intent.ACTION_SEND);
    shareIntent.putExtra(Intent.EXTRA_STREAM, bmpUri);
    shareIntent.setType("image/*");
posted Jan 30, 2017 by Kyle Flores

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+1 vote

Is there any option to set the limit on the number of RemoteViews widgets that user can put in the Homescreen.

+1 vote

Please give a work flow, java code is not necessary.

0 votes

Hi everyone, I have been working on android application and want to know your views on creating radar view in android with example code. I am also very curious about various other programming questions and answers because I also got stuck in some android issues, that is why I am looking for some mobile development blogs where the evolving community can help me to resolve my queries.

...