The File component
it works. thanks
hello
Runtime Error
Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference
Note: You will not see another error reported for 5 seconds.
what error ?
Yes, not quite sure why this is occurring, will need to investigate. Thanks for reporting.
Still works with a base64 encode...
Can you please try this version of the extension, tested and working for me
uk.co.metricrat.imagenotifierV2.aix
Note should work in companion app, but currently still not compiling?
Your blocks....
My blocks for testing
Didn't work with previous version of extension, had to move the bitmap(decodeFile) command up the chain, but still not compiling....
hmmm ???
I imported the same app (aia) into Niotron and compiled it with no issues.
But it does not compile with AI2. It used to, but something appears to have changed with the compiler and the handling of extension code ? @ewpatton
Also fails to compile on Kodular
Yes, but almost everything on Kodular fails.
Regardless of this issue, the amount of bugs with Kodular is almost uncountable.
Anyway it works with Niotron.
I can run some tests on our end to narrow down the issue, but I'll need a complete AIA file and what should happen if everything does work correctly.
With some help from @Juan_Antonio I believe we have found the issue. He had a go at building the extension the AI2 way, and this generated an error on this line
alert.setPositiveButton("OK", (dialog, whichButton) ->
lambda expressions are not supported in -source 1.7
it used to allow projects to compile but not now ?
I can find a different way to set the positive button.