On Mon, Apr 19, 2010 at 5:05 PM, Justin Anderson
<[email protected]> wrote:
>> If I write an
>> activity to play the sound requested by the notification, the launched
>> activity will go background...and then?
>
> So the problem is what to do once you have played the sound via an activity
> and the launched activity that you have no control of is sent to the
> background?
>
> If that is the problem then I would either:
>
> play the sound via a service rather than an activity so the launched
> activity doesn't ever go in the background
> have the activity that plays the sound re-launch the launched activity
>
> If it were me I would probably try to go with the first of the two...  If I
> didn't understand the problem correctly please correct me.
>
> Thanks,
> Justin

Well, I guess I should go through 1 as the 2nd needs to starts the
launched activity with the same intent as the former and I think it's
more complicated to achieve that.

Thanks Justin for the advice, I'll see how to manage that. The users
will have no control over the media because all events will be
captured by the launched activity though.

Best regards,

-- 
If you want freedom, compile the source. Get gentoo.

Sebastián Treu
http://labombiya.com.ar

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to