[Android-development] E Qt JAVA : Surface 1 not found!

Jason H jhihn at gmx.com
Thu Apr 26 10:42:12 CEST 2018


> Not all Android Apps are goot citizens. There are some Apps out there
> not using the public void onNewIntent(Intent intent) if my App already
> was running. They come in via public void onCreate(...) and now Qt comes
> in trouble because the Activity already was created and started. I’m
> getting a white screen, App freezes and this Error was logged:

I'm interested in this too, I remember having it, or something like it. 

Who do you assume the other app is using onNewIntent? It seems like that should be up to the OS to determine which one to call? AFAICR Android is responsible for calling onCreate in response to your activity not existing. Remember your app is more than an activity. It may have zero or many activities. 

What I do remember is working in QtActivity and QtApplication to provide Android support. I think my issue was with Alarm manager or push notifications...



More information about the Android-development mailing list