Android: Problem With Onitemclicklistener
I am a beginner Android developer. I am trying to create an SMS application. I have created a TabHost with three TabSpect(ListView,ListView,TextView) which prints me INBOX, Send an
Solution 1:
I think the parameters you're passing to the query are the wrong types. Try this:
longid= arg.getItemIdAtPosition(position);
Cursorc= getContentResolver().query(uriSMSURIs, null, "_id = ?", newString[]{Long.toString(id)}, null);
See the documentation for ContentResolver.query.
Post a Comment for "Android: Problem With Onitemclicklistener"