How to upload a file in android without php? - android

I want to upload a file in android and later one should able to download it.I've seen some examples and mostly everyone using PHP server to upload a file.My question is is it possible to uplaod a file without php? If so can anyone show me some examples with out using php as i don't have any idea on php i'm not able to create a php server for upload.I hope my question is clear.
Thank you.

you can Use Dropbox API to upload a file in Android
Read Upload a file using Dropbox api

Related

Sqlite File Upload in WebView Without filechooser

May be like Duplicate, but I cant find most suitable answer for me. Many examples have explain about img files. like this, Android Java Upload File via WebView without FileChooser I want to upload .db file into my web server from my android application using Webview. but I cant understand what I want to do. Is that possible (upload .db file)? And if yes, what I want to do? Im new for android.

image upload functionality with apollo server 2 (graphql)

Herewith I need clarifications on image upload with android using Apollo server 2 for API work.
Previously I followed base64 conversion image-upload technic. But afterwards, I want to alter the file upload from previous on to in-built graphql-server file upload feature.
From internet searching, I can't get clear idea about how the file upload has to be implemented between android and graphql using the inbuilt file upload feature in apollo server.
So please anyone share your thoughts on it and redirect me to clear path to implement it correctly..
I've Searched a lot on Android File Uploading in Apollo Server using GraphQL.But In Apollo server we can Upload a image using Base64 Format the only possible and easiest way is to use Retrofit .We can upload a file in Apollo server using Retrofit POST Method in Android.

Upload and download file to Amazon from android application

I want to upload file to amazon from my android application.
I have downloaded AWS SDK and added to build path of my project.
Now i want to upload file to my bucket.which is already created.
SO how can i upload file, i am not getting any proper solution to it.
Please help and provide your suggestions.
Thanks in advance
I suggest taking a look at our Getting Started Guide for S3 and looking into the TransferManager which is meant as a high level utility for easily handling uploads/downloads
http://docs.aws.amazon.com/mobile/sdkforandroid/developerguide/s3transfermanager.html

Struts2 Android Upload Image

We have an Struts2 Webserver which has the jsp way of accepting the file,
but the problem is using Android client the file upload happens by opening HttpConnection(Rest Api's)
can someone help me identify, How can i upload an File using Android client to Struts2 Webserver
Struts2 treats file uploads the same as any Java web app, using multipart/form-data.
Have a look at Ion, it has a good API for POSTing multipart/form-data.

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 :)

Categories

Resources