title: Path of the image for "EMAIL" share in phonegap
body: <p>I have implemented slide function for images and now need to set current page as body of the Email and share it in phonegap. i'm able to send the email but not with the image,  can i set the first image as current page and set the path? please help me to give the right path for the Sliding image.</p>
  
  <p>here's my java intent code</p>
  
  <pre><code>private void doSendIntent(String subject, String text) {
      Intent sendIntent = new Intent(android.content.Intent.ACTION_SEND);
  
      sendIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, subject);
      sendIntent.putExtra(android.content.Intent.EXTRA_TEXT, text);           
      this.cordova.startActivityForResult(this, sendIntent, 0);      
      File path = new File(Environment.getExternalStorageDirectory()+"file_path");
      sendIntent.putExtra(android.content.Intent.EXTRA_STREAM,Uri.fromFile(new File(path.getAbsolutePath())));
  }
  </code></pre>
  
  <p>Had implemented image swipe in javascript.</p>
  
  <pre><code>  &lt;div class="swiper-container"&gt;
    &lt;div class="swiper-wrapper"&gt;
    &lt;div class="swiper-slide red-slide"&gt;
       &lt;img src="images/v2.jpg" &gt;
       &lt;div class="wrapper"&gt;
       &lt;button class="button" id="Email" onclick="share()"&gt;Hello&lt;/button&gt;         &lt;/div&gt; 
     &lt;/div&gt;
  
    &lt;div class="swiper-slide blue-slide"&gt;
      &lt;img src="images/v.jpg" &gt;
     &lt;div class="wrapper"&gt;
    &lt;button class="button" id="Email" onclick="share()"&gt;Hello&lt;/button&gt;
    &lt;/div&gt;                
    &lt;/div&gt;
    &lt;div class="pagination"&gt;&lt;/div&gt;
    &lt;/div&gt;
  
   &lt;script&gt;
   var mySwiper = new Swiper('.swiper-container',{
    pagination: '.pagination',
   paginationClickable: true
   })
   &lt;/script&gt; 
  </code></pre>