I am stuck on how to share a file to all user who is using the app I m currently implementing for my FYP. I know I can share file to social media, email, etc. SO is it possible to share file to all user who use my app? I m using firebase as my Database and Android Studio for my implementation.
Upload file to server and give that link to the users..
firebase file upload Clickhere
Related
I am working on an Android project where I can share audio files to another phone with the same app. The audio file should be playing at the other end. I am using Firebase Storage to upload and play the file.
However, I would like to establish a p2p communication (I still can stick with Firebase but I would like to try this out to share files). I have tried to look up for some tutorials on it but no luck!
Simple advice:
Upload File to Firebase Storage
Write url of uploaded file to Firebase Realtime Database
Listen to Firebase Realtime Database with other device
Get file url and download file to device
Play audio file
I'm trying to implement App Engine app that should upload files from user computer to Team Drive folder.
Currently I'm trying to do it with .jsp and servlets but it seems that it couldn't be done that way.
I'm using Service Account and Drive API Client Library for Java - https://developers.google.com/api-client-library/java/apis/drive/v3
It seems that when uploading files in such way you should use java.io.File which is impossible on App Engine, because file isn't stored on instance but it is uploaded from user computer.
Is it any way to upload file directly to Google Drive using App Engine?
Additional note:
I'm using Drive API v3.
In Drive API v2 there was file.insert() method available which lets you sending InputStream as input parameter. I think such method could help me with upload but it is not included in API v3.
https://developers.google.com/drive/api/v2/reference/files/insert
I think you're looking for protected Create(File content, com.google.api.client.http.AbstractInputStreamContent mediaContent) from https://developers.google.com/resources/api-libraries/documentation/drive/v3/java/latest/
All,
I have a google application engine (java) that requires to store some images. I tried using Blobs and storing them in datastore but as you know there is a size limit on data that can be stored in datastore.
So as result I'm storing the images on a different server and store the path in my datastore and all works fine.
Now I'm thinking on using a google drive folder instead of using a server to upload the files to the drive and using the share link to display them later.
I've seen https://developers.google.com/drive/web/quickstart/java and got it to work fine. When I try to use it in my application however obviously this won't work as the code is assuming a credential for a local user.
I created a service key on my application and want to change the sample code above to use it but I'm not sure if that's the correct approach.
Tried searching for samples but can't find anyone that takes the same approach. Is there a working sample that shows how to authenticate an application not a user and let's say store a file in google drive?
I've also seen https://developers.google.com/drive/web/examples/ please note what I want is to store files in my google drive and not the user's google drive. So if user A and user B come to my app, they shouldn't have to authorize my application and should both be able to upload a file to my google drive.
I don't know if this can be done directly from their browser or I have to move the file to my application (appspot) and then push it to google drive.
Thanks
I am developing an app so that a user can access all folders in their dropbox. I've already got production status for my app. All I need to do now is to find a way to either open the dropbox app from mine, or somehow list the contents of the dropbox in my app. Either way, I would like some help.
The purpose of this access would be to allow the user to pick files from their dropbox folder which they will then download into the app.
Thanks in advance. :)
Hi we have an Android app that currently stores its data in xml files and are looking to move it to SQL Lite based database.
The app is a consumer of data and data is added through a windows application after the phone is connected to the PC (Currently both are done through xml files on the SD card)
If the data is stored on a SQLite database, is it possible to locate and connect to the database from a .NET application which can both enter and delete records from it.
Please advise. Thanks,
Yes. You will be able to connect and then manipulate a SQLite database from a .NET application. Use a data provider like System.Data.SQLite. The downloads are here.