Save bookmarks on Android app - Sqlite DB for each user -


i use sqlite db packages asset within app. when open app presented 10-12 items in listview , can click on item show detailed view.

my sqlite consists of 1 table , 11 fields. these id , story name , story details , story age , on , forth.

i want ability individual users store story favorite. can bookmark story , particular view able view story later.

how can achive ?

create table in sqlite db 2 fields userid , storyid. mentioned in view, call table refer bookmark story of user using where query refering user id

"select * tab_name userid = '"+ user_ref +"'";  

Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -