Importing Data from Databse to sqlite

i have a project to create a import button, and take data from database and save it in an app so it can be open for later, can anyone help me?

This might help:

1- Get the data from the database using web Component+ PHP script (here in the community there are 2 ready)
2- Read the data and do an Insert Into Values ​​in your SQLITE
3 - To query, use Sql Query Commands