Problem with download! it works 2016 but now are there some problems

18 views
Skip to first unread message

Thomas Meisl

unread,
Apr 25, 2019, 10:45:34 AM4/25/19
to MIT App Inventor Forum
hy there,

i have a problem my download doesn´t work. 2016 dec. the download work and now it doesn´t start to download.

and i don´t know why maybe you see the problem. or have there some changes been between this two points of time with storage and databases?


thx for your help.

Tom

SteveJG

unread,
Apr 25, 2019, 10:57:42 AM4/25/19
to mitappinv...@googlegroups.com
You said " the download work and now it doesn´t start to download. "     What are you downloading?   Images?   If you are downloading images from a Web page that is over three years old, the Web page might have changed the links.
This means, the links you store in the TinyDB are possibly no longer valid.  Are you using the compiled app you created years ago or are you using your Project code and live developing now?

If you are using the Companion to use the app to download,  the links probably are no longer stored in the TinyDB instance; the links only exist and  stored on the app you may have installed on your device in 2016. That is how a TinyDB works...the database becomes part of the compiled app.  Also, if you are re-compiling your app, make sure you have the latest Companion (2.51a) since your previous Companion will probably not work with the latest App Inventor version (nb 175c).

You must test for this on your app Thomas,  The the links are only stored on your Android device in the database.    



Regards,
Steve

BodyMindPower

unread,
Apr 25, 2019, 1:09:16 PM4/25/19
to MIT App Inventor Forum
From an Android point of view, an eternity has passed since 2016. Therefore, there could be many causes for your problems:
- where are the download files saved (path: /storage/emulated/... and with which component / extension)?
- on which device and with which version of Android was the app (APK) tested?
- was the aia re-compiled (with the current AI2 version)?
- do the problems also occur with devices (API <23, Android <6)?
- did you get any error messages (e.g. regarding [read/write] permissons)?

Anke
Reply all
Reply to author
Forward
0 new messages