Hello,
I want to start a PDF-/Image-Viewer in my App with StartActivity(intend) - That works
Is it possible to start this new intend without pause the main?
I aks because my App crashes (Firebase Service destroy with the error message:
android.app.RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{cab6274 u0 lunasoft.elsmobile/.firebasemessaging}
when I receive new mesages via AsyncStreams in the meantime I watch the image or read the PDF.
Because I can't find a solution for the crash I hope that the crash not occours when I can view the PDF / Image
and prevent my main to "pause"
(I know this is very very unprofessional)
Thank you!
I want to start a PDF-/Image-Viewer in my App with StartActivity(intend) - That works
Is it possible to start this new intend without pause the main?
I aks because my App crashes (Firebase Service destroy with the error message:
android.app.RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{cab6274 u0 lunasoft.elsmobile/.firebasemessaging}
when I receive new mesages via AsyncStreams in the meantime I watch the image or read the PDF.
Because I can't find a solution for the crash I hope that the crash not occours when I can view the PDF / Image
and prevent my main to "pause"
(I know this is very very unprofessional)
Thank you!