As many developers know already, Android automatically closes the 7th
application as part of its memory management. Obviously this causes
problems for apps like instant messengers, as it would be constantly
logging you out. So, here's my proposal on how to build a lightweight
IM client that won't disconnect every time it becomes the 7th
application.

The IM client needs to be built as 2 apps, a Service App and a front
end Client App.

Service App:
- The Service App runs as an Android Service, this will keep it from
closing as a 7th app, it will handle all of the connection,
conversation protocol, and etc. It needs no front end whatsoever,
helping keep it lightweight.

Client App:
- The Client App handles display only, if it closes as the 7th app, no
big deal, just reopen it and it picks right back up where it left off.
The Client App also handles the options, including starting and
stopping the Service App as necessary. Since this app is separate from
the Service App, it also allows Android's 6 app memory manager to free
up part of the overhead as needed.

Hopefully a group with solid coding skills can pick this up and make a
rock solid multi-protocol client. I wish I was good enough at coding
to do it myself, but I'm not yet. I'd love to be able to access my
MSN, Yahoo, AIM, ICQ and Jabber (extending the built in GTalk as
well?) accounts in a stable way, but the current IM programs just use
a front end app that closes if you're doing other things.

Feel free to critique and extend upon this idea, I would lvoe the
feedback, and while I'm not able to assist with coding, I can help
with bug hunting and finding technical solutions to problems.

--ShadowDrakken

--~--~---------~--~----~------------~-------~--~----~
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