That sounds like it will do the job, thanks for your input. Ne0
On 15 May, 18:04, Mike dg <[email protected]> wrote: > You can set single instance for an activity to ensure more than one > won't exist. And in the activity's onNewIntent handle the new intent. > > On May 15, 11:50 am, Ne0 <[email protected]> wrote: > > > > > I have a broadcast reciever the looks at SMS's, when it recieves an > > SMS that is destined for my application it needs to send some data to > > an activity or start the avitivty if it isnot running. > > > How do i find out if the activity is running and send data to it if it > > is? I know i can use StartActivity and stuff the intent with the data > > i want to send to it but if i start the activty that is already > > running, another instance of it will be created (wont it?) . > > > Thanks for any info. > > > Ne0 > > > -- > > 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 > > athttp://groups.google.com/group/android-developers?hl=en > > -- > 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 > athttp://groups.google.com/group/android-developers?hl=en -- 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

