Hello Tim,
I tried to replace using activity starter but it download just 1 kb.
Please see my blocks and .aia if you can adivce me how to replace it.
Herewith a simple demo project, more or less repeating what we did to download an image, but using a Player component.
mp3Download.aia (13.4 KB)
SCREEN
Hello Tim,
I tried the blocks and I put mp3 size 11 MB but Unfortunately it doesn't download.
0B6tIqrqfHzcnTS1Ta2hTSFQzRGM
210405.mp3
Are your mp3 files set with the correct permissions for this method? They need to be anyone with the link can view
Yes, I am sure they are. Also I tested with using Activity strater component it works.
I get this if I try to download in my browser:
https://drive.google.com/uc?export=download&id=0B6tIqrqfHzcnTS1Ta2hTSFQzRGM
(Error 403 Forbidden)!!1
Hello Tim,
Please have a look to my Google Drive. May be there is some another way but I don't know about it.
Check your folder for permission. For whatever reason that file is not accessible.
Hello Tim,
Also, I have tested this link in browser 1Qq36eYyNQ6Y03NejcWDjklcuU4EjiL2D but it shows this message :
Do you think when the .mp3 size is high must be scaned.
This is a different issue to the previous one (210405.mp3) - have you resolved this yet?
Files over 25mb on Google Drive generate a virus scan request. I will see if I can find a way, using blocks, to handle this without the need for generating an API key on the Google Cloud Platform (which is the correct way to handle this, but complicated).
HelloTim,
No, I have not solved the problem yet. I hope you can help me to solve the problem. I am really appreciate all of your effort to help me.
Having tried a few things, three solutions for your large files:
-
Get an API key for Google Drive API
https://bytesbin.com/skip-google-drive-virus-scan-warning-large-files/
Blocks
-
Set up a firebase project, and use firebase storage, you get 5GB of free storage, and no virus warnings on file downloads
Blocks
-
Use another alternative online location to store your large files, that do not have any virus scan download issues
With regard to your files that will not download (210405.mp3) - can you download them to your computer? If you can and they are still valid files (e.g. not corrupted) then I suggest re-uploading them to a new location, and try again. If not check the files you have on your computer, and re-upload those.
Hello Tim,
Let me try the first choice. I think it is best one.
If you follow the guide I linked to, you will see that you need to select User data
, then click the Done button
Hello Tim,
It is really a very complicated achievment as you said. I am trying to rebuild my app by using the example you have Accomplished and I will tell you when I finish it.
Hello Tim,
It works and it's a very excelent
Thank you so much for your kindness to help me in this very great and the best issue. Good luck!
Hello Tim,
I have done this blocks with using API KEY but I found Errors, warnings and messages in Google store consol
https://support.google.com/faqs/answer/9287711
Can you Please help me to solve this problem?
This is my application for API KEYS
You could try this:
From the page (as you show in your second image), click on the edit icon (pencil) to the right of the API key.
Make selections like below on the next page and Save.
You may need to wait a few minutes for this to be actioned. Then try on Google Play again. They say this too may take several hours to be migrated.
I don't know if this method will work, but it is the easiest one to apply.
Other Google methods can be found here:
https://support.google.com/faqs/answer/9287711 if you follow the links.
Alternatively, you could consider storing your API key in a file online (or in a cloudDB, or other database), and calling this down to your app at run time, in order to apply your API key to your download routines.