I used the below code
var findus = Ti.Contacts.getPeopleWithName('john');
and the error i got is
uncaught error: permission denial : reading com.android.providers.contacts.contactsprovider2 uri content://com.android.contacts/data from pid=277, uid=10045 requires android.permission. READ_CONTACTS
But i have placed the below lines in tiapp.xml
<android xmlns:android="http://schemas.android.com/apk/res/android"> <manifest>
<uses- permission android:name="com.get.permission.READ_CONTACTS"
android:protectionLevel="signature"/> </manifest> </android>
Android version : 2.2 sdk : 1.8.2 os
please help on this issue.........