'Is it possible to use Google drive for shareable data in android apps?

I want to create a simple shareable shoppinglist android app and I wonder, if there's a possibility to use Google drive as "db". Technically it should work right? If the entries of that shopping list would be saved in a simple table database in drive, it should be possible to access this table via Uri, or are there any special configs in drive that do not allow this?

Or is there an easier (but still free) way for sharing data in such an app?



Solution 1:[1]

I think depends a lot of the use you want to enable in the app.

If you need a realtime synced shopping list, Google Drive, as any other storage, is not the solution and maybe using something like Firebase could match your expectation.

Otherwise, if you want to use a storage, I'd suggest to first try using the local file system as database and then switch to an implementation that makes use of Google Drive.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Matteo Bucci