UPDATE (version 3): Download with progress feature
A progress feature has been added. The progress can now be displayed in bytes / MB and as a percentage during the download. Thanks to @Kumaraswamy who is "light years" ahead of me with Java. de.bodymindpower.downloadToAsd.aix (15.2 KB) (created using Rush - thank you again for this great tool @shreyash)
Note: The DownloadProgress event doesn't seem to complete, but it does (it just doesn't show up in time). Therefore, you should also use the DownloadCompleted event so that 100% is displayed at the end.
→ See my example blocks below.
@Anke let me suggest to add a boolean property ShowNotifications, default value true, which can be configured to also not show the notifications (in case its value is set to false)
in the manifest file of my apk, installed apk but the notification still appears. What is more interesting I have apk file of other application which was made in MIT app inventor and which does not have this specific permission in manifest but despite this fact it is not showing download notification. So there has to be different way of getting rid of this notification. Any ideas?
Hello, why does this message always pop up when I use your aix extension? even Version 4 (April 19, 2022):
de.bodymindpower.downloadToAsd.aix (16.7 KB) as well.
Edit Post: I tried clearing the cache of the companion and everything is fine. sorry for the inconvenience and thank you for the aix you did. I hope you can do more aix.
While starting the companion app, all necessary assets and also the imported extensions of your project will be copied to your device. So in case the no such class error shows up, the extension code to run the extension is not available on your device. Without that code the companion app is not able to execute methods from the extension
Oh.... okay that why i encountered this error. Next time it is better to restart the companion instead of clearing cached. Noted on this @Taifun Thank you so much for further explanation.