tags:

views:

56

answers:

1
     I use the following send mail application  in android from           

http://stackoverflow.com/questions/2020088/sending-email-in-android-using-javamail-api-without-using-the-default-android-ap/2033124#2033124

    and got the  warning 
    10-07 17:58:22.762: INFO/SSLSocketFactory(925): 
    Using factory org.apache.harmony.xnet.provider.jsse.OpenSSLSocketFactoryImpl@4007ed70 
  10-07 17:58:23.063: DEBUG/NativeCrypto(925): SSL_OP_NO_SSLv3 is set
    10-07 17:58:23.573: INFO/global(925): Default buffer size used in         
   BufferedOutputStream constructor. It would be better to be explicit if an 8k   
   buffer     is required.

   10-07 17:58:23.573: INFO/global(925): Default buffer size used in 
    BufferedInputStream constructor. It would be better to be explicit if an 8k   
   buffer  is required.

   10-07 17:58:24.172: INFO/global(925): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.

please Help me to find solution

A: 

Hai try this code.,

Intent sendIntent;

sendIntent = new Intent(Intent.ACTION_SEND);
sendIntent.putExtra(Intent.EXTRA_SUBJECT,
"Test");
sendIntent.putExtra(Intent.EXTRA_TEXT,
"Hy Testing");
sendIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse("file://"
+ file.getAbsolutePath()));
sendIntent.setType("image/jpeg");
startActivity(Intent.createChooser(sendIntent, "Send Mail"));
Tilsan The Fighter
for more info: refer this url: http://stackoverflow.com/questions/3585556/how-to-send-email-in-android/3585701#3585701
Tilsan The Fighter