Posts: 888
Joined: Dec 2006
Reputation:
15
freezy
Team-XBMC Android Remote Developer
Posts: 888
Maybe get rid of your task manager?
Posts: 586
Joined: Feb 2009
Reputation:
0
What kinda of solution is that?
You have a process running on the background doing nothing and opening itself without any reason for doing so.
If you don't want to fix the problem fine, you're developer. But at least don't make excuses for it...
Posts: 888
Joined: Dec 2006
Reputation:
15
freezy
Team-XBMC Android Remote Developer
Posts: 888
I have no clue what your task manager does and neither can I change any of it. Obviously you haven't noticed yet, but most Android apps sit in the background doing nothing. Open your market app or Google Maps or any other app with no explicit "Exit" button, and they will all stay visible in whatever task manager you're using. They are, however, suspended so that neither RAM nor CPU of your phone are used.
If that worries you, you should Google it or get another phone. I can't do more than adding an "Exit" button to the app.
Posts: 888
Joined: Dec 2006
Reputation:
15
freezy
Team-XBMC Android Remote Developer
Posts: 888
I don't know anything about your task manager because there is no standard task manager app and I don't know which of the zillion versions that are available you are using.
The remote hooks into several events and gets triggered (consequence: executed) by them, for instance on phone ring, message receive and so on. That's the things you've confirmed when you installed the app.
Again, if you're manually killing apps, you obviously haven't understood how Android works.
Posts: 586
Joined: Feb 2009
Reputation:
0
I understand how Android works perfectly fine.
You are the one who's neglecting a problem within the app and don't even bother to understand what I'm saying.
I'm just going to say this once again but I'm not going to bother with it anymore cause I realized I'm talking with someone arrogant that thinks knows it all.
The app opens itself on the background without me opening it. I'm not using it AT ALL for days and the app pops up on the background. I don't even have XBMC running in my computer for days too. I have disabled all events/triggers/settings, whatever you wanna call them, in the XBMC Remote settings page. Everything is disabled, the app shouldn't do anything without me doing it manually. But it does. That's the problem. That's a bug, no matter what you say about my task manager, they are just excuses to not even bother with this problem.
Do whatever you want, it's your app, not mine.
Posts: 423
Joined: May 2008
Reputation:
0
the_alien
Team-XBMC Android Remote Developer
Posts: 423
The Android system is opening the app, not the app itself. The app registered itself as an broadcast receiver and gets notified whenever the phonestate changes (i.e. some calls you) or you receive an SMS. Due to the fact you unchecked that option in the app doesn't mean it wont get notified, it just won't do anything. It is the way android is designed...
If it bothers you that much grab the source, remove the broadcast receiver lines from the Manifest.xml and compile it yourself. If you don't know how to do that, there is a How To in our wiki.
XBMCLive Dharma beta 2 running on an ASRock ION 330 HT
Posts: 586
Joined: Feb 2009
Reputation:
0
Finally, someone gave me an answer I can deal with...
For the record, talking about how the Android system works killing apps it's one thing and talking about how the Android system works regarding events and triggers, it's another completely different thing.
That I didn't know, I admit. But I knew this had nothing to do with my/a task manager, that's why I sounded furious on my posts above.
Still, can't you hook to those events/triggers only when the options are enabled? And unhook them when the options are not select? Wouldn't that work?
Posts: 586
Joined: Feb 2009
Reputation:
0
Ok, thanks for the clarification. I definitely didn't know that.
It's odd that the system works like that though. There should be a way to hook/unhook by code. But that's a Google/Android issue, I know, I'm just saying.
Posts: 586
Joined: Feb 2009
Reputation:
0
Cause I'm picky and I don't like things that shouldn't be there, that's all.
I could compile it like that, but in case I need to enable the option, I need to compile it again. That's why I wondered about hooking/unhooking by code. Apparently it's not possible and I understand that.