How to upload images to dropbox without install dropbox app in Android? - android

I want to upload the images in the background to the dropbox via my apps without install the dropbox app.
I also need the fast upload and security like I'm using dropbox to upload.

DropBox API can be the answer to your question. Check this link and CoreAPI You can use DropboxAPI.UploadRequest to upload your file. Use a service to do that in background.

Related

Can I use Google drive as database for my Android app

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

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.

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.

How to upload file to dropbox from url?

I can find lots of tutorials and examples on how to upload a file from sdcard to dropbox account. But how can I upload a file that is not in sdcard and all I have is url? I don't want to download it and then upload it, because file is like 400MB size.
Save Web Files (http://ctrlq.org/save/) can do it. (just visit the website on your android)
Dropbox has implemented this as a native API call: https://blogs.dropbox.com/developers/2015/06/programmatically-saving-a-url-to-dropbox/
This is currently being re-implemented by DBinbox.com to be more user-friendly :)

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