Multiplatform CameraX?

275 views
Skip to first unread message

Richard Kirk

unread,
Jul 8, 2022, 7:01:09 AM7/8/22
to Android CameraX Discussion Group
I have an early prototype of my colour measuring tool using camerax, running in Kotlin on Android Studio. I have been asked to get it running on iOS too. There are JetBrains cross-platform tools. Is it possible to drive a camera in a cross-platform way? 

My gut feeling is iPhones have specialised cameras, so camerax support on iOS might be a lot of work for a very basic support. Hower, it would be good to have a categoric answer if there is one: 'yes we can' | 'no you can't' | 'someone else's problem'. 

Android CameraX Discussion Group

unread,
Jul 8, 2022, 1:13:16 PM7/8/22
to Android CameraX Discussion Group, Richard Kirk
Hi Richard,

Thanks for asking - Google offers a multiplatform development platform called Flutter (https://flutter.dev/ ) that works with Android and iOS, however it currently uses Camera1. I believe the team is looking into either porting to Camera2 or CameraX however I do not know the current status or timeline. Unfortunately CameraX does not support iOS at this time.

Thanks
-Eric

Richard Kirk

unread,
Jul 8, 2022, 1:36:41 PM7/8/22
to Android CameraX Discussion Group, Android CameraX Discussion Group, Richard Kirk
I had seen mentions of Flutter, but I had forgotten about it. It is very helpful to have a definite answer. 
Thanks.
Richard
Reply all
Reply to author
Forward
0 new messages