Hi Quill, Can you please tell me how to set up gmail account? I am getting following error during email settings for gmail account using inbuilt Email.apk application (android 1.5-r1 version): “Unable to open connection to the server”
Any help will be greatly appreciated. I am using following settings: Incoming settings- IMAP server: imap.gmail.com Port: 993 Security type: SSL (always) After giving above incoming setting, pressing Next button. Then it start checking for incoming settings and I got error “Unable to open connection to the server” Outgoing settings- SMTP server: smtp.gmail.com Port: 465 Security type: SSL (always) Thanks in advance, devendra On Jun 30, 11:39 am, quill <[email protected]> wrote: > I just copy the code fromhttp://www.openintents.org/en/node/121to > test if I can send .txt or .mp3 file as email attachment, > Intent sendIntent = new Intent(Intent.ACTION_SEND); > sendIntent.setType("audio/mp3"); > sendIntent.putExtra(Intent.EXTRA_STREAM, "file:///sdcard/mysong.mp3"); > sendIntent.putExtra(Intent.EXTRA_SUBJECT, "Subject"); > startActivity(Intent.createChooser(sendIntent, "Title:")); > > But I got an error said that No applications can perform this action. > My android sdk is cupcake1.5, and I have already set up my gmail > acount in Email application. > Anyone knows why? If I set the type as "*/*"(sendIntent.setType("*/ > *");), it can launch the Email activity but with no attachment. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

