I am wondering how can I insert an element at the beginning of the
data base? I want to do this because:
a) I want to display the elements (ListView) as 'last-inserted on top
and first-inserted on the bottom' (like a stack)
b) I want to limit the amount of elements in my db. When a new element
is added (over the limit) I can put the new one (at the beginning) and
delete the last one. (Don't know yet how to delete the last element).

I was searching for a solution but I am starting to wonder I have any
control of how the element are inserted. If not I was thinking about
displaying the database from end to bottom. But don't actually know
how to do it since the cursor is always set at the beginning of the
db. If could achieve this I can solve b) by deleting the first element
(again don't know how to achieve this yet).

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to