Taifun
May 9, 2025, 12:14pm
214
It uses api2
From the sources
import android.hardware.camera2.CameraAccessException;
import android.hardware.camera2.CameraCaptureSession;
import android.hardware.camera2.CameraCharacteristics;
import android.hardware.camera2.CameraDevice;
import android.hardware.camera2.CameraManager;
import android.hardware.camera2.CaptureRequest;
import android.hardware.camera2.CaptureResult;
import android.hardware.camera2.TotalCaptureResult
Taifun
So it can't use CameraX because it only works for Android Studio Jetpack Compose?
Taifun
May 9, 2025, 5:51pm
216
What are you talking about?
You can use any extension for your App Inventor project, also this one
Taifun
No, I don't mean by that. I was asking when AI2 builds your app and converts it into an .apk. APKs should be Kotlin or Java. So AI2 converts your visual blocks into Java or Kotlin files and packages them into an APK?
Taifun
May 10, 2025, 1:12pm
218
no, see this answer from @ewpatton
No. App Inventor creates Scheme code, which is used both in the interpreted mode (companion) and is cross-compiled to JVM bytecode by a library called Kawa during compilation. Once the byte code is generated, it is run through the typical Android toolchain to convert it into the dex format for Android, and that is packaged up into an APK.
If you are so inclined, App Inventor is open source and the code responsible for compiling projects is viewable here .
Taifun