[android-developers] Re: cant send data to service???

2008-04-17 Thread franw
SOLVED - cant send data to service yay! it works - i used a Handler to send a message to the thread - whew!!! fran w --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: cant send data to service???

2008-04-16 Thread Michael Novak
you should call.. for example Bundle extras = getIntent().getExtras(); then extras.getString(KEY, VALUE); -mike On Wed, Apr 16, 2008 at 12:51 PM, franw [EMAIL PROTECTED] wrote: hi, can anybody help - ive got an intent receiver that starts a service, and i want to send data via the

[android-developers] Re: cant send data to service???

2008-04-16 Thread franw
where does this go? in onStart, in run ?? onCreate of the service? On Apr 16, 12:56 pm, Michael Novak [EMAIL PROTECTED] wrote: you should call.. for example Bundle extras = getIntent().getExtras(); then extras.getString(KEY, VALUE); -mike On Wed, Apr 16, 2008 at 12:51 PM, franw

[android-developers] Re: cant send data to service???

2008-04-16 Thread Michael Novak
it goes before you call the extras first i would say onCreate. On Wed, Apr 16, 2008 at 1:23 PM, franw [EMAIL PROTECTED] wrote: where does this go? in onStart, in run ?? onCreate of the service? On Apr 16, 12:56 pm, Michael Novak [EMAIL PROTECTED] wrote: you should call.. for

[android-developers] Re: cant send data to service???

2008-04-16 Thread franw
onCreate for a service does not take any parameters, when i put it there (or anywhere in GetContacts.java i get syntax error the method getIntent() is undefined for the type GetContacts ??? On Apr 16, 1:32 pm, Michael Novak [EMAIL PROTECTED] wrote: it goes before you call the extras first