tag:blogger.com,1999:blog-8219113377173546175.post4507947805304642479..comments2023-11-07T13:29:54.725+00:00Comments on GT's Blog: Android code for reading phone contacts detailGThttp://www.blogger.com/profile/16923656636145211711noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-8219113377173546175.post-8856134291965943522014-01-28T06:19:43.572+00:002014-01-28T06:19:43.572+00:00Till now i understand all the procedure but coming...Till now i understand all the procedure but coming to getContacts method calling i am facing problems. Can you provide that syntax. Thanks in advanceAnonymoushttps://www.blogger.com/profile/15785867093030568796noreply@blogger.comtag:blogger.com,1999:blog-8219113377173546175.post-43500219983004571892014-01-28T06:17:41.577+00:002014-01-28T06:17:41.577+00:00Till now i understand completely but coming to cal...Till now i understand completely but coming to calling getContacts i need to pass content resolver instance there i am facing problem . Can you provide the solution or syntax for instance for content resolver . Thanks in advanceAnonymoushttps://www.blogger.com/profile/15785867093030568796noreply@blogger.comtag:blogger.com,1999:blog-8219113377173546175.post-86410666593755829012013-01-20T20:06:19.769+00:002013-01-20T20:06:19.769+00:00Thank you. Helped me a lot :)Thank you. Helped me a lot :)Anonymoushttps://www.blogger.com/profile/01110254495982222651noreply@blogger.comtag:blogger.com,1999:blog-8219113377173546175.post-39063415560655077592012-01-06T05:41:22.169+00:002012-01-06T05:41:22.169+00:00you can paste this code on any basic 'HelloWor...you can paste this code on any basic 'HelloWorld' type project class and call it from there.GThttps://www.blogger.com/profile/16923656636145211711noreply@blogger.comtag:blogger.com,1999:blog-8219113377173546175.post-5021418679444048192012-01-06T01:16:41.671+00:002012-01-06T01:16:41.671+00:00I understand but need example to test, can u provi...I understand but need example to test, can u provide please?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8219113377173546175.post-65540116303573358242011-12-16T09:50:27.250+00:002011-12-16T09:50:27.250+00:00@Ian, I think your question is not clear... What y...@Ian, I think your question is not clear... What you are trying to refer by "the variable that calls the search"???<br /><br><br /><b>If you are confused about how to call this function :</b><br />the code presented above is static function which takes instance of ContentResolver as parameter.<br /><br />You can call it as :<br />YourClassName.getContacts(instace_of_ContentResolver ).<br /><br><br /><b>If you want to read the contact details of a particular person</b> You can add parameter to this function and compare with the results to get more information.<br /><br />Thanks.GThttps://www.blogger.com/profile/16923656636145211711noreply@blogger.comtag:blogger.com,1999:blog-8219113377173546175.post-91833149754192216322011-12-15T13:06:43.169+00:002011-12-15T13:06:43.169+00:00What is the variable that calls the search? What w...What is the variable that calls the search? What would I change in the code if I want to use a variable from a text box or recognizer?Ianhttps://www.blogger.com/profile/02955357342814606560noreply@blogger.com