How to get SQLite database value to android app? -


i want keep 5 records in sqlite database if new value stored means want delete last record in android application .please 1 me how

thanks in advance

you need write method of count(number of records in sqlite db), & check if count 5 before inserting record db can delete existing row want remove.( need write method accepts unique key can delete row only.)


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -