[android-developers] Re: finish an activity not started from current activity

2010-05-05 Thread fabricio
Thanks a lot for taking some time to reply, > Why not just start the second activity from the first? Why go through > broadcasting and receiving an intent? > > And I can't use startActivityForResult() as "activity 2" can't be started > > from "activity 1". > > Why not? Sorry for lack of accura

[android-developers] finish an activity not started from current activity

2010-05-03 Thread fabricio
Hi! I have following problem with my application: >From my main activity ("activity 1"), there is a menu from which user can launch an action. This action will result in an Intent being received by a BroadcastReceiver, defined in my application. Finally, this BroadcastReceiver will start an activ

Re: [android-developers] AudioTrack - Doesn't stop playing as requested.

2009-12-22 Thread Fabricio
Not been very familiar with it but maybe you could pause it and then proced to stop and release. Salutes. Fabricio Tuosto On Tue, Dec 22, 2009 at 11:22, Business Talk wrote: > I've been trying to resolve the issue of the immediate termination of > the AudioTrack played in the MODE_S