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. build compilation issue on 64 bit machine

Hi All ,

i am trying to compile the latest source code on 64 bit machine .
running into the below error messages .
jave version - 1.6
using the prebuilt/linux-x86/toolchain/arm-eabi-4.4.0 version


/tmp/ccc5CID8.s: Assembler messages:
/tmp/ccc5CID8.s:321: Error: symbol `lstat64' is already defined
/tmp/ccc5CID8.s:351: Error: symbol `fstat64' is already defined
/tmp/ccc5CID8.s:381: Error: symbol `stat64' is already defined
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/
libLLVMJIT_intermediates/Intercept.o] Error 1
make: *** Waiting for unfinished jobs....
Command exited with non-zero status 2

any help would be appreciated

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Porting some items without pay

http://123maza.com/25/hand128/

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. start activity from a overlay in maps

4. Droid X Injected Smar

5. GUdeG-ROM v1.0 Eclair asli Yogya untuk HTC EV

6. know own account(gmail)

7. Porting Eclairs to Samsung InstinctQ