Search code examples
androidsqlitegoogle-drive-apigoogle-drive-android-apigoogle-drive-realtime-api

Display SQLite data to application from Google Drive


I know about Displaying Text or other raw data display, But My Query is about SQLite table.

Query: Display SQLite data to application from Google Drive.

I have Uploaded a SQLite Database to GoogleDrive which has 5 tables including one "Mobile Number".

I want to display "Mobile Number" to My app directly from GoogleDrive. What Options do I have to doing so ?


Solution

  • To display "mobile number" table to your app you have to:

    First> download that table using Google Drive Sync or manual Download using Button click.

    Second> Get table data by accessing the table locally.

    Third> Display the data to your View. Check bellow link for getting example regarding this.

    to display data you can check Google Drive Demo examples here "Click here" Hope this will help you.

    JSON may help but as you mentioned your database already growing, you should follow this "Download and Display" procedure I mentioned above.