I want my application to send emails.

The user can pick arecipient from the contacts.

Then I generate the body text of the email and send it to the email
app ( using something like http://androidguys.com/?p=3100#comment-5168).

The email body looks something like :

-------------------------
Hi {recipientname}!

Please click the following link :

http://www.somewhere.com/action.php?data=9324jlkjfddsfjlk

If you click that like, you will live forever. Bla bla ...

Thank you,

{sendername}
---------------------------------

"{recipientname}" is replaced by the name of the recipient that I get
from the Contacts via Contacts.People.

For convenience, I'd like to replace "{sendername}" with the name of
the sender, that means the name of the owner of the phone. (As stored
in the email app, under Account Settings -> General Settings -> Your
name)   So, obviously that name is stored somewhere, ...

My question:

Is there any way to access this name via a content provider ?
Or is there any other way to get a string (e.g. "John Doe" ) with the
name of the owner/user of the device ?


Any comments appreciated...
--~--~---------~--~----~------------~-------~--~----~
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