Shreyaa
(shreya )
February 7, 2022, 3:32pm
#1
Simple extension to get audio album photo
Hello koders I need your advance help with JS Webviewer to get DocumentElementsMetadata
Here is an example link of an audio which is embedded with thumbnail so please how can I get Thumbnail using JS codes
get Audio
I have tried some JS codes such as
document.getElementById("image");
document.getElementById("image").src"https://mahando.com/abc/Shukurani.mp3";
But I failed to get what I need please I know nothing is impossible but currently I don’t know how to do …
Blocks -
GetImage :
You need to use Image component of builder in image
section
Demo blocks -
Download-
version 1.1
com.shreya.audioImage.aix version 1.1 (5.9 KB)
version 1.2
Stable update and added <uses-permission android:name="android.permission.INTERNET"/>
com.shreya.audioImage.aix (12.2 KB)
demo blocks
Support
If you liked my work, you can support me - paypal.me
16 Likes
Very nice extension! It will be very helpful for me. Thanks a lot
2 Likes
Lily
(Lily)
February 7, 2022, 4:13pm
#3
This post was flagged by the community and is temporarily hidden.
Shreyaa
(shreya )
February 8, 2022, 5:16am
#4
@Lily you can save the encoded string to tiny db but encoded string cannot to upload to cloudinary.
i will make block for exporting image to storage
Shreyaa
(shreya )
February 8, 2022, 6:56am
#6
now you can upload image to cloudinary from ASD of your app /storage/emulated/0/Android/data/com.package.name/files/myimage.png
isString
should be false if you using url
1 Like
Lily
(Lily)
February 8, 2022, 7:01am
#7
I am not well familiar with how to save data into ASD of my App and fetch it from inside please help me more on this because I wanted also to save some files like PDF and Mp3 in my com.package.name where no one can view it but I don’t real know how to do this please I need your help
Shreyaa
(shreya )
February 8, 2022, 7:04am
#8
From an Android point of view there are an → Internal Storage and an → External Storage.
1. Internal Storage
The Internal Storage can only be accessed with a rooted device.
1.1 The app package is saved in
/data/data/<packageName>/
1.2. The Private directory is
/data/user/0/<packageName>/files/
This private directory can be used with the File component to save / read text (setting the path without a slash). It can only be accessed by your app and is automatically removed when the app is un…
you can read this topic by bodymindpower
1 Like
Lily
(Lily)
February 8, 2022, 7:19am
#9
I did read it but I didn’t get the quick fixed idea
Mateja
(Mateja)
February 8, 2022, 7:45am
#10
Lily:
quick fixed idea
And if your goal is to get a served solution with no work on your end, you can lose hope. Nothing is easy, and solutions require your work as well. A win is constructed of multiple losses therefore you can not expect someone to give you a quick and easy solution to your problem with no work from you. You should contribute in fixing it and researching as well.