Saturday, May 15, 2010

[android-developers] Send Data to a running app

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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment