Skip to content
This repository was archived by the owner on Apr 25, 2024. It is now read-only.
This repository was archived by the owner on Apr 25, 2024. It is now read-only.

Android service crashes when including quickandroid #26

@bbernhard

Description

@bbernhard

Hi,

first of all, many thanks for quickandroid. I installed the apk on my phone to look at the examples and this all looks very mature and well designed!

I am currently thinking about replacing my image picker implementation with your ImagePicker, as my implementation randomly throws the error "Can't find surface 1". In that case the whole Android gallery crashes. As your image picker implementation looks way more mature, I was thinking about to replace it with your's. I included the quickandroid.pri in my *.pro file and compiled the project. However, after running the application, my custom android service crashes. The android service gets started, when the application launches. What's really strange is, that I am not using anything from quickandroid, I just included the quickandroid.pri file. If I remove the quickandroid.pri file again, everything works fine.

Can you think of anything that might cause the crash? Before doing any reverse engineering I wanted you to ask if you have an idea what that can be.

Any help is really appreciated.

edit: I also added a minimal example project, if you want to take a look. If the *.pri file is included, a error appears when starting the application. If I remove the *.pri file, delete the build folder (don't know why this is necessary, but otherwise it doesn't get correctly rebuild) and rebuild again, the application starts just fine. (It's really a minimal example, so even if it starts correctly, you only see a white screen).
btw: the minimal example project is basically just this https://github.com/bbernhard/qtandroidservices_example together with the included quickandroid.

qtandroidservices_example.zip

Have a nice day,
Bernhard

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions