Re: [android-developers] Background apps (Instant Messaging) being killed without user notification

2010-06-23 Thread Simon Broenner
Hi Kostya, Thanks for the tips. I'll forward that to the developers... :) Kostya Vasilyev wrote: > Simon, > > Android 2.x framework has an important change in this area, trying to > nudge developers towards better behaving services. > > Since 2.x, marking a service as "foreground" requires a st

Re: [android-developers] Background apps (Instant Messaging) being killed without user notification

2010-06-23 Thread Kostya Vasilyev
Simon, Android 2.x framework has an important change in this area, trying to nudge developers towards better behaving services. Since 2.x, marking a service as "foreground" requires a status bar notification, so the user knows that a service is running. Regarding lingering status bar notifi

Re: [android-developers] Background apps (Instant Messaging) being killed without user notification

2010-06-23 Thread Simon Broenner
By the way: All the apps have already implemented the notifcation icon in the status bar. The problem is, it doesn't change when the app is killed in the background, so the user doesn't know that it's been killed. :( Kostya Vasilyev wrote: > Simon, > > I think this should be taken up with develop

Re: [android-developers] Background apps (Instant Messaging) being killed without user notification

2010-06-23 Thread Sean Hodges
What Kostya said. When memory is critically low on the device, apps are killed outright to regain user control. Android was originally designed for mobile phones, and nobody wants to miss an incoming call because they have run out of memory. No notification is passed to the user, because well writ

Re: [android-developers] Background apps (Instant Messaging) being killed without user notification

2010-06-23 Thread Simon Broenner
Hello Kostya, Do you think that they really all just made a mistake with their programming? I thought that since it happens with all four apps, it must be a general Android problem... I'll post on their forums though. Thanks for your advice so far. :) Kind regards, Simon Kostya Vasilyev wrote:

Re: [android-developers] Background apps (Instant Messaging) being killed without user notification

2010-06-23 Thread Kostya Vasilyev
Simon, I think this should be taken up with developers of these apps. In particular, my recommendations to them would be: - Use a startForeground / setForeground call to mark the service as being important to the user, do it only while the user is logged in. - Display a notification the phon

[android-developers] Background apps (Instant Messaging) being killed without user notification

2010-06-23 Thread Simon Broenner
Hello everyone! I'm having another problem with my milestone that I'd like to share with developers and Android coders: Whenever I run memory-intensive applications while I have an IM app running in the background, the IM app is often killed without any user notification whatsoever. Take this sce