Can I use Google drive as database for my Android app - android

I'm new to Mobile development and I'm trying to create a PDF Android app (to launch it in playstore) and I have a lot of PDF files that I will use and they are stored in my Google drive so my question is can I use Google drive as my database, is it possible when there are a lot of users or there could be problems and is there other solutions.
I managed to create a simple version where it works fine but I'm the only user (I installed it directly from Android studio to my phone) but I have no idea if it will work when I launch it on playstore.

i am not expert of google drive but I have check that google drive let's create direct download link if you want to use google drive as just pdf storage then you can upload pdfs and generate direct download link from that uploaded document and then save it to any database then you can download that files with that link

Related

Ionic: How to upload file from Google Drive using Storage Access Framework?

I am developing a hybrid application using Ionic Framework for Android and iOS platforms. Currently I am stuck at a stage where I want the users to add an attachment to their post. For adding particular type of attachments I am using:
cordova-plugin-camera: for photos and videos
cordova-filechooser(https://github.com/don/cordova-filechooser): for documents and files
Now, I want the user to add files(images, videos, documents etc.) from their Google Drive Account using Storage Access Framework. Currently, from my FileChooser plugin I can only see the files that are on my device. How can I achieve this?
I am attaching an image with this post so as to make it more clear.

Have server download file from users Google Drive

I'm developing an Android app that lets users upload files from their Google Drive using Google Drive Android API. Instead of having users download the file to the device and then upload it to my server, I would like to generate a download link which the user can post to the server and have it download the file directly from the Google Drive API.
Is this possible in any way? The only way I can think of is having the user authenticate in both the app and through a browser window, but that is quite a hassle for something that seems like a pretty common use case.
I would like to generate a download link..and have it download the file directly from the Google Drive API.
This is certainly doable and I've tried it. Try this tutorial on Creating Direct Links From Drive. Just take note of your file type- doc, ppt, img ,etc. and the corresponding FILE ID.
For Google Docs files:
https://docs.google.com/document/d/FILE_ID/export?format=doc
https://docs.google.com/document/d/FILE_ID/export?format=pdf
For Google Presentations files:
https://docs.google.com/presentation/d/FILE_ID/export/pptx
https://docs.google.com/presentation/d/FILE_ID/export/pdf
For Google Spreadsheets files:
https://docs.google.com/spreadsheets/d/FILE_ID/edit?usp=sharing
Here's an SS of a direct download I got using the pptx format.

i want to upload image into Google drive and retrieve the image URL from Google drive in android- eclipse ?

i want to upload image into Google drive using android eclipse (let me know if anything good than drive) and retrieve from it for later use . i need to start camera from app and took a pic then it must save (Optional : i don't want to save in external/internal storage) in Google drive or any other good image storage ( need suggestion for this) sites and retrieve to specific persons detail .
Have you tried to use Google Drive Android API? https://developers.google.com/drive/android/

How to upload files to HTML5 Web App from Google Drive or Onedrive?

I am designing an web application that will allow applying for the jobs we post in our career page. The application will use responsive design and should make it easy for mobile users (iOS and Android initially) to upload their resumes. I read something about uploading files to Google Drive or MS Onedrive using their corresponding APIs. However, I am trying to do the opposite; browse files, select a resume, perhaps download it locally, and finally upload it to my web application.
Do you know if this is possible? If so, what would be your recommendation?
Thanks in advance!
First you can ask the user to authorize to use their Google Drive Data using OAuth2.0. The below two reference links from the Google Drive API will be useful
1.Get the list of filenames using the filelist option in the api and fetch the filename from the list https://developers.google.com/drive/v2/reference/files
2. Download the file directly to your server using the Downloads feature of the API
https://developers.google.com/drive/web/manage-downloads
I hope this gives you enough direction to proceed further.

Is it possible to store zip file in Google app engine blob store and download it In android application

Hi I am new to use Google App Engine.My requirement is store Large Zip file in a Blob Store and retrieve to my android application when user click a download option It is possible?Can some one Give Tutorial link to how can effectively use android app engine blob store in android application.
Thank's in advance.
The short answer is: yes you can.
First of all you will have to complete the example on how to upload stuff using Google App Engine and then experimenting with the Google Cloud Storage because it will be much cheaper in the long run.
After completing that you will realise that in order to upload, all you'll have to do is to POST multipart data either from Android or using any other method you would like. In that tutorial is also very obvious on how you could download any file back to your Android application.
You could also experiment with one of my examples for uploading files either on Blobstore or on Cloud Storage. In that particular example you are allowed to upload only images and PDF documents, but it's very easy to modify and accepting only ZIP files or whatever else you might want.
Perhaps Google Cloud Storage would be more appropriate.
https://developers.google.com/appengine/docs/python/googlestorage/

Categories

Resources