On Android 4.4.3 , the contact's avatar displays the first letter by default, but does not support Chinese characters such as:If the first digit of the contact's name is an English character (A-Z | | A-Z), the default avatar will display the first letter.If the first Chinese character is displayed when Chinese is supported, it will be happy.Then let's see how to do this by modifying the source code to achie
A small example of android's support for group and contact display
First look:
To achieve this effect, the activity must implement ExpandableListActivity.
@ Overridepublic void onCreate (Bundle savedInstanceState) {super. onCreate (savedInstanceState); requestWindowFeature (Window. FEATURE_NO_TITLE); setContentView (R. layout. main); mContactListView = getExpandableListView (); mContactListView. setBack
1. New contact---Site item Enter "tel:012345678901" (if the number is greater than 10 digits after the colon), save.2. Go to the Contact list and click on the contact avatarResults:Exception thrown in Webaddress.java, program stops runningThe problem occurs because when you click the Quickcontact icon for a contact tha
I. Preface:
Recently, the task has been completed temporarily. There is one or two days of idle time. Therefore, I want to sort out the android contact to facilitate myself later.
All database tables of Android contact have contacts2.db (Path:/data/COM. Android. provider
Recently, the contacts who are developing the Android platform are summarized and shared with you:
Parameters:
String name, contact name
String homephone, home phone number
String mobile, mobile phone
String workphone, company phone number
String workfax, Company Fax
String emailaddr, email address
String MSN,String Skype,
String QQ,
String company, company name
String position, position
String homeaddr, h
Android dial can match a contact for the first time. After the phone number is prefixed and the phone number is called, the contact cannot be matched.1: Modify ContactsProvider2.java, queryDialerSearchIncrement ().Before modification,(1). + DialerSearchLookupColumns. CALL_LOG_ID + "> 0" + "AND" + ...... about L: 9226(2). + DialerSearchLookupColumns. CALL_LOG_ID +
Tags: Your blocking policy prevents us from completing this operation for you. For more information, contact the technical support staff. 1. symptom description: When a linked text is opened in Excel, "Your blocking policy prevents us from completing this operation for you. For more information, contact the technical suppor
Sql2k was successfully installed, and an error occurred during restoration. It was preliminarily determined that it was a path problem and the solution was found online. an error is reported during the backup process. If an internal consistency error occurs, contact the technical support staff for assistance.
The following are the search results to solve the problem.
An error occurred while restoring
default, files can only be accessed by created applications.3. database (RDBMS): SQLite method. For more information, see the usage of SQLite. It is accessed by the created application.4. Network: Android provides APIs to remotely store data on servers.
If you want to share data in an application, use Content Provider. Regardless of the data storage method, Content Provider provides a unified interface. Data will be provided in a table-like manner, w
This article describes the development of the Android API SMS SMS service processing and access to the method of contact person. Share to everyone for your reference, specific as follows:
The Android API supports the development of applications that can send and receive SMS messages. The Android emulator used in our d
The contacts in the Android system are also available through ContentProvider, where we get all the contacts, get contacts by phone number, add contacts, add contacts using transactions.Get all Contacts1. The contacts in the Android system are also available through the ContentProvider for external data.2. The database path is:/data/data/com.android.providers.contacts/database/contacts2.db3. There are 3 tab
);For (contentproviderresult result: Results){Log. I (TAG, result. Uri. tostring ());}}}*************************************** **************************************** ************************Here we mainly useContactscontract classSince Android 2.0 SDK, the class related to the contact provider has changed to contactscontract, although the old android. provide
In a web project, you can dynamically add Contacts and modify them, for example:
We can see from the above four figures that the contact function on the Web can have a maximum of seven lists. After each list is selected, it can be modified, as shown in Figure D. If you select a contact, the contact cannot be selected because there is no data.
Port to
This article from http://blog.csdn.net/xjanker2, reference reprint must indicate the source!
In the previous article, we used the call and text message function, but we do not know the contact information. This article describes how to get the contact information of the Local Machine from Android.
Due to the rapid Android
Android mobile guard-obtains and displays contact information and ECHO, android echo
The previous article has implemented related la S. This article then implements relevant functions.
For more information, see http://www.cnblogs.com/wuyudong/p/5951794.html.
Read system contacts
After you click "select contact", the
Android study note 21. Use ContentProvider for data sharing (4). ContentProvider and androidprovider of the Operating System (contact)The Android system provides a large number of contentproviders, such as contact information and multimedia information of the system. Our developed applications mainly call the query ()
This article describes the Android Development implementation method for removing contact call records. Share to everyone for your reference, specific as follows:
1. The source of the content provider responsible for storing call records is under the Contactsprovider project:Source path:
Com/android/providers/contacts/calllogprovider.java
The databases that ar
= (button) findviewbyid (R. Id. mybutton1 );/* Set onclicklistener to allow users to search for contacts when clicking the button */Mbutton01.setonclicklistener (New button. onclicklistener (){// @ OverridePublic void onclick (view V){// Todo auto-generated method stub/* Construct a URI to obtain the contact's resource location */// URI uri = URI. parse ("content: // contacts/people /");/* Use intent to retrieve contact data and return the selected v
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.