I have the following code which when testing in the emulator takes me
correctly to being able to send an email. However, the TO field isn't
displaying the email(in this case [email protected]). Is there something
that I am missing Thanks.


public boolean onTouch(View v, MotionEvent event) {
                                if(event.getAction() == MotionEvent.ACTION_DOWN)
                                {

                                        Intent displayIntent = new 
Intent(Intent.ACTION_SEND);
                                        String[] extra = new String[ 
]{"[email protected]"};
                                        displayIntent. 
putExtra(Intent.EXTRA_EMAIL, extra);
                                        
displayIntent.putExtra(android.content.Intent.EXTRA_SUBJECT,
"Subject");
                                        displayIntent.setType("text/plain");
                //
                                        _this.startActivity(displayIntent);
                                }
                                return true;
                        }

-- 
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

Reply via email to