android - Universal Image Loader: Share Intent Null Pointer -


I have implemented a Share button in my ImagePagerActivity.java but this is not a null pointer when the image is attached I try to share, the image is not attached Please help.

  ishare = (button) findViewById (R.id.share); Ishare.setOnClickListener (New View. OnClickListener) {@Override Public Zero onClick (Final View View) {... // Image Intent Intent = New Intent (to send intent.ACTION_SEND) Create new intent; // Set Intent Type Create the URI of the .setType ("image / png"); // image link integer index = pager.getCurrentItem (); imageUrls thrust = null;; Uri uri = Uri.parse (imageUrls [index]); // excess Image link with set URI intent.putExtra (Intent.EXTRA_STREAM, uri) made from;}}); // Share startActivity (Intent.createChooser (intent) to share with "Share Image") Start new activities,  


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -