moore_it Well-Known Member Licensed User Longtime User Apr 21, 2017 #1 Hi all, it's possible to use outputstream for save a canvas.snapshot in threading mode ? Thanks in advice.
Hi all, it's possible to use outputstream for save a canvas.snapshot in threading mode ? Thanks in advice.
Erel B4X founder Staff member Licensed User Longtime User Apr 23, 2017 #2 What do you mean with Threading mode? What are you trying to do? Upvote 0
moore_it Well-Known Member Licensed User Longtime User Apr 24, 2017 #3 Using threading library (have 50000 photos to resize) i need to copy a image in a canvas for resizing ad save the new resizing picture in a disk folder. I need to refresh UI when user waiting. With threading isn't possible to do that or not ? Upvote 0
Using threading library (have 50000 photos to resize) i need to copy a image in a canvas for resizing ad save the new resizing picture in a disk folder. I need to refresh UI when user waiting. With threading isn't possible to do that or not ?
Erel B4X founder Staff member Licensed User Longtime User Apr 24, 2017 #4 You will need to test it. A a general rule only the main thread is allowed to access the UI elements. Another option is to call a utility program to resize the images with jShell: https://www.b4x.com/android/forum/t...ion-image-manipulation-library.76095/#content Upvote 0
You will need to test it. A a general rule only the main thread is allowed to access the UI elements. Another option is to call a utility program to resize the images with jShell: https://www.b4x.com/android/forum/t...ion-image-manipulation-library.76095/#content
moore_it Well-Known Member Licensed User Longtime User Apr 24, 2017 #5 Thanks Erel I try jShell Upvote 0