i want to add a search Function.I have seen the tutorial. I try to add the code but still have error.Maybe,I don\'t understand Adapter. public class orderActivity extends Lis
Please download the project on its entirety and run it. Once it works, try breaking it apart to learn the bits and pieces. And, this is in no way using the search feature for getting data from mysql.
If you wish to implement search using mysql, you need to have your table with its data. Have a filtering method on your cursor adapter. Then on the onTextChanged() listener, you have to query your database according to what user inputted.
eg. select * from table where name like "s%"; // if the user has inputted s.