How do I get my contact card/id of a Android phone? eg: the owner of the phone
+2
A:
This is not supported by the Android platform. On some phones (HTC, Sony Ericsson) there is a provider (e.g HTC uses content://contacts/myContactCard) that will retreive this, but this is not supported on all devices.
Nic Strong
2010-05-11 11:02:25
Where do I lookup such documentation eg: HTC's?
Pentium10
2010-05-11 11:43:59
It is undocumented. A rooted phone and smali (http://code.google.com/p/smali/) is the only way. If you query the above provider on an HTC phone you can iterate over the fields to give you the contact structure.
Nic Strong
2010-05-13 08:55:26