How can I limit the number of rows in Android SQLite table

Viewed 11196

I create an Android app that has "recents history". I would like to limit the size of this table to a maximum of 50 rows (according to their insert date).

I saw several threads that talk about limiting the number of deleted rows, but I'm not sure if this feature is even enabled in Android's SQLite.

Can anyone help here?

Thanks

3 Answers
Related