Get the name of the owner of the phone? (the email sender)

by Noonien Soong » Thu, 29 Jan 2009 03:03:50 GMT


Sponsored Links
 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...
--~--~---------~--~----~------------~-------~--~----~



Get the name of the owner of the phone? (the email sender)

by Noonien Soong » Sat, 31 Jan 2009 01:11:40 GMT


 anyone?
--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Get the name of the owner of the phone? (the email sender)

by Zombies and Robots » Thu, 19 Feb 2009 02:22:08 GMT


 I've been doing some research on this topic myself, but so far, I
haven't come up with anything.  It seems like a very simple question.

Does anyone else have an idea?

I'm going back to scouring the API...
--~--~---------~--~----~------------~-------~--~----~



Get the name of the owner of the phone? (the email sender)

by tberthel » Sat, 11 Apr 2009 07:56:56 GMT


 Did you ever find this solution?



--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Gallery Displays Every Image File

LG Optimus M v2.2.1
I Have two of them, both with very similar set-ups, including
applications but my wife's Gallery app displays every image file
that's on her phone or sd card, including fonts. This is her second LG
Optimus M in 2 months and the first one did this as well but we
insisted on the replacement for a different issue.

-- 

2. GroupActivity

GroupActivity

-- 

3. How to remove the icon when this app has been set disabled.

4. How to check network is present or not

5. How can i know current foreground activity(not from service)?

6. Regarding Page Curl...

7. Call Tracing on Android