Can any1 check these two lines:

       String where =
ContactsContract.CommonDataKinds.StructuredName.CONTACT_ID + " = ?" ;
//problem may be here
        String[] whereParameters = new String[]{id};  //problem may be here



        Cursor contacts =
contentresolver.query(ContactsContract.Data.CONTENT_URI, projection, where,
whereParameters, null); //problem may be here


On Mon, Aug 8, 2011 at 7:15 PM, TreKing <treking...@gmail.com> wrote:

> On Mon, Aug 8, 2011 at 5:38 PM, Goutom <goutom.sust....@gmail.com> wrote:
>
>> I dont understand the error in logcat.
>
>
> Letting people know what that error is would help.
>
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to