[android-developers] Re: A question on Intents.

2009-06-04 Thread aayush bhatnagar
Thanks for the valuable pointers. Basically, the services i described are going to be built upon a protocol stack, namely SIP. All services i mentioned will be registered as listeners to the stack. For the call control etc to work, my SIP stack needs to be alive and kicking to receive messages fro

[android-developers] Re: A question on Intents.

2009-06-04 Thread Mark Murphy
> Just a note on Services that is probably important to you. If they do > not belong to the current foreground process, they are given quite a > low priority rating by the OS, so they will be terminated quite soon > if resources get low. Uh, are you sure about that? "If the service has been star

[android-developers] Re: A question on Intents.

2009-06-04 Thread adamphillips12
No problem. Just a note on Services that is probably important to you. If they do not belong to the current foreground process, they are given quite a low priority rating by the OS, so they will be terminated quite soon if resources get low. Generally for Services that only exist for a small task

[android-developers] Re: A question on Intents.

2009-06-04 Thread aayush
Thank you Adam, you answered my question. I just needed to start my services from one master service. A registration service may need to keep registered to the network for a finite amount of time (ranging from 1 hour to even a week ! ) The registration lifetime is governed by the server, so this

[android-developers] Re: A question on Intents.

2009-06-04 Thread adamphillips12
I'm not quite sure what you're asking but it seems you are not in full understanding of Intents. The "action" field is just a string value used with BroadcastReceivers and their IntentFilter, it is as named, the description of what action to take, it is not for the launching of Services or even A

[android-developers] Re: A question on Intents.

2009-06-04 Thread aayush
a slight clarification to my question: I will use the component to provide the class name..but from the documentation the component is determined by looking at the other information in the intent (the action, data/type, and categories etc) and matching that with a component that can handle it. S

[android-developers] Re: A question on Intents.

2009-06-04 Thread Peli
Hi, You do not need to specify an intent filter with action and data. You can use directly the component and class names in your intent. Peli www.openintents.org On Jun 4, 10:02 am, aayush wrote: > Hello, > > I had some conceptual doubts about Intents. Let me explain it with > respect to one o