[android-developers] Re: Android Dev Phone 1™
I also called up and immediately got through. Got my UPS tracking number and it's on it's way.I ordered mine on the 6th Dec and it shipped on the 9th. UPS tells me it will be here (Australia) on the 17th Dec -- iPhone, Android and Geolocation ramblings - http://jtribe.blogspot.com/ On Fri, Dec 12, 2008 at 10:56 AM, kpowerinfinity kpowerinfin...@gmail.comwrote: I just a mail saying the order has been shipped. The Brightstar site still shows no orders. So, that might be some help to others having a similar issue. Krishna. -- http://kpowerinfinity.wordpress.com http://www.linkedin.com/in/kpowerinfinity --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Sending E-mail Programatically from Android Emulator
Hi Andrew, We've had to deal with the combination of no hardware outside the US and UK(can't wait to get my developer phone), no GMail app in the Emulator and only recently including the Mail app as part of the SDK. Even with the mail app now in the emulator, it does not respond to subject and body content in the intent. I assume the GMail app responds nicely to these things, but without being able to test it we've had to fall back to sending emails from our servers. Hopefully when the developer phone arrives this will change so full credit to Google recognizing this as a need. On Thu, Dec 11, 2008 at 5:00 PM, Andrew Stadler [EMAIL PROTECTED] wrote: We've been strongly recommending (in other threads here) against sending email behind a user's back. This has two problems: It creates a tremendous opportunity for abuse, and it is extremely difficult to properly configure (do you know the user's credentials and server?) A much more straightforward approach is to let Email or Gmail send the outgoing mail for you. All you have to do is configure and send an Intent with a View action and a mailto: scheme. See http://code.google.com/android/reference/android/content/Intent.html#ACTION_VIEW for more information. On Wed, Dec 10, 2008 at 8:29 PM, And-Rider [EMAIL PROTECTED] wrote: Hi all, Can anyone help me as how to send an Email programatically from an android emulator.I got a sample code from this website.. http://davanum.wordpress.com/2007/12/22/android-send-email-via-gmail-actually-via-smtp/ But the code doesn't seem to be working in the new SDK I later tried a program using JavaMail API .It worked fine when i ran it as a java application.But when ran the same code after converting it into an android project i got the following error. 12-11 09:58:03.117: WARN/dalvikvm(209): Link of class 'Ljavax/ activation/DataHandler;' failed 12-11 09:58:03.127: WARN/dalvikvm(209): VFY: unable to resolve new- instance 322 (Ljavax/activation/DataHandler;) in Land/mail/ GMailSender; 12-11 09:58:03.127: WARN/dalvikvm(209): VFY: rejecting opcode 0x22 at 0x0008 12-11 09:58:03.127: WARN/dalvikvm(209): VFY: rejected Land/mail/ GMailSender;.sendMail (Ljava/lang/String;Ljava/lang/String;Ljava/lang/ String;Ljava/lang/String;)V 12-11 09:58:03.127: WARN/dalvikvm(209): Verifier rejected class Land/ mail/GMailSender; 12-11 09:58:03.127: DEBUG/AndroidRuntime(209): Shutting down VM 12-11 09:58:03.127: WARN/dalvikvm(209): threadid=3: thread exiting with uncaught exception (group=0x40010e28) 12-11 09:58:03.137: ERROR/AndroidRuntime(209): Uncaught handler: thread main exiting due to uncaught exception 12-11 09:58:03.167: ERROR/AndroidRuntime(209): java.lang.VerifyError: and.mail.GMailSender 12-11 09:58:03.167: ERROR/AndroidRuntime(209): at and.mail.mail.onCreate(mail.java:14) 12-11 09:58:03.167: ERROR/AndroidRuntime(209): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java: 1122) 12-11 09:58:03.167: ERROR/AndroidRuntime(209): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2103) 12-11 09:58:03.167: ERROR/AndroidRuntime(209): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: 2156) 12-11 09:58:03.167: ERROR/AndroidRuntime(209): at android.app.ActivityThread.access$1800(ActivityThread.java:112) 12-11 09:58:03.167: ERROR/AndroidRuntime(209): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1580) 12-11 09:58:03.167: ERROR/AndroidRuntime(209): at android.os.Handler.dispatchMessage(Handler.java:88) 12-11 09:58:03.167: ERROR/AndroidRuntime(209): at android.os.Looper.loop(Looper.java:123) 12-11 09:58:03.167: ERROR/AndroidRuntime(209): at android.app.ActivityThread.main(ActivityThread.java:3742) 12-11 09:58:03.167: ERROR/AndroidRuntime(209): at java.lang.reflect.Method.invokeNative(Native Method) 12-11 09:58:03.167: ERROR/AndroidRuntime(209): at java.lang.reflect.Method.invoke(Method.java:515) 12-11 09:58:03.167: ERROR/AndroidRuntime(209): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:739) 12-11 09:58:03.167: ERROR/AndroidRuntime(209): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:497) 12-11 09:58:03.167: ERROR/AndroidRuntime(209): at dalvik.system.NativeStart.main(Native Method) 12-11 09:58:03.177: INFO/Process(53): Sending signal. PID: 209 SIG: 3 I searched for previous posts in this group for help but i could not find a solution .Could somebody help me... -- iPhone, Android and Geolocation ramblings - http://jtribe.blogspot.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group,
[android-developers] Re: Sending email
I'm assuming you meant to say it only works on the phone, not the emulator :) On 04/11/2008, at 1:13 AM, john [EMAIL PROTECTED] wrote: Unfortunately yes, this only seems to work on the emulator. We had to break down and buy a G1 (as well as a two-year plan) so we could realistically get our software tested and released. It would be interesting, though, to see if you could install the email program on the emulator. If you do, you might want to post it to help some people out. Good luck! On Oct 31, 4:04 pm, dbradby [EMAIL PROTECTED] wrote: John - I'm assuming this only works on the real device and not the emulator? I'm trying Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.putExtra(Intent.EXTRA_TEXT, email text); sendIntent.putExtra(Intent.EXTRA_SUBJECT, Subject); sendIntent.setType(message/rfc822); startActivity(Intent.createChooser(sendIntent, Title:)); and am getting No Applications can perform this action which is the same when you select the email address in the contact list of the emulator. Prob because there is not email client in the emulator right? Justin - Is it possible to have access to the .apk for the mail programs that come with the G1 so we can install them on the emulator? Thanks On Nov 1, 12:36 am, john [EMAIL PROTECTED] wrote: Hey, that did it! I set the the mime type to 'message/rfc822' and it worked right away. Brings up the default mail application with the fields that I specified populated. I had been trying to send it with a mime of text/plain and text/ html. I thought that by specifying an EXTRA_EMAIL it would fire the right broadcast receivers, but I guess the mime type is what counts. Thanks again! On Oct 30, 3:20 pm, Justin [EMAIL PROTECTED] wrote: John, Take a look athttp://code.google.com/android/reference/android/ content/Intent.html, there are several e-mail related fields you probably want to set. For a mime type try 'message/rfc822' or 'message/rfc2822'. I haven't tried this myself, so let me know how it works. Cheers, Justin Android Team @ Google Original Message Follows: From: john [EMAIL PROTECTED] Subject: [android-developers] Sending email Date: Thu, 30 Oct 2008 08:02:36 -0700 (PDT) Hello! Thanks in advance for trying to help me out. It doesn't seem like anyone has found a solution to this problem yet, so hopefully we can figure this out and help a lot of people. I'm trying to get my application to send an email, but i can't seem to find any solutions. Here's what I'm trying: I've got an Intent (called sender in this example) set to Intent.ACTION_SEND, with various email extras. When I try startActivity(Intent.createChooser(sender, Select send method.)); I get No application can handle this request And when I try sendBroadcast(Intent.createChooser(sender, Select send method.)); Nothing happens at all. Is there something I need to put in my manifest file, or am I doing this completely wrong? Any help anyone can offer would be greatly appreciated. Happy coding! -John --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com 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 -~--~~~~--~~--~--~---