Make SQLDatabase limited

view story

http://stackoverflow.com – I'm making a dictionary which can remember user's words, but i want to limit the Word List about 100 words. How can i limit this Word List? I tried to find some info to do that but it seem to hard. please help me! This is my create database method: public class DataProvider extends SQLiteOpenHelper { // Database Version private static final int DATABASE_VERSION = 1; // Database Name private static final String DATABASE_NAME = "contactsManager"; // Contacts table name private static final String TABLE = "contacts"; public DataProvider(Context context) { super(context, DATABASE_ (HowTos)