Closed chreekat closed 9 years ago
To keep the app running as a background service Android requires a notification to be displayed - there's no way around it.
Thanks for the info. How do apps like Twitter and hangouts run in the background? I apologize, I am unfamiliar with android development.
Twitter and Hangouts use push notifications. They are not actually running in the background - they simply register with the system to push a notification when one arrives. However, IRC requires a persistent TCP connection which requires the use of a service to prevent the system from killing the app and closing the connection.
Dear Android,
:|
Sincerely,
Please use notifications for alerting events, not for showing statuses.