B4X FEED Taking a backup of an SQLLITE Database file to Google Drive - reg.

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: Taking a backup of an SQLLITE Database file to Google Drive - reg. است. این موضوع تا کنون 23 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Taking a backup of an SQLLITE Database file to Google Drive - reg.
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
23
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
Hi,

I have an b4A app which stores data in an SQLLITE db. The database is stored in the mobile device.

I want to provide the following feature for the client

Assume: Google User-id would be picked from a 'settings file'.
:

When the client clicks on a 'BACKUP DATABASE TO GOOGLE DRIVE' button (say), the following should take place:

a) The application should detect if 'the end-user has already logged into Google'.
If not, it should display the 'STANDARD User-id and password dialog' of Google[the Google-Authentication dialog]
but with the 'user-id already pasted' from the 'Settings'

b) Upon typing the password and clicking on Login, the application should directly 'STORE/OVERWRITE' the existing SQLLITE.DB database in a 'pre-created folder under GOOGLE DRIVE of the client'.

c) if that folder is not created already in Google Drive, then the app should create that folder in Google Drive before saving the database file

d) if...



 

عقب
بالا