Hi Guys. Now we can take pictures. #141
Conversation
|
Hi @eduardoGo does your commit work? I tried to take a screenshot and send a result.success() within the PixelCopier with my own screenshot solution some days earlier. Then I got an error that the message can only be sent on the main thread. Do you use an own thread to take the screenhsot? |
Yes, works fine... Do you check the permissions? |
No I don't check the permission and the problem is at another place: Sending messages(result.success) from a Handlerthread instead of the MainThread |
|
Does the method return a |
|
[ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: NoSuchMethodError: The method 'snapshot' was called on null. |
Hi Guys,
Now, we can take pictures using arCoreController.snapshot().
The picture is saved on external storage of the device, on "MyApp" folder.
It work on two modes of the ArCoreView, the Normal view and the AugmentedMode.
I added floating buttons to take picture in some examples.