Hi
I have done an app that starts a service and has some screens for managing working parameters and other situations. I write this to explain that the service is not the only working entity. I need to hide the activity, i.e. sending it to background, keeping it alive. If I press the "back" button on bottom right, the app ends. If I trap the KeyPress event, returning "true", the app doesn't end but stays on foreground. If I use Activity.SendToBackground, inside the KeyPress event, and return "true", nothing happens and app stays on foreground, not allowing to manage anything else. What am I missing?
Thanks in advance
I have done an app that starts a service and has some screens for managing working parameters and other situations. I write this to explain that the service is not the only working entity. I need to hide the activity, i.e. sending it to background, keeping it alive. If I press the "back" button on bottom right, the app ends. If I trap the KeyPress event, returning "true", the app doesn't end but stays on foreground. If I use Activity.SendToBackground, inside the KeyPress event, and return "true", nothing happens and app stays on foreground, not allowing to manage anything else. What am I missing?
Thanks in advance