how to upload apk file to firebase realtime database by programmatically - android

I'm using firebase real-time database first time, I saw many videos about uploading and retrieving data like images, video and pdf, but I couldn't found any apk uploading video, can anyone provide me documentation or any video link with quite coding change for uploading apk.. thanks in advance

Please refer to this firebase documentation - Uploading files on Android - Firebase
There's no difference in uploading an image, video or some other file type like APK. Also, please make sure to define proper rules for accessing the Firebase storage to upload your files. Refer Security rules for firebase

Its really funny thing ,im predicting fear before doing code of apk file but it is similar to all other methods like to upload pdf and images , by the way thanks to all and for ur couragement

Related

Firebase Storage Video Decoder

I want to save a video in the firebase storage and play that video in an application. My current structure is:
FOR SAVE
Save mp4 video>in firebase storage>get url
FOR PLAY
get mp4 video by url<from firebase storage
But I think this will generate broadcast. So I want the next structure, because I think this should help me:
FOR SAVE
Save mp4 video>in firebase storage>coding video>get url
FOR PLAY
get video HEVC by url<transcoding<from Firebase Storage
I don't know how to do it.
I think I need to use Google Cloud Platform but I dont know how?
My project is a video on demand app.
better use Cloud Storage instead of Firebase; at least for the storage.
while the transcoding probably should already happen on upload.
for reference: Use Case.

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

Protect the downloaded content from Android

Am developing an offline pdf reader, which will download pdf files from remote and store inside the directory(say Android->data->com.example.test) and it will be shown in my app and i can read both in online and offline.
My issue is, If I open any PDFViewers like Adobe,Radaee viewers I can see my PDF's.
How can i avoid this. I dont want to show them in other apps.
This is not intended behaviour. we can control. Am looking for solution.
Example : Whatsapp's media like albums,profilepictures will be stored in device. We can view it. If you open any external Imageviewers we cant see the Profile Pictures. We can see the Media files. But Profile pics will be hidden. I need the exact solution.
Any help will be much appreciated.
Thanks in advance.
Imran.
Store the PDF on internal storage. You are presently storing the PDF on external storage.

How to upload a file in to Google Drive from Android App(GoogleDrive API integration)

I would like to upload file into google drive from android app.I got the example from this link for uploading a photo into Google Drive from camera.I didn't get any better solution for uploading a file(.txt,.pdf,.doc).so anyone please suggest a needful information to me.
The android-demos is a more complete reference application that demonstrates file creation, etc.

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