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,
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
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
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
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
5 matches
Mail list logo