Retrieve system default Android contact picture path (address) -


/ P>

  content: //com.android.contacts/contacts/1209/photo  

However, that path does not work on all devices, for example, The above default image path is different in Samsung Galaxy S4 .

I could not find the correct answer by searching. For example, the same question I am facing does not solve the problem.

The following image has two types of profile images, one is default and the other is custom:

Then, how to get contact profile default image path from each device?

I had only one problem in the past. The best and simplest solution is to add your own default contact.

Edit

Edit:

This Android default contact is quite easy for PGG image search And add it to your own docs folder by placing it in your contact layout.

Android: layout_height = "wrap_content" Android: src = "@draubable / default image" />
  & lt; QuickContactBadge Android: AD = "@ + ID / Contacts"  

Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -