TIMAI2
April 26, 2021, 11:31am
22
These should be draggable blocks, you can just drag an drop onto your blocks editor.
Add this block
Change sendPic procedure to this block
These return a base64 string from the image.Picture selected
I had trouble using the longClick button, components jumping about on screen when button pressed, this might be causing a problem.
@TIMAI2 it works fine. thank you for having the time to help with tackling issues and sharing your knowledge with others.
Sincere thanks
TIMAI2
April 27, 2021, 2:39pm
24
Pleased you got there in the end
@TIMAI2 , for info I got an issue with android 6 on my tablet, saying that is a bad arguments to > the operation >cannot accept the arguments:,["6.0.1"],[9]
TIMAI2
April 27, 2021, 3:08pm
26
Don't you just love Android version numbering.
I believe Android 6.0.1 was an exception to the rule. You will need to capture this and use a condition other than less than/greater than 9.
Something like this: (draggable)
[ edit: image removed because better solution below]
TIMAI2
April 27, 2021, 3:14pm
27
Actually, better,... test for the API number using a block from the base64 extension
( I spotted a 4.0.3 and 4.4W android version as well, oddly no 6.0.1 in the list I found)
Hello @TIMAI2 , sincere apologies for the lateness. I modified the blocks and the picture are uploaded like a charm.
1 question: can I still use the modified block as it is or should I make more modifications? as the blocks are for testing the API
system
Closed
May 9, 2021, 5:42am
29
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.