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

Jason H jhihn at gmx.com
Thu Apr 26 16:26:21 CEST 2018


> android:launchMode="singleInstance" android:taskAffinity=""
> 
> taskAffinity is important to be used. see this great blog:
> https://inthecheesefactory.com/blog/understand-android-activity-launchmode/en
> 
> 
> 'singleInstance' works as expected per ex. from Fotos App, Download App,
> MS Word, ... if my App is launched, onNewIntent was used
> have no idea why some very specific apps always call onCreate() to send
> Files via action.SEND or action.VIEW
> 
> (will do some more tests with 'singleTask')
> >
> > 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...


I no longer have access to that code, but I distinctly remember something with main() not being ran when invoked via NewIntent. I never figured out how to do it correctly, and just coded a replacement intent in Java.



More information about the Android-development mailing list