[android-developers] Re: Sending Intent to specific Activity

2009-01-31 Thread Rishi

Hi Lutz,
When we talk of sending intents from Activity1 to Activity2 ,
Activity2 should have the intent filter
with the intent with which it wants to be invoked.
After getting invoked from activity1 , activity2 can further invoke
another activity with intent
data it wants.
You can also use broacastreceivers to get such kind of functonality.
Note: Receivers are invoked only by a broadcast call!

-Rishi Kaura

On Jan 9, 9:56 pm, Lutz Schönemann
 wrote:
> Hi,
>
> I want to create a activity that receivesintentsmodify these and  
> send them to an other activity that is also registerd to receive this  
> kind ofintents. These two activities are not in the same package. Is  
> there a way to specify a activity that should receive this intent?
>
> I am new to android and I know that it would be bad and ugly to do  
> something like this but it is only a proof of concept.
>
> Thanks
> Lutz
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] Re: Sending Intent to specific Activity

2009-02-01 Thread Dianne Hackborn
Read the first part of Intent Resolution here:

http://code.google.com/android/reference/android/content/Intent.html

(on explicit intents).

On Fri, Jan 9, 2009 at 8:56 AM, Lutz Schönemann <
lutz.schoenem...@sit.fraunhofer.de> wrote:

>
> Hi,
>
> I want to create a activity that receives intents modify these and
> send them to an other activity that is also registerd to receive this
> kind of intents. These two activities are not in the same package. Is
> there a way to specify a activity that should receive this intent?
>
> I am new to android and I know that it would be bad and ugly to do
> something like this but it is only a proof of concept.
>
> Thanks
> Lutz
>
> >
>


-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

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