Issue I’m trying to build LineageOS 21.0 for my device and I’ve downloaded all needed source code (I’m NOT new to this job because I’ve successfully built LineageOS from 15 to 20 for this device). But here I’m running into
Continue readingTag: c++
Color picking with glReadPixels works with offset on Android
Issue Qt 6.6.1 Qt 6.7.0 beta Windows 10 I wrote a simple example that shows a problem. This example draws a red triangle on the background with (0.2, 0.2, 0.2) color. I implemented the mousePressEvent method. When you click on
Continue readingAndroid, missing symbol for Rust library being called from C++
Issue I have a Rust library which I have compiled for Android as a static library (engine.a), this library contains some C-compatible (FFI) functions. I’ve already figured out how to bind and call this library from Java. Now I want
Continue readingAndroid and Rust, OpenSSL cross-compilation fails to link on ARM V7
Issue I have a Rust project which depends on openSSL. I managed to compile this project for Android (as in, compilation succeeds and a static library .a is generated). However, when I try to compile the Android APK, I get
Continue readingHow to build OpenAL-Soft and set up it in Qt Creator for Android
Issue I didn’t find a step by step guide how to build OpenAL-Soft to use it from Qt for Android. I tried to make it by copying OpenAL-Soft sources into a project. I copied the OpenAL-Soft sources into my example.
Continue readingAndroid c++ AAsset_read reads wrong data
Issue I read content of text files from assets. However, if I read second file then I get wrong result. It is mixed with previous file. Here is first file, this is correctly written to buffer by AAsset_read: uniform mat4
Continue readingIn-App Purchase Popup Appears Behind Main Window – Flutter Win32 C++ App
Issue I’m developing a Windows desktop app using Flutter Method Channel and have encountered an issue with the in-app purchase feature. When triggered, the purchase modal dialog appears behind the main app window, making it invisible. Here’s what’s happening: Initiating
Continue readingsomething wrong with the h.264 bytes?
Issue I save h.264 using mediacodec(android) and open it using Elecard Stream analyzer The StreamType is unknown Is the data not correct? The mp4 file can not play I open it there will be error:0xc00d36c4 I want to play it.
Continue readingAndroid NDK: Failed to call C++ constructor
Issue I’m trying to port a C++ desktop program to Android using NDK. When Debugging I found that the constructor of class Constants is not called when initializing class Windows, leaving width_ and height_ to 0, and the call trace
Continue readingCopy AHardwareBuffer to cv::Mat opencv
Issue I try to convert buffer image data to cv::Mat opencv but with no success. This is the code I’m working on and when I debug the memory content of the cv::Mat variable I get "read memory failed" cv::Mat* convertAHardwareBufferToMat(AHardwareBuffer*
Continue reading