If you are looking to access the device contacts on Android and IOS with Delphi XE8 Firemonkey here is an upgraded wrapper library that does just that. I originally had this created for XE5 and another developer combined the Android and IOS wrappers into a single class. This upgraded version gives you access to both in Delphi XE8. This library is free with source code. There is no support provided for Windows or OSX contacts. First name, last name, phone number, and email address are all exposed by the existing functionality. Demo source code is included. If there are other fields you want to access or you want to write to the contacts you will need to add those yourself. For Android you will need to go to Project|Options|Uses Permissions and add the Read Contacts permissions. For IOS you will need to go to Tools|SDK Manager, select the IOS SDK, and add the AddressBook framework to the list. Be sure to update the local cache after you do this. This library should also compile in Appmethod.
Hi,
Does not works with Delphi 10 Seattle, any updates?
Thanks,
Asaf
What is the error? Which platform?
Hi,
After playing with the code I see that it can’t read Hebrew/Arabic so that’s maybe the problem.
Does it supports Hebrew/Arabic?
Unknown. Would need to find out if functions in the Android JNI bridge like JStringToString() support those characters.
Hi,
The problem is also at iOS 9.