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
974 stars 86 forks source link

[Feature request] add notification #34

Open Sukii23 opened 11 months ago

Sukii23 commented 11 months 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 11 months ago

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

Sukii23 commented 11 months 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 11 months ago

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

Sukii23 commented 11 months ago

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

Sukii23 commented 10 months 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