[android-developers] Re: allowTaskReparenting=true. Will there be a single instance of the activity ?

2009-10-07 Thread Amitkeerti
in the task in which it was created (even though the affinity is not the same as that of the task). It would be pushed out of the task ONLY if the task goes in the background AND simultaneously there exists another task which has the same affinity as the activity being pushed out of task. Thanks Amitkeerti

[android-developers] Re: allowTaskReparenting=true. Will there be a single instance of the activity ?

2009-10-06 Thread Amitkeerti
if my activity comes to the front and calls for weather reporter ? will the weather reported that had got reparented to travel application, get reparented back to my task ? Thanks Amitkeerti Regards, Amit On Oct 4, 5:16 pm, Amitkeerti amitkee...@gmail.com wrote: hi, Before asking my doubt, let me

[android-developers] Re: Make different instances of a widget behave different based on their appWidgetId

2009-10-06 Thread Amitkeerti
you might be facing a problem because of the pending intent. Inorder to differentiate the two intents, you set 2 different URLs in the intent. (i.e. when you create your intent instead of adding mAppWidgetId as putExtra, create an URL out of it and add it as intent1.setData(URI)) your extra data

[android-developers] allowTaskReparenting=true. Will there be a single instance of the activity ?

2009-10-04 Thread Amitkeerti
hi, Before asking my doubt, let me clarify my understanding of allowTaskReparenting... Suppose there exists a Task (say Task 1) and this task has an activity (say Activity 1) which wants to call my Activity (say Activity 2). Let my activity (activity 2) set the attribute allowTaskReparenting to

[android-developers] Is there a way for inter task communication

2009-10-02 Thread Amitkeerti
and the onActivityResult is cancelled for Activity1. So my question is: 1. Is there a way in which Activity 2 can send information back to activity 1? 2. And in general, Is there a way in which inter task communication is possible? Thanks Amitkeerti