alguem jah usou o LIKE
do SQLITE do android
estou tentando usar mais sem sucesso segue o codigo....
public Cursor getAcessoriaSearchDB(Context context, String search) {
// TODO Auto-generated method stub
String[] args = {search};
String query = "SELECT _id, acess_nome, acess_tag, acess_pdf, acess_video, acess_thumb FROM tbl_acessoria where acess_tag LIKE %?%";
return this.myDataBase.rawQuery(query, args);
}
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.






0 comentários:
Postar um comentário