On Sat, Aug 6, 2011 at 9:49 PM, Goutom <[email protected]> wrote:
> Hi Nick
> Thanks for reply.It dont stop my app.
Check the log anyway, maybe there is a hint of whats happening there.
But skips this step.
What step?
> I think my problems in these two lines:
>
> String where = ContactsContract.Data.CONTACT_
> ID + " = ? AND " + ContactsContract.Data.MIMETYPE + " = ?";
> String[] whereParameters = new String[]{id,
> ContactsContract.CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE};
>
> Cursor contacts =
> contentresolver.query(ContactsContract.Data.CONTENT_URI, projection, where,
> whereParameters, null);
>
Try whit less parameters in the query, use the debugger to check step by
step whats happening and/or put some log in your code.
>
> can u check this please?
>
>
> On Sat, Aug 6, 2011 at 5:40 PM, Nick Risaro <[email protected]> wrote:
>
>> If you attach a logcat with the error maybe we can help you.
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en