B4A Tutorial [B4A] [Class] [Contacts] wmContactsUtils - enhanced ContactsUtils - walt61    Oct 12, 2021   (14 reactions) Events are only available as of Android API level 5
- AddIM: Adds an IM field to the given contact id
- AddNickname: Adds a nickname field to the given contact id
- AddPostalAddress2: Adds a structured postal address
- AddWebsite: Adds a website field to the given contact id
- DeleteContact2: Delet B4A Library [Lib] Contacts (OPEN SOURCE) - Serjoscha Bald    Aug 26, 2016   (10 reactions) Something to know about the contact classes:
ContactAddress, ContactEmailAddress, ContactEvent, ContactIM, ContactNickname, ContactOrganization, ContactPhoneNumber, ContactRelation, ContactSipAddress and ContactWebsite.
All of these classes has a TYP property. This property will be set to a default B4A Example [B4A] Extended example of ContactsUtils to place shortcuts to contacts on the home screen - wbauer    Nov 01, 2024   (4 reactions) For some time now, it has not been possible to place short links to contacts on the home screen via the Contact Apps. Instead, the selected contact is always placed as a widget. However, since I like to create folders with contacts, this solution using widgets does not work for me. Therefore, I hav B4A Question Contacts search - DonManfred (first post)    Jan 03, 2019   (1 reaction) You can use ContentResolver like i did it here for the Google Calendars.
The Device Contacts can be accessed in the same way.
Find the documentation here.
Speaking about the Calendars example (see above). The constants needed for the Contacts are in the Object "ContactsConstants".
You also can use B4A Question Contacts - Asynchronous loading - Sergey_New    Dec 06, 2023 If there are a lot of contacts, then receiving them takes quite a long time. Is asynchronous loading possible? B4J Tutorial [Pen & Paper]: Create a simple 'Contacts' ABMaterial WebApp - Part 3 - Mashiane    Dec 20, 2017   (3 reactions) 1.2 On the treeview select the Pages node and expand it.
1.3 Select Add Page and type it contactlist and select ok. This will create a new page called contactlist in our project. Ensure the navigation bar title is 'Contacts', click Apply in the propertybag. The treeview will be reloaded.
1.4 Select B4J Tutorial [Pen & Paper]: Create a simple 'Contacts' ABMaterial WebApp - Part 1 - Mashiane    Dec 23, 2017   (6 reactions) Figure 2
62203
The Contacts table will now have an additional field called FirstName. Add the following fields LastName, Street, StreetNumber, City, Country, ZipCode and Cellphone, all being Text the same way. Now you have a table with some fields in it. For each field, click Add, then specify the B4J Tutorial [Pen & Paper]: Create a simple 'Contacts' ABMaterial WebApp - Part 2 - Mashiane (first post)    Dec 13, 2017   (2 reactions) The next part of this tutorial will deal with reading and listing the saved contacts in the app.
Watch this space...;););) B4A Question Contact data structure. - Erel (first post)    Feb 15, 2017   (1 reaction) The contacts database is much more complicated. It is not made of 15 fields.
You can see the code that accesses the contacts: ContactsUtils - Provides read / write access to the stored contacts
Maybe you can use the notes field to store additional data.
If you only need the data for your applicat B4A Library [class] ContactsUtils - Provides read / write access to the stored contacts - Erel    Aug 26, 2016   (13 reactions) Public Sub InsertContact(Name As String, Phone As String) As cuContact
To use this class you need to add a reference to the ContentResolver and SQL libraries.
The following permissions should be added in the manifest editor:
AddPermission("android.permission.READ_CONTACTS")
AddPermission("androi Page: 1   2   3   4   5   6   7   Powered by ColBERT |