tumuyan / RealSR-NCNN-Android

An Android application for super-resolution & interpolation. Contains RealSR-NCNN, SRMD-NCNN, RealCUGAN-NCNN, Real-ESRGAN-NCNN, Waifu2x-NCNN, Anime4kcpp, nearest, bilinear, bicubic, AVIR...
Other
1.12k stars 89 forks source link

[Feature request] add notification #34

Open Sukii23 opened 1 year ago

Sukii23 commented 1 year ago

when there is no notification in the application, android ends up closing the application in the background more easily. please add a notification when starting the upscale

tumuyan commented 1 year ago

good idea. but can a foreground app really work well when this App is running normally in the background?

Sukii23 commented 1 year ago

there are some slight crashes if the application runs in the background while using another in the foreground. but this option could not be optional to activate? from android 10 if there is a notification android does not close the service, even if it keeps the device in general slower.. this is useful for when you want to make sure that it will not be closed or interrupted in some way while it is running.

tumuyan commented 1 year ago

I have add notification but not adjust the structure. maybe it useless for keep alive for foreground scene.

Sukii23 commented 1 year ago

I'm going to do some tests and see if the service remains in the background with the notification

Sukii23 commented 1 year ago

Now the application is no longer open, not even in the foreground. Before, when I was going to convert, I left the cell phone off with the application in the foreground and when I turned it on, everything worked normally. Now for some reason it closes the service both in the foreground (screen off) and in the background. detail: 4 ram

KSEZU commented 3 months ago

Update for this? As I am writing this comment the app will stop running but when I go back to the app again it will continue, we really need the app to run in background