Hi Guys. Now we can take pictures.
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.
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?
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.
Yes, works fine... Do you check the permissions?
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.
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 Future with an ImageProvider? I am building a cross-platform solution and need to store the snapshot image in a specific place like it would for iOS.
[ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: NoSuchMethodError: The method 'snapshot' was called on null. E/flutter (27793): Receiver: null E/flutter (27793): Tried calling: snapshot() this error when i add pleas heeeeeeeellllllllppppppppp