Hi,

I have a similar issue and I am using the same approach:

Service -> ProxyActivity -> Activity

But the Activity I want to start and finish is an android activity
started with ACTION_CALL from ProxyActivity and it has singleInstance
launch mode in the manifest but it seems I can not change it.
According to the documentation startActivityForResult() should not be
used to launch activities that wont be run in the same task so that
would explain why my finishActivity() is not working.

Is there a workaround or other way to finish activities are not in the
same task?

Thanks
Juan Garibay

On Mar 15, 12:05 pm, Ramsay Domloge <[email protected]> wrote:
> Cracked it.
>
> I removed android:launchMode="singleInstance"  from the Proxy Activity
> declaration in the Manifest and suddenly the Proxy was able to close the 3rd
> Party Activity.
>
> Many thanks for your help guys - your suggestions pointed me in the right
> direction.

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

Reply via email to