Learn how to use a SQLite database to store your data in a NativeScript app built with Angular 2.
how can i store images and videos in sqlite database
Why would you store them in the db rather than storing a resource identifier to the image?
@sp1966 would that be better ?
coz am building a social app and users will be able to upload videos too
Responded via the article comments.
I agree with @SP1966, you should probably only be storing the resource identifier and any meta data in your database, not the image or video.
The database is going to grow quickly and become less efficient by the day storing that kind of data. Back ups are going to be insane!
Whatever you do, good luck!