9 messages in com.googlegroups.android-beginnersRe: Starting a background Service on ...
FromSent OnAttachments
Dexter's Brain25 Feb 2008 00:48 
Dexter's Brain25 Feb 2008 01:22 
szeldon25 Feb 2008 01:38 
Dexter's Brain25 Feb 2008 02:19 
szeldon25 Feb 2008 05:25 
Dexter's Brain25 Feb 2008 09:41 
szeldon25 Feb 2008 10:58 
Dexter's Brain25 Feb 2008 19:02 
szeldon26 Feb 2008 03:01 
Subject:Re: Starting a background Service on boot
From:szeldon (szel@gmail.com)
Date:02/26/2008 03:01:36 AM
List:com.googlegroups.android-beginners

Damn, you're right as hell. It's weird that project has to have an activity. I don't get it, because I don't see a reason for that. I wonder if this limitation is only in Eclipse's plugin or maybe also in SDK, platform or somewhere there.

On 26 Lut, 04:02, "Dexter's Brain" <coom@gmail.com> wrote:

Still breaking my heads over it...no luck yet..

On Feb 25, 11:59 pm, szeldon <szel@gmail.com> wrote:

Oh, now I see I used "don't" in my last sentence. I wanted to say that I think it's possible to do this. Have you tried to do this as I've described above?

On 25 Lut, 18:41, "Dexter's Brain" <coom@gmail.com> wrote:

Well, I am trying very hard to find a way out....lets see, if i find out, I ll surely let you people know.

And if somebody knows how to do this, please reply. I will be watching this topic everyone minute :-) Dexter

On Feb 25, 6:26 pm, szeldon <szel@gmail.com> wrote:

I think that you can do that. I don't know if you can create a project without an activity, but you can create it with and then remove it from project and manifest file. Then you can add a service or whatever else you want. I haven't tried this, but I don't think it's possible.

On 25 Lut, 11:20, "Dexter's Brain" <coom@gmail.com> wrote:

Ok, one part of the question naswered. :-)

What about the project structure. Can I write an IntentReceiver without an activity.?? or a service without an Activity. Can any one please explain us a brief step by step procedure to achieve this.

Thanks for ur help.

Dexter.

On Feb 25, 2:39 pm, szeldon <szel@gmail.com> wrote:

I think you should create an IntentReceiver for BOOT_COMPLETED event. As far as I remember, you should also add a permission for receiving this event but I don't remember which one.

On 25 Lut, 09:48, "Dexter's Brain" <coom@gmail.com> wrote:

Hello all,

I need to start a service that will be able to catch some events like phone calls and SMS and alert the user. How can this be possible?

I tried searching for examples, but the examples i found were too complex for me to understand.

Can somebody please paste the simplest code to do this.