14.02.2011 21:48, John пишет:
Once a month, my employer will use a task manager app and figure out
that our app is still "running" even after he has exited the app. Then
he asks me about it, I explain the Android rules to him, and he comes
back with "But Angry Birds doesn't show up in the task manager when I
close it!"

Tell him to come up with an idea that's as successful as Angry Birds, and promise that if he does, you will find a way to prevent the app hanging around in memory :)

I should also mention that early in the development cycle of our app,
we weren't properly releasing certain resources and so would drain the
battery even when the user had backed out of our activities.

Not releasing resources is a bug, and those need to be fixed. This is very different from the Android process management keeping processes in memory just in case.

So what I really need now is a way to show, even though the task
manager says we are running, that we are not consuming any resources.

Show him the Battery screen.

An application can't do anything in the background without consuming CPU time, which means consuming the battery.

And if my employer thinks this is a problem, even when I have
explained it so many times, what's a user going to think who is using
a task manager?

Good thing there isn't an application that visualizes the kernel file system cache - I'm sure someone would complain.

When I get questions about the memory thing, I explain that this actually speeds up the application and the phone in general (in case the user comes back to it). Works most of the time.

So, maybe try that - don't just say that it's "harmless", say that it's "good", and provides a more significant speedup than a task manager.

But, sometimes managers can be pretty misdirected, and you just gotta live with that.

There was this guy who wanted me to implement Macintosh-style dialog boxes in a Windows application, just because he had Mac background (this is 1992-1993 or so).

--
Kostya Vasilyev -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to