android upload photo using share intent error
<p>i am trying to allow the user to upload photos via share intent.
but i get an exception:tag scaleimagetask.run  no content provider /mnt/sdcard/pic.png
do ineed to add something to the manifest or do something else?</p>

<p>my code:</p>

<pre><code>{
    Intent sharingIntent = new Intent(Intent.ACTION_SEND);
    Uri phototUri = Uri.parse(path);
    sharingIntent.setData(photootUri);
    sharingIntent.setType("image/png");
    sharingIntent.putExtra(Intent.EXTRA_STREAM, photootUri);
    getContext().startActivity(Intent.createChooser(sharingIntent, "Share image using"));
}
</code></pre>
