[android-developers] calling an intent that's running passing a parameter

2011-02-15 Thread guich
Hi,

Suppose i have two applications. I call the first one, then i press
the home button and it goes sleep.

Then i call the second one. I want that this second one call the first
one, in some way, passing a parameter that would ask the first one to
quit itself (currently it is taking just too long to quit).

Is there a way that an intent can call another intent that's running
and pass a parameter?

thanks

guich

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] calling an intent that's running passing a parameter

2011-02-15 Thread TreKing
On Tue, Feb 15, 2011 at 7:52 AM, guich guiha...@gmail.com wrote:

 Suppose i have two applications. I call the first one, then i press the
 home button and it goes sleep.


Applications don't go to sleep ... the device does.


 Then i call the second one. I want that this second one call the first one,
 in some way, passing a parameter that would ask the first one to quit itself
 (currently it is taking just too long to quit).


Try a broadcast message.


 Is there a way that an intent can call another intent that's running and
 pass a parameter?


 No, because intents don't call other intents, nor do they run.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en