As a generic question, when I start a browser, does it start in its own task? If
Activity A -> Activity B -> Browser (callback via intent filter for Activity B on scheme) -> Activity B (as new instance) Activity B is set as singleTop. As the Browser is on top of the stack, how can I get back to Activity B (the above being 1 task)? Thanks Carl On Aug 5, 11:05 am, "Carl H." <[email protected]> wrote: > Hello, > > I am trying to have the browser part of my task. The reason being is > that I am awaiting a callback from the browser before continuing. For > instance I have the following in my manifest: > > <activity android:name=".activities.OAuthActivity" > android:permission="android.permission.INTERNET" > android:launchMode="singleTop" > android:noHistory="true"> > <intent-filter> > <action > android:name="android.intent.action.VIEW" /> > <category > android:name="android.intent.category.BROWSABLE" /> > <category > android:name="android.intent.category.DEFAULT" /> > <data android:scheme="oauth" /> > </intent-filter> > <intent-filter> > <action > android:name="android.intent.action.INSERT" /> > <category > android:name="android.intent.category.DEFAULT" /> > <data > android:mimeType="vnd.android.cursor.dir/vnd.novoda.oauth" / > > </intent-filter> > </activity> > > Now, in order to activate my app, I need the user to navigate to a > certain page and press activate. This will redirect to "oauth:///" > which will be catched by my activity. However this will be in a new > Task (new task id). I guess it till be the task id of the browser. One > solution would be to use "singleTask" as launch mode but then I can > not be part of a full task... > > It seems that the browser can not really accept any flags regarding > tasks and so forth. Any comments on the above? > > Thanks > Carl --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

