B4A Library fgContacts (Contacts-Library)

D

Deleted member 103

Guest
Hi Gary Miyakawa,

Unfortunately I have no idea.


Ciao,
Filippo
 

beniendharto

Member
Licensed User
Longtime User
how to get contact number in the background service

Dear all


right now i want to create application that will get all contact number periodically in background service, but when i use fgcontact libarary in background service, i get the crash result and pop up something error message..so how to solve my problem?..
thank you very much



BR,

Beni Endharto
 
D

Deleted member 103

Guest
Hi beniendharto,

unfortunately, my library not work in a service.
 

Heppy

Active Member
Licensed User
Longtime User
Hello.

This code no return PhoneNumber
I wanted to delete a contact by phone number

B4X:
Sub Button3_click
  Dim Lista As List
  Dim fgC As fgContact
  Dim fgCs As fgContacts
  Lista.Initialize
  fgCs.Initialize
  Lista=fgCs.GetAllContacts(False,False)
  For i=0 To Lista.Size-1
  fgC=Lista.Get(i)
   Log(fgC.Id&"  "&fgC.PhoneNumber&"  "&fgC.DisplayName)
  Next
End Sub

Retun id and DisplayName.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…