you can't share assets (files uploaded into App Inventor), the files to share must be available on the sd card of the device
--
--
thanks for the quick answer Taifun...so..
After Installing the app, there are no Data on the device to work with.
In Simulation with app inventor it works fine, because the files are in the assets ordner, so i can write the path f:///sdcard/appinventor/assets/scream.mp3 to global variable...than it works perfect. I can play and sharing works fine.
But without app inventor, after installing myapp.apk for example, there are no files on the device...where are the files??
The file must be there...the player plays it, but i cant share it.
Is there a problem with Installation?
My app is bigger than 5mb...9,09mb....can this be the problem?
--
where are the files??
The file must be there...the player plays it, but i cant share it.
The file must be there...the player plays it, but i cant share it.
The files are inside your app, as assets. As Taifun says you can't share assets, the files need to be on your sd card. One option is you could download the files to your sd card from the internet using the web component.
--
probably this snippet can help
--
probably this snippet can help
Ok, if i understand correct...its not enough to upload the audio-file in the app...
I need external storage to share it, right? Can i use the tinywebdb for that?
--
--
TinyWebDB is a web database to store tag/value pairs
--
this is something completely different...
but you could use this method https://puravidaapps.com/filebyfile.php
--
Thanks Taifun...
with google.drive and parts of your filebyfile-Link it works fine
Thank you and Phantomfoot for the support!
--
댓글 없음:
댓글 쓰기