"Another solution using Google Drive and a Google Spreadsheet you can find here. In csv format of all mp3 and png files of a specific subdirectory passed as parameter to the script. See below an example php script, which provides a list In a specific directory on your server, then just use this list instead of hardcoding the list in App Inventor. But with a little bit of server logic you can get a list of all filenames It looks like when you make the listFilename variable, you have to make a list of every file you want to download.Ī: Well, downloading 700-1400+ files will take its time. I'm not sure how I feel about hardcoding 700 to 1400+ blocks though. Q5: That's an interesting way of doing it. Putting the pli=1 at the end and makes my assets to download correctly. Everything looks ok now and my files downloadedįine to my phone via Google Drive. I searched through internet and found that: None of my assets didn't download to the "do not delete" folder. Google Drive files id but nothing happend. Q4: I downloaded your zip file about overcoming the limit of 5 mb with Google Drive solution. to access the files to download, see screenshot. I changed the logic a little bit and added a list named listFilenameDrive to store the file ids from Google Drive. See my updated example for Google Drive in the download section below: So, is it impossible to download files from the cloud or did I miss something downloading from the cloud instead of a webserver.Ī: I now looked into this issue and found this answer at stackoverflow. png, original size 8 kb) were shown in the new created folders, but couldn't be opened. Q3: I tested your webprefetch file by file with different cloud servers (dropbox wuala google drive), but it failed. The problem is after downloading the needed files.Ī: This is the correct path for the first item: Q2: I used your FileByFile method and every thing works great. My question is where can I upload my images?Ī: You can upload it to your own web server or any Cloud Storage service, just do Google Search. I saw the file by file app and want o make it the same way. Q1: I am making an app and it will be more than 5MB. With this example you can download several files one by one form the internet and store it on your device on first run of the app.Īs example to download some files, I used the images and videos from the Video Wall tutorial. And finally The solution presented here, which downloads some files on first run of the app.Adell_SE's solution, which uses the Extended Webviewer extenion to download files.Another solution using Google Drive and a Google Spreadsheet you can find here.See also the overview, which helps you to decide, which personal server to choose. Use a personal server to build your project:.To get it working, use AppToMarket version 4.1 and update your apktool.jar, see also here.Īnke's solution (video instructions), which is a variation of Hossein's solution. These images will be replaced after building the app with higher resolution images. Hossein's solution, which uses small resolution images in App Inventor.Use the server, which runs on Amazon Web Services and does not have this 30 MB limitation. We currently have the following possibilities to overcome the App Inventor project limit of 30 MB: If they're too big, either resize them or download them after the app runs the first time (see also below). The first thing you should do is to take a look at Enis' tips, because your assets might be too voluminous, too big or just unneeded: How to overcome the App Inventor project limit of 30 MB Note: the build limit has been increased to 30 MB starting from July 30, 2020!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |