Get a favorite function in my app

Hello i am building an App for the danish appstore but i need some help.
I have thos jokes where you tap oin the screen and they there comes a new joke. But I want a favorite function so you can favorite the best jokes and view them in another tab.
But I dont know the code/codes for that. IM pretty new to this.
I basicly needs help to get a code there do this: Press on favorite icon its ask about “Do you want to favorite this” and then Yes/no. WHen you press yes it should be added. Så when you press on the favorite bar in the bottom it will be there.

Ill hope you understand and could help me. :slight_smile: [import]uid: 134915 topic_id: 23358 reply_id: 323358[/import]

save the joke Number into a file.

You can use ICE from Graham, EGO from Peach or the Crawlspace library. [import]uid: 3826 topic_id: 23358 reply_id: 93658[/import]

The database i have is SQLite Manager. You know anything there works with that? [import]uid: 134915 topic_id: 23358 reply_id: 93860[/import]

I am using a SQL database to store my data and I want to make a favorite function, so after app exit, you have the abillity to read your favorited data in a tabelview.

Can you please give me some examples. [import]uid: 134915 topic_id: 23358 reply_id: 99781[/import]