Hi there,

I have been doing with the android for a while, but I am totally confused
with the service part.

I can create a service, start / stop from the activity.

 

I have seen many examples but besides clearing, they have infact confused me
more.

 

But what I need is that the service as response from web request launches a
intent (within the same application package) and bring it to front. Also I
want activity (same application but different from the one that created
service) to get variables in the service or use methods declared in
service..so inshort 2 requirements for now:

1.     Basically how to get the instance of the service from another
activity...

2.     Call the specific activity / intent from the service and getting it
on front.

 

For example, from the server end I may send relogin request, for which the
service will call clear the local login status and show login activity.

So far what I have been able to do is call notification manager..

 

But there must be some other way to sort things.

 

Thanks in advance

 

 

VINEET YADAV

+1   360-215-1917

+1   978-728-9338

http://twitter.com/geniusvineet

http://vineetyadav.com <http://vineetyadav.com/> 

 

 

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

<<attachment: winmail.dat>>

Reply via email to